diff --git a/charts/gitlab/charts/webservice/templates/deployment.yaml b/charts/gitlab/charts/webservice/templates/deployment.yaml index 24c24b5d493099c95c5ee081591b8e33594324cd..69bc10c341765f516d9ec40027a963b7a9287a4e 100644 --- a/charts/gitlab/charts/webservice/templates/deployment.yaml +++ b/charts/gitlab/charts/webservice/templates/deployment.yaml @@ -355,7 +355,11 @@ spec: - name: TMPDIR value: "/tmp/gitlab" - name: GITLAB_WORKHORSE_AUTH_BACKEND + {{ if $.Values.tls.enabled -}} + value: "https://localhost:{{ $.Values.service.tls.internalPort }}" + {{- else -}} value: "http://localhost:{{ $.Values.service.internalPort }}" + {{- end }} - name: GITLAB_WORKHORSE_EXTRA_ARGS value: {{ .workhorse.extraArgs | quote }} - name: GITLAB_WORKHORSE_LISTEN_PORT