fix(helm): apply traefikAnnotations and gate TLS secret on certManager.enabled (#1864)

Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
Rohmilchkaese
2026-02-18 11:59:41 +01:00
committed by GitHub
parent d345ace326
commit 3f4cb6883e
2 changed files with 3 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
{{- $ingressAnnotations := dict }}
{{- if eq .Values.ingress.className "nginx" }}
{{- $ingressAnnotations = .Values.ingress.nginxAnnotations }}
{{- else if eq .Values.ingress.className "traefik" }}
{{- $ingressAnnotations = .Values.ingress.traefikAnnotations }}
{{- else if eq .Values.ingress.className "" }}
{{- $ingressAnnotations = .Values.ingress.customAnnotations }}
{{- end }}

View File

@@ -1,4 +1,4 @@
{{- if .Values.ingress.tls.enabled -}}
{{- if and .Values.ingress.tls.enabled (not .Values.ingress.tls.certManager.enabled) -}}
apiVersion: v1
kind: Secret
metadata: