Make ingress host configurable

This commit is contained in:
Olu Shiyanbade
2022-08-24 12:08:28 +01:00
parent 9e7106f9d1
commit 3ddd0ba925
2 changed files with 12 additions and 0 deletions

View File

@@ -9,7 +9,12 @@ metadata:
{{- end }}
spec:
rules:
{{- if .Values.ingress.host }}
- host: {{ .Values.ingress.host }}
http:
{{- else }}
- http:
{{- end }}
paths:
- path: /
pathType: Prefix
@@ -30,7 +35,12 @@ metadata:
{{- end }}
spec:
rules:
{{- if .Values.ingress.dockerIngress.host }}
- host: {{ .Values.ingress.dockerIngress.host }}
http:
{{- else}}
- http:
{{- end }}
paths:
- path: /
pathType: Prefix