diff --git a/k8s/charts/templates/ingress.yaml b/k8s/charts/templates/ingress.yaml index ad6efaa..459eb0e 100644 --- a/k8s/charts/templates/ingress.yaml +++ b/k8s/charts/templates/ingress.yaml @@ -14,6 +14,7 @@ metadata: {{ toYaml .Values.ingress.annotations | indent 4 }} {{- end }} spec: + ingressClassName: {{ default "nginx" .Values.ingress.ingressClassName }} rules: - host: {{ .Values.ingress.host }} http: diff --git a/k8s/charts/values.yaml b/k8s/charts/values.yaml index ebf410a..407f5df 100644 --- a/k8s/charts/values.yaml +++ b/k8s/charts/values.yaml @@ -21,3 +21,6 @@ resources: requests: cpu: 0.3 memory: 512Mi +## to override ingressClassName uncommented this lines (default value "nginx") +#ingress: +# ingressClassName: nginx-internal