From 137a4a2a399ecd320840472e3076d2c381f50da3 Mon Sep 17 00:00:00 2001 From: s871077 Date: Mon, 21 Sep 2026 16:37:26 +0800 Subject: [PATCH] test --- helm/templates/server-ingress.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: