2020-11-01 07:52:13 +00:00
|
|
|
---
|
2022-03-30 05:29:16 +00:00
|
|
|
apiVersion: admissionregistration.k8s.io/v1
|
2020-11-01 07:52:13 +00:00
|
|
|
kind: MutatingWebhookConfiguration
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
name: mutating-webhook-configuration
|
|
|
|
webhooks:
|
2022-03-30 05:29:16 +00:00
|
|
|
- admissionReviewVersions:
|
|
|
|
- v1
|
|
|
|
clientConfig:
|
2020-11-01 07:52:13 +00:00
|
|
|
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:
|
2022-03-30 05:29:16 +00:00
|
|
|
- seaweedfs
|
|
|
|
sideEffects: None
|
2020-11-01 07:52:13 +00:00
|
|
|
---
|
2022-03-30 05:29:16 +00:00
|
|
|
apiVersion: admissionregistration.k8s.io/v1
|
2020-11-01 07:52:13 +00:00
|
|
|
kind: ValidatingWebhookConfiguration
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
name: validating-webhook-configuration
|
|
|
|
webhooks:
|
2022-03-30 05:29:16 +00:00
|
|
|
- admissionReviewVersions:
|
|
|
|
- v1
|
|
|
|
clientConfig:
|
2020-11-01 07:52:13 +00:00
|
|
|
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
|
2022-03-30 05:29:16 +00:00
|
|
|
sideEffects: None
|