diff --git a/charts/orb/templates/ingress.yaml b/charts/orb/templates/ingress.yaml index 4c2d72f..0b4db85 100644 --- a/charts/orb/templates/ingress.yaml +++ b/charts/orb/templates/ingress.yaml @@ -4,9 +4,9 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: -{{- if .Values.ingress.annotations }} +{{- if .Values.ingress.annotations-nginx }} annotations: -{{ toYaml .Values.ingress.annotations | indent 4 }} +{{ toYaml .Values.ingress.annotations-nginx | indent 4 }} {{- end }} name: {{ .Release.Name }}-nginx-ingress spec: @@ -37,9 +37,9 @@ spec: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: -{{- if .Values.ingress.annotations }} +{{- if .Values.ingress.annotations-nginx-rewrite }} annotations: -{{ toYaml .Values.ingress.annotations | indent 4 }} +{{ toYaml .Values.ingress.annotations-nginx-rewrite | indent 4 }} {{- end }} name: {{ .Release.Name }}-nginx-rewrite-ingress spec: diff --git a/charts/orb/values.yaml b/charts/orb/values.yaml index ffc5b4f..e65cd50 100644 --- a/charts/orb/values.yaml +++ b/charts/orb/values.yaml @@ -26,7 +26,9 @@ smtp: ingress: ingressClassName: "nginx" - annotations: + annotations-nginx: + cert-manager.io/issuer: "letsencrypt-prod" + annotations-nginx-rewrite: cert-manager.io/issuer: "letsencrypt-prod" nginx.ingress.kubernetes.io/rewrite-target: /$1 hostname: ""