Add missing ServiceAccount in snapshot-validation-deployment

Deployment manifest of snapshot-validation-deployment was missing a
service account and hence was using the default one that exists in
kube-system namespace.
This caused it to log Failed to watch *v1.VolumeSnapshotClass
This commit is contained in:
Danil Zhigalin 2023-05-11 12:53:19 +02:00
parent 2a5c82e3ad
commit af97d8a4af
1 changed files with 1 additions and 0 deletions

View File

@ -1218,6 +1218,7 @@ spec:
- name: snapshot-validation-webhook-certs
secret:
secretName: snapshot-validation-secret
serviceAccountName: snapshot-controller
---
apiVersion: v1
kind: Service