feat(ingress): replace insecure annotation with cluster issuer reference

This commit is contained in:
Janik von Rotz committed 2025-07-29 13:49:01 +02:00
1 parent b7abc93db8
commit 3cf65705b4
2 files changed
+2 -3

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ kind: Ingress
metadata:
name: odoo-ingress
annotations:
{{- if .Values.ingress.secure }}
{{- if .Values.ingress.clusterIssuerRef }}
cert-manager.io/cluster-issuer: {{ .Values.ingress.clusterIssuerRef }}
{{- end }}
{{- if eq .Values.ingress.className "nginx" }}
@@ -34,7 +34,7 @@ spec:
port:
number: 8069
{{- end }}
{{- if .Values.ingress.secure }}
{{- if .Values.ingress.clusterIssuerRef }}
tls:
- hosts:
- {{.Values.ingress.host }}
-1
View File
@@ -4,7 +4,6 @@ ingress:
clusterIssuerRef: letsencrypt-http-prod
host: odoo.cloud.local
customDomain:
secure: false
vshnPostgres:
enabled: false
secretRef: postgres-creds