feat(ingress): replace insecure annotation with cluster issuer reference
This commit is contained in:
2 files changed
+2
-3
No files matched your search
@@ -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 }}
|
||||
|
||||
@@ -4,7 +4,6 @@ ingress:
|
||||
clusterIssuerRef: letsencrypt-http-prod
|
||||
host: odoo.cloud.local
|
||||
customDomain:
|
||||
secure: false
|
||||
vshnPostgres:
|
||||
enabled: false
|
||||
secretRef: postgres-creds
|
||||
|
||||
Reference in new issue
Block a user