From a9c959d924f00caf3e01151570df5e7405688098 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 21 Sep 2025 00:41:06 +1000 Subject: [PATCH] fix: remove unicode from ceph-csi-yaml (#400) Reviewed-on: https://git.unkin.net/unkin/puppet-prod/pulls/400 --- .../files/ceph-csi-rbdplugin-provisioner.yaml | 20 +++++++++---------- modules/rke2/files/ceph-csi-rbdplugin.yaml | 20 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/modules/rke2/files/ceph-csi-rbdplugin-provisioner.yaml b/modules/rke2/files/ceph-csi-rbdplugin-provisioner.yaml index 492dd7e..8bd065f 100644 --- a/modules/rke2/files/ceph-csi-rbdplugin-provisioner.yaml +++ b/modules/rke2/files/ceph-csi-rbdplugin-provisioner.yaml @@ -5,12 +5,12 @@ metadata: name: csi-rbdplugin-provisioner namespace: ceph-csi labels: - app: csi‑metrics + app: csi-metrics spec: selector: - app: csi‑rbdplugin‑provisioner + app: csi-rbdplugin-provisioner ports: - - name: http‑metrics + - name: http-metrics port: 8080 protocol: TCP targetPort: 8680 @@ -19,17 +19,17 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: csi‑rbdplugin‑provisioner + name: csi-rbdplugin-provisioner namespace: ceph-csi spec: replicas: 3 selector: matchLabels: - app: csi‑rbdplugin‑provisioner + app: csi-rbdplugin-provisioner template: metadata: labels: - app: csi‑rbdplugin‑provisioner + app: csi-rbdplugin-provisioner spec: affinity: podAntiAffinity: @@ -39,12 +39,12 @@ spec: - key: app operator: In values: - - csi‑rbdplugin‑provisioner + - csi-rbdplugin-provisioner topologyKey: "kubernetes.io/hostname" - serviceAccountName: rbd‑csi‑provisioner - priorityClassName: system‑cluster‑critical + serviceAccountName: rbd-csi-provisioner + priorityClassName: system-cluster-critical containers: - - name: csi‑rbdplugin + - name: csi-rbdplugin image: quay.io/cephcsi/cephcsi:v3.15 args: - "--nodeid=$(NODE_ID)" diff --git a/modules/rke2/files/ceph-csi-rbdplugin.yaml b/modules/rke2/files/ceph-csi-rbdplugin.yaml index a23c705..3e09c87 100644 --- a/modules/rke2/files/ceph-csi-rbdplugin.yaml +++ b/modules/rke2/files/ceph-csi-rbdplugin.yaml @@ -2,24 +2,24 @@ apiVersion: apps/v1 kind: DaemonSet metadata: - name: csi‑rbdplugin + name: csi-rbdplugin namespace: ceph-csi spec: selector: matchLabels: - app: csi‑rbdplugin + app: csi-rbdplugin template: metadata: labels: - app: csi‑rbdplugin + app: csi-rbdplugin spec: - serviceAccountName: rbd‑csi‑nodeplugin + serviceAccountName: rbd-csi-nodeplugin hostNetwork: true hostPID: true - priorityClassName: system‑node‑critical + priorityClassName: system-node-critical dnsPolicy: ClusterFirstWithHostNet containers: - - name: csi‑rbdplugin + - name: csi-rbdplugin securityContext: privileged: true capabilities: @@ -89,7 +89,7 @@ spec: - name: oidc-token mountPath: /run/secrets/tokens readOnly: true - # possibly sidecars like driver‑registrar, liveness, etc. + # possibly sidecars like driver-registrar, liveness, etc. volumes: - name: socket-dir hostPath: @@ -144,12 +144,12 @@ metadata: name: csi-metrics-rbdplugin namespace: ceph-csi labels: - app: csi‑metrics + app: csi-metrics spec: ports: - - name: http‑metrics + - name: http-metrics port: 8080 protocol: TCP targetPort: 8680 selector: - app: csi‑rbdplugin + app: csi-rbdplugin