Skip to content

Commit

Permalink
Add namespace alias for NetworkPolicy (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranzke authored Jun 14, 2023
1 parent 4278f9c commit 176aa4c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
annotations:
networking.resources.gardener.cloud/from-all-webhook-targets-allowed-ports: '[{"protocol":"TCP","port":9443}]'
{{- if ne .Release.Namespace "garden" }}
networking.resources.gardener.cloud/pod-label-selector-namespace-alias: extensions
networking.resources.gardener.cloud/namespace-selectors: '[{"matchLabels":{"kubernetes.io/metadata.name":"garden"}}]'
{{- end }}
labels:
Expand Down

0 comments on commit 176aa4c

Please sign in to comment.