diff --git a/Chart.yaml b/Chart.yaml index b9bbd5d..e115fe0 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: servicetpl description: A Helm chart for services running on Kubernetes -version: 0.15.1 +version: 0.16.0 diff --git a/templates/ingress.yaml b/templates/ingress.yaml index 89cef12..22e4c3a 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -12,6 +12,10 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + {{- if .Values.ingress.ingressClassName -}} + ingressClassName: {{ .Values.ingress.ingressClassName }} + {{- end }} + {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} diff --git a/templates/ingress_private.yaml b/templates/ingress_private.yaml index ff3fed5..1c82d8b 100644 --- a/templates/ingress_private.yaml +++ b/templates/ingress_private.yaml @@ -12,6 +12,10 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + {{- if .Values.ingress_private.ingressClassName -}} + ingressClassName: {{ .Values.ingress_private.ingressClassName }} + {{- end }} + {{- if .Values.ingress_private.tls }} tls: {{- range .Values.ingress_private.tls }}