add tls to ingress

This commit is contained in:
behrooz
2025-10-10 14:37:01 +03:30
parent cfaba19c22
commit 1d670e59ea

View File

@@ -22,6 +22,12 @@ spec:
{{- with .Values.controlPlane.ingress.spec }}
{{- tpl (toYaml .) $ | nindent 2 }}
{{- end }}
tls:
- hosts:
- {{ .Values.controlPlane.ingress.host | quote }}
secretName: {{ .Release.Namespace }}
{{- if not .Values.controlPlane.ingress.spec.rules }}
rules:
- host: {{ .Values.controlPlane.ingress.host | quote }}