Used www hostnames for internal routes
This commit is contained in:
parent
4db5288084
commit
6949d5d5a9
19 changed files with 1644 additions and 9 deletions
24
charts/openproject/templates/httproute.yaml
Normal file
24
charts/openproject/templates/httproute.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: openproject
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: {{ .Values.gateway.name }}
|
||||
namespace: {{ .Values.gateway.namespace }}
|
||||
|
||||
hostnames:
|
||||
{{- range .Values.hostnames }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: {{ .Values.basePath | quote }}
|
||||
|
||||
backendRefs:
|
||||
- name: {{ .Values.service.name }}
|
||||
port: {{ .Values.service.port }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue