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