Skip to content

Commit

Permalink
CARRY: reintroduce pod mutating and validating webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbins228 committed Feb 13, 2025
1 parent 846df0c commit 4896f34
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
19 changes: 17 additions & 2 deletions config/rhoai/mutating_webhook_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,23 @@ kind: MutatingWebhookConfiguration
metadata:
name: mutating-webhook-configuration
webhooks:
- $patch: delete
name: mpod.kb.io
- name: mpod.kb.io
namespaceSelector:
matchExpressions:
- key: kubernetes.io/metadata.name
operator: NotIn
values:
- kube-system
- kube-public
- openshift
- openshift-config
- openshift-config-managed
- openshift-etcd
- openshift-image-registry
- openshift-marketplace
- openshift-monitoring
- openshift-operator-lifecycle-manager
- openshift-operators
- name: mjob.kb.io
namespaceSelector:
matchExpressions:
Expand Down
19 changes: 17 additions & 2 deletions config/rhoai/validating_webhook_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,23 @@ kind: ValidatingWebhookConfiguration
metadata:
name: validating-webhook-configuration
webhooks:
- $patch: delete
name: vpod.kb.io
- name: vpod.kb.io
namespaceSelector:
matchExpressions:
- key: kubernetes.io/metadata.name
operator: NotIn
values:
- kube-system
- kube-public
- openshift
- openshift-config
- openshift-config-managed
- openshift-etcd
- openshift-image-registry
- openshift-marketplace
- openshift-monitoring
- openshift-operator-lifecycle-manager
- openshift-operators
- name: vjob.kb.io
namespaceSelector:
matchExpressions:
Expand Down

0 comments on commit 4896f34

Please sign in to comment.