Skip to content

Commit

Permalink
add scope to mutating webhook
Browse files Browse the repository at this point in the history
Signed-off-by: Aviv Guiser <avivguiser@gmail.com>
  • Loading branch information
KyriosGN0 committed Jul 5, 2024
1 parent 834cd7f commit 7b9bebe
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 7b9bebe

Please # to comment.