fix: resolve rke2-server errors (#397)

- kubectl yaml files must not use underscores
- replace unicode hyphen with ascii hyphen

Reviewed-on: #397
This commit was merged in pull request #397.
This commit is contained in:
2025-09-20 18:40:18 +10:00
parent 762f415d2d
commit 571a9b25a7
8 changed files with 14 additions and 14 deletions
@@ -3,7 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: rbd-csi-nodeplugin
namespace: cephcsi
namespace: ceph-csi
---
kind: ClusterRole
@@ -41,7 +41,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: rbd-csi-nodeplugin
namespace: cephcsi
namespace: ceph-csi
roleRef:
kind: ClusterRole
name: rbd-csi-nodeplugin
@@ -3,7 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: rbd-csi-provisioner
namespace: cephcsi
namespace: ceph-csi
---
kind: ClusterRole
@@ -89,7 +89,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: rbd-csi-provisioner
namespace: cephcsi
namespace: ceph-csi
roleRef:
kind: ClusterRole
name: rbd-external-provisioner-runner
@@ -100,7 +100,7 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: rbd-external-provisioner-cfg
namespace: cephcsi
namespace: ceph-csi
rules:
- apiGroups: [""]
resources: ["configmaps"]
@@ -114,11 +114,11 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: rbd-csi-provisioner-role-cfg
namespace: cephcsi
namespace: ceph-csi
subjects:
- kind: ServiceAccount
name: rbd-csi-provisioner
namespace: cephcsi
namespace: ceph-csi
roleRef:
kind: Role
name: rbd-external-provisioner-cfg
@@ -3,7 +3,7 @@ apiVersion: v1
kind: Service
metadata:
name: csi-rbdplugin-provisioner
namespace: cephcsi
namespace: ceph-csi
labels:
app: csimetrics
spec:
@@ -20,7 +20,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: csirbdpluginprovisioner
namespace: cephcsi
namespace: ceph-csi
spec:
replicas: 3
selector:
+2 -2
View File
@@ -3,7 +3,7 @@ apiVersion: apps/v1
kind: DaemonSet
metadata:
name: csirbdplugin
namespace: cephcsi
namespace: ceph-csi
spec:
selector:
matchLabels:
@@ -142,7 +142,7 @@ apiVersion: v1
kind: Service
metadata:
name: csi-metrics-rbdplugin
namespace: cephcsi
namespace: ceph-csi
labels:
app: csimetrics
spec: