Skip to content
Snippets Groups Projects
Commit 42036adcd0a7 authored by Xavier Garnier's avatar Xavier Garnier :bicyclist:
Browse files

feat(ingress): move deprecated ingress.class annotation to ingressClassName

parent fbcef7dd8ac5
No related branches found
No related tags found
1 merge request!9Topic/default/improvments
Pipeline #231953 passed
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
app.kubernetes.io/name: {{ .Values.appName }} app.kubernetes.io/name: {{ .Values.appName }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
annotations: annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
{{- with .Values.ingress.clusterIssuer }} {{- with .Values.ingress.clusterIssuer }}
cert-manager.io/cluster-issuer: {{ . }} cert-manager.io/cluster-issuer: {{ . }}
...@@ -25,6 +24,7 @@ ...@@ -25,6 +24,7 @@
add_header X-Robots-Tag "noindex, nofollow"; add_header X-Robots-Tag "noindex, nofollow";
{{- end}} {{- end}}
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- {{ .Values.host }} - {{ .Values.host }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment