apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: name: {{ template "k8s-triliovault-operator.name" . }}-mutating-webhook-configuration labels: {{- include "k8s-triliovault-operator.labels" . | nindent 4 }} app.kubernetes.io/instance: {{ template "k8s-triliovault-operator.appName" . }}-mutating-webhook-configuration webhooks: - clientConfig: service: name: {{ template "k8s-triliovault-operator.fullname" . }}-webhook-service namespace: {{ .Release.Namespace }} path: /mutate-triliovault-trilio-io-v1-triliovaultmanager failurePolicy: Fail name: v1-tvm-mutation.trilio.io rules: - apiGroups: - triliovault.trilio.io apiVersions: - v1 operations: - CREATE - UPDATE resources: - triliovaultmanagers sideEffects: None admissionReviewVersions: - v1