32 lines
789 B
YAML
32 lines
789 B
YAML
apiVersion: admissionregistration.k8s.io/v1
|
|
kind: ValidatingWebhookConfiguration
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: {{ template "storageos.name" . }}
|
|
app.kubernetes.io/component: operator
|
|
chart: {{ template "storageos.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
name: storageos-operator-validating-webhook
|
|
webhooks:
|
|
- admissionReviewVersions:
|
|
- v1
|
|
clientConfig:
|
|
service:
|
|
name: storageos-operator-webhook
|
|
namespace: {{ .Release.Namespace }}
|
|
path: /validate-storageoscluster
|
|
failurePolicy: Ignore
|
|
name: cluster-validator.storageos.com
|
|
rules:
|
|
- apiGroups:
|
|
- storageos.com
|
|
apiVersions:
|
|
- v1
|
|
operations:
|
|
- CREATE
|
|
resources:
|
|
- storageosclusters
|
|
sideEffects: None
|