File tree Expand file tree Collapse file tree
kagenti-operator/config/webhook Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,28 @@ webhooks:
1313 path : /mutate-workloads-authbridge
1414 failurePolicy : Fail
1515 name : inject.kagenti.io
16+ namespaceSelector :
17+ matchExpressions :
18+ - key : kubernetes.io/metadata.name
19+ operator : NotIn
20+ values :
21+ - kube-system
22+ - kube-public
23+ - kube-node-lease
24+ - kagenti-operator-system
25+ matchLabels :
26+ kagenti-enabled : " true"
27+ objectSelector :
28+ matchExpressions :
29+ - key : kagenti.io/type
30+ operator : In
31+ values :
32+ - agent
33+ - tool
34+ - key : kagenti.io/inject
35+ operator : NotIn
36+ values :
37+ - disabled
1638 reinvocationPolicy : IfNeeded
1739 rules :
1840 - apiGroups :
@@ -24,6 +46,7 @@ webhooks:
2446 resources :
2547 - pods
2648 sideEffects : None
49+ timeoutSeconds : 10
2750---
2851apiVersion : admissionregistration.k8s.io/v1
2952kind : ValidatingWebhookConfiguration
You can’t perform that action at this time.
0 commit comments