diff --git a/helm/templates/ingress.yaml b/helm/templates/ingress.yaml index 1fa7a6e..d137eb7 100644 --- a/helm/templates/ingress.yaml +++ b/helm/templates/ingress.yaml @@ -6,8 +6,9 @@ metadata: annotations: {{- toYaml .Values.ingress.annotations | nindent 4 }} spec: + ingressClassName: nginx-example rules: - {{- range .Values.ingress.hosts }} + {{ .Values.ingress.class }} - host: {{ .host }} http: paths: diff --git a/helm/values.yaml b/helm/values.yaml index dd734bd..95f1c58 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -104,6 +104,7 @@ configMap: ingress: enabled: false + class: "" annotations: {} hosts: - host: slides.example.com