Fix ing, deployment
This commit is contained in:
@@ -9,7 +9,7 @@ metadata:
|
||||
{{- include "..labels" . | nindent 4 }}
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
{{- if and .Values.site.certificate.certManager .Values.site.certificate.importCert }}
|
||||
{{- if or .Values.site.certificate.certManager .Values.site.certificate.importCert }}
|
||||
tls:
|
||||
- secretName: {{ include "..fullname" . }}-cert-secret
|
||||
hosts: {{ include "..domains" . | nindent 6 }}
|
||||
@@ -20,6 +20,7 @@ spec:
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- range include "..domains" . | split "\n" }}
|
||||
{{- if ne . "" }}
|
||||
- host: {{ . | replace "- " ""}}
|
||||
http:
|
||||
paths:
|
||||
@@ -30,4 +31,5 @@ spec:
|
||||
name: {{ include "..fullname" $ }}
|
||||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user