add tls to ingress
This commit is contained in:
@@ -22,6 +22,12 @@ spec:
|
|||||||
{{- with .Values.controlPlane.ingress.spec }}
|
{{- with .Values.controlPlane.ingress.spec }}
|
||||||
{{- tpl (toYaml .) $ | nindent 2 }}
|
{{- tpl (toYaml .) $ | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- {{ .Values.controlPlane.ingress.host | quote }}
|
||||||
|
secretName: {{ .Release.Namespace }}
|
||||||
|
|
||||||
{{- if not .Values.controlPlane.ingress.spec.rules }}
|
{{- if not .Values.controlPlane.ingress.spec.rules }}
|
||||||
rules:
|
rules:
|
||||||
- host: {{ .Values.controlPlane.ingress.host | quote }}
|
- host: {{ .Values.controlPlane.ingress.host | quote }}
|
||||||
|
|||||||
Reference in New Issue
Block a user