From b4501658241f64b4327b842dd86e40400476500d Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Thu, 11 Aug 2022 17:36:58 +0200 Subject: [PATCH] deploy: update to provisioner v3.2.1 and registrar v2.5.1 The registry also changes to the one preferred by Kubernetes. --- .../pmem-csi.intel.com_pmemcsideployments.yaml | 3 ++- deploy/kubernetes-1.19/direct/pmem-csi.yaml | 15 ++------------- .../kubernetes-1.19/direct/testing/pmem-csi.yaml | 15 ++------------- deploy/kubernetes-1.19/lvm/pmem-csi.yaml | 15 ++------------- deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml | 15 ++------------- .../kubernetes-1.19/pmem-csi-direct-testing.yaml | 15 ++------------- deploy/kubernetes-1.19/pmem-csi-direct.yaml | 15 ++------------- deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml | 15 ++------------- deploy/kubernetes-1.19/pmem-csi-lvm.yaml | 15 ++------------- deploy/kubernetes-1.20/direct/pmem-csi.yaml | 15 ++------------- .../kubernetes-1.20/direct/testing/pmem-csi.yaml | 15 ++------------- deploy/kubernetes-1.20/lvm/pmem-csi.yaml | 15 ++------------- deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml | 15 ++------------- .../kubernetes-1.20/pmem-csi-direct-testing.yaml | 15 ++------------- deploy/kubernetes-1.20/pmem-csi-direct.yaml | 15 ++------------- deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml | 15 ++------------- deploy/kubernetes-1.20/pmem-csi-lvm.yaml | 15 ++------------- deploy/kubernetes-1.21/direct/pmem-csi.yaml | 15 ++------------- .../kubernetes-1.21/direct/testing/pmem-csi.yaml | 15 ++------------- deploy/kubernetes-1.21/lvm/pmem-csi.yaml | 15 ++------------- deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml | 15 ++------------- .../kubernetes-1.21/pmem-csi-direct-testing.yaml | 15 ++------------- deploy/kubernetes-1.21/pmem-csi-direct.yaml | 15 ++------------- deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml | 15 ++------------- deploy/kubernetes-1.21/pmem-csi-lvm.yaml | 15 ++------------- deploy/kubernetes-1.22/direct/pmem-csi.yaml | 15 ++------------- .../kubernetes-1.22/direct/testing/pmem-csi.yaml | 15 ++------------- deploy/kubernetes-1.22/lvm/pmem-csi.yaml | 15 ++------------- deploy/kubernetes-1.22/lvm/testing/pmem-csi.yaml | 15 ++------------- .../kubernetes-1.22/pmem-csi-direct-testing.yaml | 15 ++------------- deploy/kubernetes-1.22/pmem-csi-direct.yaml | 15 ++------------- deploy/kubernetes-1.22/pmem-csi-lvm-testing.yaml | 15 ++------------- deploy/kubernetes-1.22/pmem-csi-lvm.yaml | 15 ++------------- deploy/kustomize/driver/pmem-csi.yaml | 4 ++-- .../kubernetes-no-metrics/rbac/kustomization.yaml | 2 +- pkg/apis/pmemcsi/v1beta1/deployment_types.go | 4 ++-- .../controller/deployment/controller_driver.go | 7 ------- 37 files changed, 71 insertions(+), 429 deletions(-) diff --git a/deploy/crd/pmem-csi.intel.com_pmemcsideployments.yaml b/deploy/crd/pmem-csi.intel.com_pmemcsideployments.yaml index e0adaba25a..a7079dd330 100644 --- a/deploy/crd/pmem-csi.intel.com_pmemcsideployments.yaml +++ b/deploy/crd/pmem-csi.intel.com_pmemcsideployments.yaml @@ -1,10 +1,11 @@ # This file was generated by controller-gen v0.8.0 via 'make operator-generate-crd' + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.7.0 creationTimestamp: null name: pmemcsideployments.pmem-csi.intel.com spec: diff --git a/deploy/kubernetes-1.19/direct/pmem-csi.yaml b/deploy/kubernetes-1.19/direct/pmem-csi.yaml index f7e23f1e82..49406f3f28 100644 --- a/deploy/kubernetes-1.19/direct/pmem-csi.yaml +++ b/deploy/kubernetes-1.19/direct/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -564,7 +553,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml b/deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml index 1d67a16c8f..8392f597b8 100644 --- a/deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -568,7 +557,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.19/lvm/pmem-csi.yaml b/deploy/kubernetes-1.19/lvm/pmem-csi.yaml index fe5c704223..357ea391d4 100644 --- a/deploy/kubernetes-1.19/lvm/pmem-csi.yaml +++ b/deploy/kubernetes-1.19/lvm/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -564,7 +553,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml b/deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml index 53dc5c116d..4ed26fc309 100644 --- a/deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -568,7 +557,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.19/pmem-csi-direct-testing.yaml b/deploy/kubernetes-1.19/pmem-csi-direct-testing.yaml index 1d67a16c8f..8392f597b8 100644 --- a/deploy/kubernetes-1.19/pmem-csi-direct-testing.yaml +++ b/deploy/kubernetes-1.19/pmem-csi-direct-testing.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -568,7 +557,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.19/pmem-csi-direct.yaml b/deploy/kubernetes-1.19/pmem-csi-direct.yaml index f7e23f1e82..49406f3f28 100644 --- a/deploy/kubernetes-1.19/pmem-csi-direct.yaml +++ b/deploy/kubernetes-1.19/pmem-csi-direct.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -564,7 +553,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml b/deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml index 53dc5c116d..4ed26fc309 100644 --- a/deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml +++ b/deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -568,7 +557,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.19/pmem-csi-lvm.yaml b/deploy/kubernetes-1.19/pmem-csi-lvm.yaml index fe5c704223..357ea391d4 100644 --- a/deploy/kubernetes-1.19/pmem-csi-lvm.yaml +++ b/deploy/kubernetes-1.19/pmem-csi-lvm.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -564,7 +553,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.20/direct/pmem-csi.yaml b/deploy/kubernetes-1.20/direct/pmem-csi.yaml index f7e23f1e82..49406f3f28 100644 --- a/deploy/kubernetes-1.20/direct/pmem-csi.yaml +++ b/deploy/kubernetes-1.20/direct/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -564,7 +553,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.20/direct/testing/pmem-csi.yaml b/deploy/kubernetes-1.20/direct/testing/pmem-csi.yaml index 1d67a16c8f..8392f597b8 100644 --- a/deploy/kubernetes-1.20/direct/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.20/direct/testing/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -568,7 +557,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.20/lvm/pmem-csi.yaml b/deploy/kubernetes-1.20/lvm/pmem-csi.yaml index fe5c704223..357ea391d4 100644 --- a/deploy/kubernetes-1.20/lvm/pmem-csi.yaml +++ b/deploy/kubernetes-1.20/lvm/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -564,7 +553,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml b/deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml index 53dc5c116d..4ed26fc309 100644 --- a/deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -568,7 +557,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.20/pmem-csi-direct-testing.yaml b/deploy/kubernetes-1.20/pmem-csi-direct-testing.yaml index 1d67a16c8f..8392f597b8 100644 --- a/deploy/kubernetes-1.20/pmem-csi-direct-testing.yaml +++ b/deploy/kubernetes-1.20/pmem-csi-direct-testing.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -568,7 +557,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.20/pmem-csi-direct.yaml b/deploy/kubernetes-1.20/pmem-csi-direct.yaml index f7e23f1e82..49406f3f28 100644 --- a/deploy/kubernetes-1.20/pmem-csi-direct.yaml +++ b/deploy/kubernetes-1.20/pmem-csi-direct.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -564,7 +553,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml b/deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml index 53dc5c116d..4ed26fc309 100644 --- a/deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml +++ b/deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -568,7 +557,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.20/pmem-csi-lvm.yaml b/deploy/kubernetes-1.20/pmem-csi-lvm.yaml index fe5c704223..357ea391d4 100644 --- a/deploy/kubernetes-1.20/pmem-csi-lvm.yaml +++ b/deploy/kubernetes-1.20/pmem-csi-lvm.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -564,7 +553,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.21/direct/pmem-csi.yaml b/deploy/kubernetes-1.21/direct/pmem-csi.yaml index 1aab464c28..3edf88a3bb 100644 --- a/deploy/kubernetes-1.21/direct/pmem-csi.yaml +++ b/deploy/kubernetes-1.21/direct/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -573,7 +562,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.21/direct/testing/pmem-csi.yaml b/deploy/kubernetes-1.21/direct/testing/pmem-csi.yaml index 56268f1db4..a70f8df04a 100644 --- a/deploy/kubernetes-1.21/direct/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.21/direct/testing/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -577,7 +566,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.21/lvm/pmem-csi.yaml b/deploy/kubernetes-1.21/lvm/pmem-csi.yaml index 455b291100..3413ba547c 100644 --- a/deploy/kubernetes-1.21/lvm/pmem-csi.yaml +++ b/deploy/kubernetes-1.21/lvm/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -573,7 +562,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml b/deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml index da34b180c2..63a898f15b 100644 --- a/deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -577,7 +566,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.21/pmem-csi-direct-testing.yaml b/deploy/kubernetes-1.21/pmem-csi-direct-testing.yaml index 56268f1db4..a70f8df04a 100644 --- a/deploy/kubernetes-1.21/pmem-csi-direct-testing.yaml +++ b/deploy/kubernetes-1.21/pmem-csi-direct-testing.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -577,7 +566,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.21/pmem-csi-direct.yaml b/deploy/kubernetes-1.21/pmem-csi-direct.yaml index 1aab464c28..3edf88a3bb 100644 --- a/deploy/kubernetes-1.21/pmem-csi-direct.yaml +++ b/deploy/kubernetes-1.21/pmem-csi-direct.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -573,7 +562,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml b/deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml index da34b180c2..63a898f15b 100644 --- a/deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml +++ b/deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -577,7 +566,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.21/pmem-csi-lvm.yaml b/deploy/kubernetes-1.21/pmem-csi-lvm.yaml index 455b291100..3413ba547c 100644 --- a/deploy/kubernetes-1.21/pmem-csi-lvm.yaml +++ b/deploy/kubernetes-1.21/pmem-csi-lvm.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -573,7 +562,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.22/direct/pmem-csi.yaml b/deploy/kubernetes-1.22/direct/pmem-csi.yaml index 1aab464c28..3edf88a3bb 100644 --- a/deploy/kubernetes-1.22/direct/pmem-csi.yaml +++ b/deploy/kubernetes-1.22/direct/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -573,7 +562,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.22/direct/testing/pmem-csi.yaml b/deploy/kubernetes-1.22/direct/testing/pmem-csi.yaml index 56268f1db4..a70f8df04a 100644 --- a/deploy/kubernetes-1.22/direct/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.22/direct/testing/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -577,7 +566,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.22/lvm/pmem-csi.yaml b/deploy/kubernetes-1.22/lvm/pmem-csi.yaml index 455b291100..3413ba547c 100644 --- a/deploy/kubernetes-1.22/lvm/pmem-csi.yaml +++ b/deploy/kubernetes-1.22/lvm/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -573,7 +562,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.22/lvm/testing/pmem-csi.yaml b/deploy/kubernetes-1.22/lvm/testing/pmem-csi.yaml index da34b180c2..63a898f15b 100644 --- a/deploy/kubernetes-1.22/lvm/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.22/lvm/testing/pmem-csi.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -577,7 +566,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.22/pmem-csi-direct-testing.yaml b/deploy/kubernetes-1.22/pmem-csi-direct-testing.yaml index 56268f1db4..a70f8df04a 100644 --- a/deploy/kubernetes-1.22/pmem-csi-direct-testing.yaml +++ b/deploy/kubernetes-1.22/pmem-csi-direct-testing.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -577,7 +566,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.22/pmem-csi-direct.yaml b/deploy/kubernetes-1.22/pmem-csi-direct.yaml index 1aab464c28..3edf88a3bb 100644 --- a/deploy/kubernetes-1.22/pmem-csi-direct.yaml +++ b/deploy/kubernetes-1.22/pmem-csi-direct.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -573,7 +562,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.22/pmem-csi-lvm-testing.yaml b/deploy/kubernetes-1.22/pmem-csi-lvm-testing.yaml index da34b180c2..63a898f15b 100644 --- a/deploy/kubernetes-1.22/pmem-csi-lvm-testing.yaml +++ b/deploy/kubernetes-1.22/pmem-csi-lvm-testing.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -536,7 +525,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -577,7 +566,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kubernetes-1.22/pmem-csi-lvm.yaml b/deploy/kubernetes-1.22/pmem-csi-lvm.yaml index 455b291100..3413ba547c 100644 --- a/deploy/kubernetes-1.22/pmem-csi-lvm.yaml +++ b/deploy/kubernetes-1.22/pmem-csi-lvm.yaml @@ -32,17 +32,6 @@ metadata: name: pmem-csi-intel-com-external-provisioner-cfg namespace: pmem-csi rules: -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list - - delete - - update - - create - apiGroups: - coordination.k8s.io resources: @@ -533,7 +522,7 @@ spec: env: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent name: driver-registrar resources: @@ -573,7 +562,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/deploy/kustomize/driver/pmem-csi.yaml b/deploy/kustomize/driver/pmem-csi.yaml index 8078e55ed0..8ac52aa95e 100644 --- a/deploy/kustomize/driver/pmem-csi.yaml +++ b/deploy/kustomize/driver/pmem-csi.yaml @@ -301,7 +301,7 @@ spec: # that mounted fs. mountPropagation: Bidirectional - name: driver-registrar - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1 imagePullPolicy: IfNotPresent args: - -v=3 @@ -326,7 +326,7 @@ spec: - name: PMEM_CSI_DRIVER_NAME value: pmem-csi.intel.com - name: external-provisioner - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.2.1 imagePullPolicy: IfNotPresent args: - -v=3 diff --git a/deploy/kustomize/kubernetes-no-metrics/rbac/kustomization.yaml b/deploy/kustomize/kubernetes-no-metrics/rbac/kustomization.yaml index b58ee72291..a197bae719 100644 --- a/deploy/kustomize/kubernetes-no-metrics/rbac/kustomization.yaml +++ b/deploy/kustomize/kubernetes-no-metrics/rbac/kustomization.yaml @@ -1,7 +1,7 @@ namePrefix: pmem-csi-intel-com- resources: -- https://github.com/kubernetes-csi/external-provisioner/raw/v2.0.0/deploy/kubernetes/rbac.yaml +- https://github.com/kubernetes-csi/external-provisioner/raw/v3.2.1/deploy/kubernetes/rbac.yaml # We define our own service account. patchesStrategicMerge: diff --git a/pkg/apis/pmemcsi/v1beta1/deployment_types.go b/pkg/apis/pmemcsi/v1beta1/deployment_types.go index e192effcc1..0a16c2016a 100644 --- a/pkg/apis/pmemcsi/v1beta1/deployment_types.go +++ b/pkg/apis/pmemcsi/v1beta1/deployment_types.go @@ -284,10 +284,10 @@ const ( // can be used to update both. // DefaultProvisionerImage default external provisioner image to use - DefaultProvisionerImage = "k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2" + DefaultProvisionerImage = "registry.k8s.io/sig-storage/csi-provisioner:v3.2.1" // DefaultRegistrarImage default node driver registrar image to use - DefaultRegistrarImage = "k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0" + DefaultRegistrarImage = "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1" // Below resource requests and limits are derived(with minor adjustments) from // recommendations reported by VirtualPodAutoscaler(LowerBound -> Requests and UpperBound -> Limits) diff --git a/pkg/pmem-csi-operator/controller/deployment/controller_driver.go b/pkg/pmem-csi-operator/controller/deployment/controller_driver.go index c9c5b2d76b..0bbacd1c5d 100644 --- a/pkg/pmem-csi-operator/controller/deployment/controller_driver.go +++ b/pkg/pmem-csi-operator/controller/deployment/controller_driver.go @@ -1003,13 +1003,6 @@ func (d *pmemCSIDeployment) getSchedulerService(service *corev1.Service) { func (d *pmemCSIDeployment) getControllerProvisionerRole(role *rbacv1.Role) { role.Rules = []rbacv1.PolicyRule{ - { - APIGroups: []string{""}, - Resources: []string{"endpoints"}, - Verbs: []string{ - "get", "watch", "list", "delete", "update", "create", - }, - }, { APIGroups: []string{"coordination.k8s.io"}, Resources: []string{"leases"},