mirror of
https://github.com/stakater/Reloader.git
synced 2026-05-06 00:36:39 +00:00
feat(helm) add egress-rule to netpol
This commit is contained in:
@@ -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.from}}
|
||||
to:
|
||||
{{- toYaml .| nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -276,5 +276,6 @@ reloader:
|
||||
# - podSelector:
|
||||
# matchLabels:
|
||||
# app.kubernetes.io/name: prometheus
|
||||
to: []
|
||||
|
||||
webhookUrl: ""
|
||||
|
||||
Reference in New Issue
Block a user