From a0e3fc4c15481925e7174ff2e56f9042ac15c12a Mon Sep 17 00:00:00 2001 From: Ben Swartzlander Date: Mon, 30 Dec 2019 09:39:21 -0500 Subject: [PATCH] Small fixes to snapshot-controller YAML Remove "sidecar" language for the controller. Update image tag to 2.0.0-rc4 (the latest) --- .../kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml | 2 +- .../snapshot-controller/rbac-snapshot-controller.yaml | 6 +++--- .../snapshot-controller/setup-snapshot-controller.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml b/deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml index 11d1bcc37..28ba5b24c 100644 --- a/deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml +++ b/deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml @@ -85,7 +85,7 @@ spec: mountPath: /csi - name: csi-snapshotter # NOTE: replace with official image when released: quay.io/k8scsi/csi-snapshotter:v2.0.0 - image: quay.io/k8scsi/csi-snapshotter:v2.0.0-rc2 + image: quay.io/k8scsi/csi-snapshotter:v2.0.0-rc4 args: - "--v=5" - "--csi-address=$(ADDRESS)" diff --git a/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml b/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml index 72e0d157a..fee85af76 100644 --- a/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml +++ b/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml @@ -56,7 +56,7 @@ roleRef: kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: - namespace: default # TODO: replace with the namespace you want for your sidecar + namespace: default # TODO: replace with the namespace you want for your controller name: snapshot-controller-leaderelection rules: - apiGroups: ["coordination.k8s.io"] @@ -68,11 +68,11 @@ kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: snapshot-controller-leaderelection - namespace: default # TODO: replace with the namespace you want for your sidecar + namespace: default # TODO: replace with the namespace you want for your controller subjects: - kind: ServiceAccount name: snapshot-controller - namespace: default # TODO: replace with the namespace you want for your sidecar + namespace: default # TODO: replace with the namespace you want for your controller roleRef: kind: Role name: snapshot-controller-leaderelection diff --git a/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml b/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml index 714af7667..5fe071154 100644 --- a/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml +++ b/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml @@ -20,7 +20,7 @@ spec: containers: - name: snapshot-controller # NOTE: replace with official image when released: quay.io/k8scsi/snapshot-controller:v2.0.0 - image: quay.io/k8scsi/snapshot-controller:v2.0.0-rc2 + image: quay.io/k8scsi/snapshot-controller:v2.0.0-rc4 args: - "--v=5" - "--leader-election=false"