diff --git a/helm/templates/route-web.yaml b/helm/templates/route-web.yaml index e3cd2ddbc..89ef8329a 100644 --- a/helm/templates/route-web.yaml +++ b/helm/templates/route-web.yaml @@ -6,6 +6,9 @@ metadata: labels: {{- include "NotifyBC.labels" . | nindent 4 }} annotations: + {{- if .Values.route.web.ip_whitelist }} + haproxy.router.openshift.io/ip_whitelist: {{ .Values.route.web.ip_whitelist }} + {{- end }} haproxy.router.openshift.io/timeout: 24d name: {{ $fullName }}-web spec: diff --git a/helm/values.yaml b/helm/values.yaml index 2b2bc5583..8d8879947 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -129,6 +129,7 @@ route: host: '' tls: termination: edge + ip_whitelist: 0.0.0.0/0 smtp: host: ''