Skip to content

Commit

Permalink
Changed ip_whitelist in route-web.yaml to be optional
Browse files Browse the repository at this point in the history
Removed default value for ip_whiteliost in values.yaml
  • Loading branch information
mhaswell-bcgov authored and f-w committed Jan 15, 2024
1 parent 313f05a commit bf9ad82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions helm/templates/route-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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:
Expand Down
1 change: 0 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ route:
host: ''
tls:
termination: edge
ip_whitelist: 0.0.0.0/0
smtp:
host: ''

Expand Down

0 comments on commit bf9ad82

Please sign in to comment.