Skip to content

Commit

Permalink
Update example injector mutating webhook config to exclude agent pod
Browse files Browse the repository at this point in the history
- Original issue: #258
- Helm fix: hashicorp/vault-helm#736
  • Loading branch information
Christopher Swenson committed May 23, 2022
1 parent 0288885 commit 35c4bec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deploy/injector-mutating-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ webhooks:
apiVersions: ["v1"]
resources: ["deployments", "jobs", "pods", "statefulsets"]
namespaceSelector: {}
objectSelector: {}
objectSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: NotIn
values: ["vault-agent-injector"]
failurePolicy: Ignore

0 comments on commit 35c4bec

Please sign in to comment.