Skip to content

Commit

Permalink
Allow disabling tls
Browse files Browse the repository at this point in the history
  • Loading branch information
thenav56 committed Dec 5, 2024
1 parent d0b411c commit b6f4c02
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/templates/api/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
port:
number: 80

{{- if .Values.ingress.tls }}
{{- if .Values.ingress.tls.enabled }}
tls:
- hosts:
- {{ .Values.ingress.host | quote }}
Expand Down
1 change: 1 addition & 0 deletions helm/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ingress:
enabled: true
className: nginx
tls:
enabled: true
secretName:
# Needs to be defined at go-deploy
# host: alerthub-stage-api.ifrc.org
Expand Down
1 change: 1 addition & 0 deletions helm/values-sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ingress:
host: alert-hub-sandbox.ifrc.org
className: webapprouting.kubernetes.azure.com
tls:
enabled: true
secretName:

postgresql:
Expand Down
1 change: 1 addition & 0 deletions helm/values-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ingress:
enabled: true
className: nginx
tls:
enabled: true
secretName:
# Needs to be defined at go-deploy
# host: alerthub-stage-api.ifrc.org
Expand Down
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ingress:
host:
className:
tls:
enabled: false
secretName:

redis:
Expand Down

0 comments on commit b6f4c02

Please sign in to comment.