apply changes from my own review
This commit is contained in:
parent
6ef56651fe
commit
6de627e44a
4 changed files with 4 additions and 28 deletions
|
|
@ -61,22 +61,4 @@ spec:
|
|||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
{{- range .Values.ingress.extraHosts }}
|
||||
# In the event of "extraHosts", kratos is not proxied. Due the redirects,
|
||||
# and single domain support of kratos/hydra. it is not feasable to support
|
||||
# multiple hostnames. Same is true for the /web/ login frontend
|
||||
- host: {{ .name }}
|
||||
http:
|
||||
paths:
|
||||
- path: {{ default "/" .path }}(.*)
|
||||
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
|
||||
pathType: {{ default "ImplementationSpecific" .pathType }}
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "dashboard.serviceName" $) "servicePort" "dashboard-http" "context" $) | nindent 14 }}
|
||||
- path: {{ default "/" .path }}(api/v1.*)
|
||||
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
|
||||
pathType: {{ default "ImplementationSpecific" .pathType }}
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "backend.serviceName" .) "servicePort" "backend-http" "context" $) | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Reference in a new issue