deploy/kubernetes: Update snapshot-validation-webhook
Since 4f783f10f
added validation for `volumesnapshotclasses`, the
`snapshot-validation-webhook` needs to handle this kind of resource. But
version 5.0.1 doesn't, which leads to failures when updating or creating
`volumesnapshotclasses`.
This commit updates the `snapshot-validation-webhook` version to 6.0.1 in
`deploy/kubernetes/webhook-example/admission-configuration-template`.
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
This commit is contained in:
@@ -18,7 +18,7 @@ spec:
|
||||
serviceAccountName: snapshot-webhook
|
||||
containers:
|
||||
- name: snapshot-validation
|
||||
image: k8s.gcr.io/sig-storage/snapshot-validation-webhook:v5.0.1 # change the image if you wish to use your own custom validation server image
|
||||
image: k8s.gcr.io/sig-storage/snapshot-validation-webhook:v6.0.1 # change the image if you wish to use your own custom validation server image
|
||||
imagePullPolicy: IfNotPresent
|
||||
args: ['--tls-cert-file=/etc/snapshot-validation-webhook/certs/cert.pem', '--tls-private-key-file=/etc/snapshot-validation-webhook/certs/key.pem']
|
||||
ports:
|
||||
|
Reference in New Issue
Block a user