This commit is contained in:
s871077
2026-09-21 16:37:26 +08:00
parent d4241b6cd5
commit 137a4a2a39
+5 -1
View File
@@ -7,9 +7,13 @@ metadata:
{{- include "it-cost-dashboard.componentLabels" (dict "ctx" . "component" "server") | nindent 4 }} {{- include "it-cost-dashboard.componentLabels" (dict "ctx" . "component" "server") | nindent 4 }}
annotations: annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "10m" nginx.ingress.kubernetes.io/proxy-body-size: "10m"
cert-manager.io/cluster-issuer: sectigo-acme
spec: spec:
ingressClassName: {{ .Values.ingress.className }} 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: rules:
- host: {{ required "ingress.host is required" .Values.ingress.host | quote }} - host: {{ required "ingress.host is required" .Values.ingress.host | quote }}
http: http: