Merge pull request #553 from PatrickSpies/feat/helm-netpol-egress

feat(helm) add egress-rule to netpol
This commit is contained in:
Muneeb Aijaz
2023-10-19 17:24:28 +05:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -20,6 +20,7 @@ spec:
{{- end }}
policyTypes:
- Ingress
- Egress
ingress:
- ports:
- port: http
@@ -27,4 +28,11 @@ spec:
from:
{{- toYaml .| nindent 8 }}
{{- end }}
egress:
- ports:
- port: 443
{{- with .Values.reloader.netpol.to}}
to:
{{- toYaml .| nindent 8 }}
{{- end }}
{{- end }}
@@ -276,5 +276,6 @@ reloader:
# - podSelector:
# matchLabels:
# app.kubernetes.io/name: prometheus
to: []
webhookUrl: ""