fix: resolve rke2-server errors (#397)

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

Reviewed-on: #397
This commit is contained in:
Ben Vincent 2025-09-20 18:40:18 +10:00
parent 762f415d2d
commit 571a9b25a7
8 changed files with 14 additions and 14 deletions

View File

@ -29,9 +29,9 @@ rke2::csi_ceph_templates:
rke2::extra_config_files:
- namespaces
- rke2-canal-config
- purelb_config
- ingres_lb_nginx
- ingres_route_rancher
- purelb-config
- ingres-lb-nginx
- ingres-route-rancher
rke2::config_hash:
advertise-address: "%{hiera('networking_loopback0_ip')}"
cluster-domain: "svc.k8s.unkin.net"

View File

@ -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

View File

@ -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

View File

@ -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:

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: