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
…351)

* Update example injector mutating webhook config to exclude agent pod

- Original issue: #258
- Helm fix: hashicorp/vault-helm#736

* Update deploy/injector-mutating-webhook.yaml

Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>

Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
  • Loading branch information
Christopher Swenson and tvoran authored May 24, 2022
1 parent d33a0dc commit 676ee9f
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-injector"]
failurePolicy: Ignore

0 comments on commit 676ee9f

Please sign in to comment.