31 lines
1021 B
YAML
31 lines
1021 B
YAML
|
apiVersion: admissionregistration.k8s.io/v1
|
||
|
kind: MutatingWebhookConfiguration
|
||
|
metadata:
|
||
|
name: {{ template "k8s-triliovault-operator.name" . }}-mutating-webhook-configuration
|
||
|
labels:
|
||
|
app.kubernetes.io/part-of: {{ template "k8s-triliovault-operator.appName" . }}
|
||
|
app.kubernetes.io/name: {{ template "k8s-triliovault-operator.appName" . }}
|
||
|
app.kubernetes.io/instance: {{ template "k8s-triliovault-operator.appName" . }}-mutating-webhook-configuration
|
||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||
|
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
|