Centralize Envoy Gateway routing
This commit is contained in:
parent
9acfeb7d48
commit
ba0a88b708
20 changed files with 184 additions and 318 deletions
|
|
@ -1,24 +0,0 @@
|
|||
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