53 lines
1.0 KiB
YAML
53 lines
1.0 KiB
YAML
|
|
||
|
---
|
||
|
apiVersion: admissionregistration.k8s.io/v1beta1
|
||
|
kind: MutatingWebhookConfiguration
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
name: mutating-webhook-configuration
|
||
|
webhooks:
|
||
|
- clientConfig:
|
||
|
caBundle: Cg==
|
||
|
service:
|
||
|
name: webhook-service
|
||
|
namespace: system
|
||
|
path: /mutate-seaweed-seaweedfs-com-v1-seaweed
|
||
|
failurePolicy: Fail
|
||
|
name: mseaweed.kb.io
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- seaweed.seaweedfs.com
|
||
|
apiVersions:
|
||
|
- v1
|
||
|
operations:
|
||
|
- CREATE
|
||
|
- UPDATE
|
||
|
resources:
|
||
|
- seaweeds
|
||
|
|
||
|
---
|
||
|
apiVersion: admissionregistration.k8s.io/v1beta1
|
||
|
kind: ValidatingWebhookConfiguration
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
name: validating-webhook-configuration
|
||
|
webhooks:
|
||
|
- clientConfig:
|
||
|
caBundle: Cg==
|
||
|
service:
|
||
|
name: webhook-service
|
||
|
namespace: system
|
||
|
path: /validate-seaweed-seaweedfs-com-v1-seaweed
|
||
|
failurePolicy: Fail
|
||
|
name: vseaweed.kb.io
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- seaweed.seaweedfs.com
|
||
|
apiVersions:
|
||
|
- v1
|
||
|
operations:
|
||
|
- CREATE
|
||
|
- UPDATE
|
||
|
resources:
|
||
|
- seaweeds
|