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:
parent
762f415d2d
commit
571a9b25a7
@ -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"
|
||||
|
||||
@ -3,7 +3,7 @@ apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: rbd-csi-nodeplugin
|
||||
namespace: ceph‑csi
|
||||
namespace: ceph-csi
|
||||
|
||||
---
|
||||
kind: ClusterRole
|
||||
@ -41,7 +41,7 @@ metadata:
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: rbd-csi-nodeplugin
|
||||
namespace: ceph‑csi
|
||||
namespace: ceph-csi
|
||||
roleRef:
|
||||
kind: ClusterRole
|
||||
name: rbd-csi-nodeplugin
|
||||
|
||||
@ -3,7 +3,7 @@ apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: rbd-csi-provisioner
|
||||
namespace: ceph‑csi
|
||||
namespace: ceph-csi
|
||||
|
||||
---
|
||||
kind: ClusterRole
|
||||
@ -89,7 +89,7 @@ metadata:
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: rbd-csi-provisioner
|
||||
namespace: ceph‑csi
|
||||
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: ceph‑csi
|
||||
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: ceph‑csi
|
||||
namespace: ceph-csi
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: rbd-csi-provisioner
|
||||
namespace: ceph‑csi
|
||||
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: ceph‑csi
|
||||
namespace: ceph-csi
|
||||
labels:
|
||||
app: csi‑metrics
|
||||
spec:
|
||||
@ -20,7 +20,7 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: csi‑rbdplugin‑provisioner
|
||||
namespace: ceph‑csi
|
||||
namespace: ceph-csi
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
|
||||
@ -3,7 +3,7 @@ apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: csi‑rbdplugin
|
||||
namespace: ceph‑csi
|
||||
namespace: ceph-csi
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
@ -142,7 +142,7 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: csi-metrics-rbdplugin
|
||||
namespace: ceph‑csi
|
||||
namespace: ceph-csi
|
||||
labels:
|
||||
app: csi‑metrics
|
||||
spec:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user