Skip to content

Commit

Permalink
[charts/crowd] Release 2.3 Avoid env variables conflinct in case of e…
Browse files Browse the repository at this point in the history
…xternal SSL termination
  • Loading branch information
javimox authored Aug 23, 2023
2 parents 8ecb096 + 7ec0080 commit 53191ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/crowd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.2.0
version: 2.3.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
8 changes: 8 additions & 0 deletions charts/crowd/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ data:
{{- end }}
ATL_TOMCAT_PORT: {{ .Values.service.port | quote }}
{{- if .Values.ingress.enabled }}
{{- if not .Values.envVars.ATL_PROXY_NAME }}
ATL_PROXY_NAME: {{ (index .Values.ingress.hosts 0).host | quote }}
{{- end }}
{{- if not .Values.envVars.ATL_PROXY_PORT }}
ATL_PROXY_PORT: {{ if .Values.ingress.tls }}"443"{{ else }}"80"{{ end }}
{{- end }}
{{- if not .Values.envVars.ATL_TOMCAT_SCHEME }}
ATL_TOMCAT_SCHEME: {{ if .Values.ingress.tls }}"https"{{ else }}"http"{{ end }}
{{- end }}
{{- if not .Values.envVars.ATL_TOMCAT_SECURE }}
ATL_TOMCAT_SECURE: {{ if .Values.ingress.tls }}"true"{{ else }}"false"{{ end }}
{{- end }}
{{- end }}

0 comments on commit 53191ec

Please sign in to comment.