You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.1 KiB

---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
creationTimestamp: null
name: mutating-webhook-configuration
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /mutate-apps-mashibing-com-v1-msbdeployment
failurePolicy: Fail
name: mmsbdeployment.kb.io
rules:
- apiGroups:
- apps.mashibing.com
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- msbdeployments
sideEffects: None
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
creationTimestamp: null
name: validating-webhook-configuration
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /validate-apps-mashibing-com-v1-msbdeployment
failurePolicy: Fail
name: vmsbdeployment.kb.io
rules:
- apiGroups:
- apps.mashibing.com
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- msbdeployments
sideEffects: None