Skip to content

Commit

Permalink
vault-secrets-webhook: Add default objectSelector to not trigger on i…
Browse files Browse the repository at this point in the history
…nternal Helm v3 state resources
  • Loading branch information
gw0 authored and bonifaido committed Mar 31, 2021
1 parent 24ad001 commit ef0d815
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ webhooks:
{{- if .Values.objectSelector.matchExpressions }}
{{ toYaml .Values.objectSelector.matchExpressions | indent 4 }}
{{- end }}
- key: owner
operator: NotIn
values:
- helm
- key: security.banzaicloud.io/mutate
operator: NotIn
values:
Expand Down Expand Up @@ -221,6 +225,10 @@ webhooks:
{{- if .Values.objectSelector.matchExpressions }}
{{ toYaml .Values.objectSelector.matchExpressions | indent 4 }}
{{- end }}
- key: owner
operator: NotIn
values:
- helm
- key: security.banzaicloud.io/mutate
operator: NotIn
values:
Expand Down

0 comments on commit ef0d815

Please sign in to comment.