diff --git a/helm-chart/templates/networkpolicy.yaml b/helm-chart/templates/networkpolicy.yaml index 2c219c8..0190249 100644 --- a/helm-chart/templates/networkpolicy.yaml +++ b/helm-chart/templates/networkpolicy.yaml @@ -16,7 +16,10 @@ spec: - from: - namespaceSelector: matchLabels: - name: ingress-nginx + name: kube-system + podSelector: + matchLabels: + app: traefik ports: - protocol: TCP port: {{ .Values.port }}