Skip to content

The Unified and Autonomous Development Platform

chore: use ingress.tls.enabled instead to tell OneDev of tls existence

Robin Shen63a0346a863e
diff --git a/server-product/helm/templates/_pod.tpl b/server-product/helm/templates/_pod.tpl
index 44c4f249e8..881f725fe2 100644
--- a/server-product/helm/templates/_pod.tpl
+++ b/server-product/helm/templates/_pod.tpl
@@ -48,11 +48,11 @@ containers:
value: {{ .Values.onedev.initSettings.email }}
- name: initial_server_url
value: {{ .Values.onedev.initSettings.serverUrl }}
- - name: ingress_tls
- value: {{ .Values.onedev.enableSSL | quote }}
{{- if .Values.ingress.enabled }}
- name: ingress_host
value: {{ .Values.ingress.host }}
+ - name: ingress_tls
+ value: "{{ .Values.ingress.tls.enabled }}"
{{- end }}
{{- if .Values.database.external }}
{{- include "setDatabaseEnvVars" . | indent 2 }}