File tree Expand file tree Collapse file tree 2 files changed +15
-23
lines changed Expand file tree Collapse file tree 2 files changed +15
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ metadata:
7
7
namespace : {{ .Release.Namespace | quote }}
8
8
annotations : {{ toYaml .Values.ingress.annotations | nindent 4 }}
9
9
spec :
10
- {{- include "coder.ingress.tls" . }}
11
10
rules :
12
11
- host : {{ .Values.ingress.host | quote }}
13
12
http :
41
40
name : {{ include "coder.serviceName" . }}
42
41
port :
43
42
name : tcp-{{ include "coder.serviceName" . }}
43
+ {{- if .Values.ingress.tls.enable }}
44
+ tls :
45
+ {{- if and .Values.ingress.host .Values.ingress.tls.hostSecretName }}
46
+ - hosts :
47
+ - {{ .Values.ingress.host | quote }}
48
+ secretName : {{ .Values.ingress.tls.hostSecretName }}
49
+ {{- end }}
50
+ {{- if .Values.devurls }}
51
+ {{- if and .Values.devurls.host .Values.ingress.tls.devurlsHostSecretName }}
52
+ - hosts :
53
+ - {{ .Values.coderd.devurlsHost }}
54
+ secretName : {{ .Values.ingress.tls.devurlsHostSecretName }}
55
+ {{- end }}
56
+ {{- end }}
57
+ {{- end }}
44
58
{{- end }}
You can’t perform that action at this time.
0 commit comments