Skip to content

Commit

Permalink
add scope to mutating webhook (#1037)
Browse files Browse the repository at this point in the history
Signed-off-by: Aviv Guiser <avivguiser@gmail.com>
  • Loading branch information
KyriosGN0 authored Jul 11, 2024
1 parent b7bb4db commit 8f988d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/injector-mutating-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ webhooks:
apiGroups: [""]
apiVersions: ["v1"]
resources: ["pods"]
scope: "Namespaced"
{{- if or (.Values.injector.namespaceSelector) (((.Values.injector.webhook)).namespaceSelector) }}
namespaceSelector:
{{ toYaml (((.Values.injector.webhook)).namespaceSelector | default .Values.injector.namespaceSelector) | indent 6}}
Expand Down

0 comments on commit 8f988d0

Please # to comment.