From c1bbab721ae29610a80b0802541349b0adad199a Mon Sep 17 00:00:00 2001 From: Fabio Date: Wed, 15 Feb 2023 11:42:22 -0300 Subject: [PATCH] Added ingress class parameter --- charts/edemocracia/v0.4.0/templates/ingress.yaml | 1 + charts/edemocracia/v0.4.0/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/edemocracia/v0.4.0/templates/ingress.yaml b/charts/edemocracia/v0.4.0/templates/ingress.yaml index 94b3425..cb8bde6 100755 --- a/charts/edemocracia/v0.4.0/templates/ingress.yaml +++ b/charts/edemocracia/v0.4.0/templates/ingress.yaml @@ -17,6 +17,7 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + ingressClassName: {{ .Values.ingress.className }} tls: - hosts: - "{{ $hostName }}" diff --git a/charts/edemocracia/v0.4.0/values.yaml b/charts/edemocracia/v0.4.0/values.yaml index 8116426..6dac839 100755 --- a/charts/edemocracia/v0.4.0/values.yaml +++ b/charts/edemocracia/v0.4.0/values.yaml @@ -183,6 +183,7 @@ fullnameOverride: "" ingress: enabled: true + className: nginx # extra annotations only annotations: {}