Update manifest

This commit is contained in:
xing-yang
2021-08-16 03:44:54 +00:00
parent 1449bcbb7f
commit c879fc3e55
4 changed files with 14 additions and 5 deletions

View File

@@ -42,6 +42,15 @@ rules:
- apiGroups: ["snapshot.storage.k8s.io"] - apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotcontents"] resources: ["volumesnapshotcontents"]
verbs: ["get", "list"] verbs: ["get", "list"]
- apiGroups: ["storage.k8s.io"]
resources: ["csinodes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch"]
--- ---
kind: ClusterRoleBinding kind: ClusterRoleBinding

View File

@@ -72,7 +72,7 @@ spec:
serviceAccount: csi-snapshotter serviceAccount: csi-snapshotter
containers: containers:
- name: csi-provisioner - name: csi-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.2 image: k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0
args: args:
- "--v=5" - "--v=5"
- "--csi-address=$(ADDRESS)" - "--csi-address=$(ADDRESS)"
@@ -84,7 +84,7 @@ spec:
- name: socket-dir - name: socket-dir
mountPath: /csi mountPath: /csi
- name: csi-snapshotter - name: csi-snapshotter
image: k8s.gcr.io/sig-storage/csi-snapshotter:v4.1.1 image: k8s.gcr.io/sig-storage/csi-snapshotter:v4.2.0
args: args:
- "--v=5" - "--v=5"
- "--csi-address=$(ADDRESS)" - "--csi-address=$(ADDRESS)"
@@ -97,7 +97,7 @@ spec:
- name: socket-dir - name: socket-dir
mountPath: /csi mountPath: /csi
- name: hostpath - name: hostpath
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.4.0 image: k8s.gcr.io/sig-storage/hostpathplugin:v1.7.2
args: args:
- "--v=5" - "--v=5"
- "--endpoint=$(CSI_ENDPOINT)" - "--endpoint=$(CSI_ENDPOINT)"

View File

@@ -33,7 +33,7 @@ spec:
serviceAccount: snapshot-controller serviceAccount: snapshot-controller
containers: containers:
- name: snapshot-controller - name: snapshot-controller
image: k8s.gcr.io/sig-storage/snapshot-controller:v4.1.1 image: k8s.gcr.io/sig-storage/snapshot-controller:v4.2.0
args: args:
- "--v=5" - "--v=5"
- "--leader-election=true" - "--leader-election=true"

View File

@@ -17,7 +17,7 @@ spec:
spec: spec:
containers: containers:
- name: snapshot-validation - name: snapshot-validation
image: k8s.gcr.io/sig-storage/snapshot-validation-webhook:v4.1.1 # change the image if you wish to use your own custom validation server image image: k8s.gcr.io/sig-storage/snapshot-validation-webhook:v4.2.0 # change the image if you wish to use your own custom validation server image
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: ['--tls-cert-file=/etc/snapshot-validation-webhook/certs/cert.pem', '--tls-private-key-file=/etc/snapshot-validation-webhook/certs/key.pem'] args: ['--tls-cert-file=/etc/snapshot-validation-webhook/certs/cert.pem', '--tls-private-key-file=/etc/snapshot-validation-webhook/certs/key.pem']
ports: ports: