github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-platform-operator/templates/mutatingWebHookConfiguration.yaml (about) 1 # Copyright (c) 2022, 2023, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 --- 4 apiVersion: admissionregistration.k8s.io/v1 5 kind: MutatingWebhookConfiguration 6 metadata: 7 name: verrazzano-mysql-backup 8 labels: 9 app: verrazzano-mysql-backup 10 webhooks: 11 - name: verrazzano-mysql-backup.verrazzano.io 12 namespaceSelector: 13 matchExpressions: 14 - {key: istio-injection, operator: In, values: [enabled]} 15 - {key: verrazzano.io/namespace, operator: In, values: [mysql-operator, keycloak, verrazzano-system]} 16 clientConfig: 17 service: 18 name: {{ .Values.name }}-webhook 19 namespace: {{ .Values.namespace }} 20 path: "/mysql-backup-job-annotate" 21 rules: 22 - apiGroups: 23 - batch 24 apiVersions: 25 - v1 26 operations: 27 - CREATE 28 - UPDATE 29 resources: 30 - jobs 31 sideEffects: None 32 failurePolicy: Fail 33 matchPolicy: Exact 34 timeoutSeconds: 30 35 admissionReviewVersions: 36 - v1beta1 37 - v1