Deploy Symcrest public website
This commit is contained in:
parent
08e5bee431
commit
6bdb9b0d4a
8 changed files with 247 additions and 0 deletions
21
charts/symcrest-web/templates/httproute.yaml
Normal file
21
charts/symcrest-web/templates/httproute.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: {{ .Values.route.name }}
|
||||
namespace: {{ .Values.namespace }}
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: {{ .Values.route.gatewayName }}
|
||||
namespace: {{ .Values.route.gatewayNamespace }}
|
||||
hostnames:
|
||||
{{- range .Values.route.hostnames }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: {{ .Values.service.name }}
|
||||
port: {{ .Values.service.port }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue