Skip to content

Commit

Permalink
Small fixes to snapshot-controller YAML
Browse files Browse the repository at this point in the history
Remove "sidecar" language for the controller.

Update image tag to 2.0.0-rc4 (the latest)
  • Loading branch information
bswartz committed Dec 30, 2019
1 parent 8179759 commit a0e3fc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a0e3fc4

Please sign in to comment.