diff --git a/helm/templates/server-ingress.yaml b/helm/templates/server-ingress.yaml index 12ccb32..a28b15e 100644 --- a/helm/templates/server-ingress.yaml +++ b/helm/templates/server-ingress.yaml @@ -7,9 +7,13 @@ metadata: {{- include "it-cost-dashboard.componentLabels" (dict "ctx" . "component" "server") | nindent 4 }} annotations: nginx.ingress.kubernetes.io/proxy-body-size: "10m" + cert-manager.io/cluster-issuer: sectigo-acme spec: ingressClassName: {{ .Values.ingress.className }} - # HTTP only for now — no TLS block until certs are issued for these hosts. + tls: + - hosts: + - {{ .Values.ingress.host | quote }} + secretName: {{ include "it-cost-dashboard.fullname" . }}-server-tls rules: - host: {{ required "ingress.host is required" .Values.ingress.host | quote }} http: