File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,22 +6,17 @@ metadata:
66 namespace : {{ .Release.Namespace }}
77 labels :
88 {{- include "hankers-frontend.labels" . | nindent 4 }}
9+ {{- with .Values.ingress.annotations }}
910 annotations :
10- cert-manager.io/cluster-issuer : letsencrypt-prod
11- {{- with .Values.ingress.annotations }}
1211 {{- toYaml . | nindent 4 }}
13- {{- end }}
12+ {{- end }}
1413spec :
1514 ingressClassName : {{ .Values.ingress.className }}
16- tls :
17- - hosts :
18- - frontend-code.duckdns.org
19- secretName : frontend-tls-cert
2015 rules :
21- - host : frontend-code.duckdns.org
22- http :
16+ {{- range .Values.ingress.hosts }}
17+ - http :
2318 paths :
24- {{- range .Values.ingress.hosts[0]. paths }}
19+ {{- range .paths }}
2520 - path : {{ .path }}
2621 pathType : {{ .pathType }}
2722 backend :
3025 port :
3126 number : {{ $.Values.service.port }}
3227 {{- end }}
28+ {{- end }}
3329{{- end }}
Original file line number Diff line number Diff line change 11replicaCount : 1
22
33image :
4- repository : your-dockerhub-user /frontend
4+ repository : karimzakzouk /frontend
55 pullPolicy : Always
66 tag : " latest"
77
@@ -18,6 +18,7 @@ ingress:
1818 className : nginx
1919 annotations :
2020 nginx.ingress.kubernetes.io/rewrite-target : /$2
21+ nginx.ingress.kubernetes.io/ssl-redirect : " false"
2122 hosts :
2223 - host : " "
2324 paths :
You can’t perform that action at this time.
0 commit comments