Make ingress host configurable
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user