mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-10-23 04:51:58 +00:00
kubernetes: Configure HTTPS when not DISABLE_HTTPS.
This commit is contained in:
@@ -8,7 +8,11 @@ spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
{{- if .Values.zulip.environment.DISABLE_HTTPS }}
|
||||
targetPort: http
|
||||
{{- else }}
|
||||
targetPort: https
|
||||
{{- end }}
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
|
@@ -50,6 +50,9 @@ spec:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
protocol: TCP
|
||||
- name: https
|
||||
containerPort: 443
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: {{ include "zulip.fullname" . }}-persistent-storage
|
||||
mountPath: /data
|
||||
|
Reference in New Issue
Block a user