diff --git a/vcluster-0.28.0/templates/ingress.yaml b/vcluster-0.28.0/templates/ingress.yaml index 0f4c4b5..ce89d06 100644 --- a/vcluster-0.28.0/templates/ingress.yaml +++ b/vcluster-0.28.0/templates/ingress.yaml @@ -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 }}