Skip to content

Commit

Permalink
Add new hook to MutatingWebhookConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
jesmg authored and angelbarrera92 committed Apr 24, 2021
1 parent 040e54e commit 6b75df6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions deployments/kubernetes/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,26 @@ webhooks:
- "spaces"
apiVersions:
- "v1"
operations:
- CREATE
- UPDATE
- name: mutating.pods.k8spin.cloud
failurePolicy: Fail
objectSelector:
matchExpressions:
- {key: application, operator: NotIn, values: [k8spin-webhook, k8spin-operator]}
clientConfig:
service:
name: k8spin-webhook
namespace: default
path: /mutator/pods
caBundle: Cg==
rules:
- apiGroups: [""]
resources:
- "pods"
apiVersions:
- "v1"
operations:
- CREATE
- UPDATE

0 comments on commit 6b75df6

Please sign in to comment.