From 3cf65705b4dfffaf71de2646dcc91e6800d9f166 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Tue, 29 Jul 2025 13:49:01 +0200 Subject: [PATCH] feat(ingress): replace insecure annotation with cluster issuer reference --- odoo/templates/odoo-ingress.yaml | 4 ++-- odoo/values.yaml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/odoo/templates/odoo-ingress.yaml b/odoo/templates/odoo-ingress.yaml index 11af126..b9bef49 100644 --- a/odoo/templates/odoo-ingress.yaml +++ b/odoo/templates/odoo-ingress.yaml @@ -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 }} diff --git a/odoo/values.yaml b/odoo/values.yaml index 0a5de1e..5489b3a 100644 --- a/odoo/values.yaml +++ b/odoo/values.yaml @@ -4,7 +4,6 @@ ingress: clusterIssuerRef: letsencrypt-http-prod host: odoo.cloud.local customDomain: - secure: false vshnPostgres: enabled: false secretRef: postgres-creds