File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {{ if .Values "httpRoute" "enabled" }}
1+ {{ if (index .Values "httpRoute" "enabled") }}
22apiVersion : gateway.networking.k8s.io/v1
33kind : Gateway
44metadata :
Original file line number Diff line number Diff line change 1+ {{- if (index .Values "httpRoute" "enabled") }}
2+ {{- $fullName := include "dns-proxy.fullname" . -}}
3+ {{- $svcPort := .Values.service.port -}}
4+
5+ apiVersion : gateway.networking.k8s.io/v1
6+ kind : HTTPRoute
7+ metadata :
8+ name : {{ $fullName }}
9+ namespace : {{ .Release.Namespace }}
10+ labels :
11+ {{- include "dns-proxy.labels" . | nindent 4 }}
12+ {{- with .Values.httpRoute.annotations }}
13+ annotations :
14+ {{- toYaml . | nindent 4 }}
15+ {{- end }}
16+
17+ spec :
18+ parentRefs :
19+ - group : gateway.networking.k8s.io
20+ kind : Gateway
21+ name : ace
22+ namespace : ace
23+ sectionName : https
24+
25+ hostnames :
26+ {{- range .Values.httpRoute.hosts }}
27+ - {{ .host | quote }}
28+ {{- end }}
29+
30+ rules :
31+ {{- range .Values.httpRoute.hosts }}
32+ {{- range .paths }}
33+ - matches :
34+ - path :
35+ type : PathPrefix
36+ value : {{ .path }}
37+ backendRefs :
38+ - group : " "
39+ kind : Service
40+ name : {{ $fullName }}
41+ namespace : {{ $.Release.Namespace }}
42+ port : {{ $svcPort }}
43+ weight : 1
44+ {{- end }}
45+ {{- end }}
46+
47+ {{- end }}
Original file line number Diff line number Diff line change @@ -64,6 +64,20 @@ ingress:
6464 # hosts:
6565 # - chart-example.local
6666
67+ httpRoute :
68+ annotations : {}
69+ enabled : false
70+ gatewayClassName : ace
71+ tls :
72+ enable : true
73+ secret :
74+ name : " ace-cert"
75+ hosts : []
76+ # - host: chart-example.local
77+ # paths:
78+ # - path: /
79+ # pathType: ImplementationSpecific
80+
6781resources : {}
6882 # We usually recommend not to specify default resources and to leave this as a conscious
6983 # choice for the user. This also increases chances charts run on environments with little
Original file line number Diff line number Diff line change 1+ {{- if (index .Values "httpRoute" "enabled") }}
2+
3+ apiVersion : gateway.networking.k8s.io/v1
4+ kind : HTTPRoute
5+ metadata :
6+ name : {{ include "gh-ci-webhook.fullname" . }}
7+ namespace : {{ .Release.Namespace }}
8+ labels :
9+ {{- include "gh-ci-webhook.labels" . | nindent 4 }}
10+ {{- with .Values.httpRoute.annotations }}
11+ annotations :
12+ {{- toYaml . | nindent 4 }}
13+ {{- end }}
14+
15+ spec :
16+ parentRefs :
17+ - group : gateway.networking.k8s.io
18+ kind : Gateway
19+ name : ace
20+ namespace : ace
21+ sectionName : https
22+
23+ hostnames :
24+ {{- range .Values.httpRoute.hosts }}
25+ - {{ .host | quote }}
26+ {{- end }}
27+
28+ rules :
29+ {{- range .Values.httpRoute.hosts }}
30+ {{- range .paths }}
31+ - matches :
32+ - path :
33+ type : PathPrefix
34+ value : {{ .path }}
35+ backendRefs :
36+ - group : " "
37+ kind : Service
38+ name : {{ include "gh-ci-webhook.fullname" $ }}
39+ namespace : {{ $.Release.Namespace }}
40+ port : {{ $.Values.service.port }}
41+ weight : 1
42+ {{- end }}
43+ {{- end }}
44+
45+ {{- end }}
Original file line number Diff line number Diff line change @@ -73,6 +73,20 @@ ingress:
7373 # hosts:
7474 # - chart-example.local
7575
76+ httpRoute :
77+ annotations : {}
78+ enabled : false
79+ gatewayClassName : ace
80+ tls :
81+ enable : true
82+ secret :
83+ name : " ace-cert"
84+ hosts : []
85+ # - host: chart-example.local
86+ # paths:
87+ # - path: /
88+ # pathType: ImplementationSpecific
89+
7690resources : {}
7791 # We usually recommend not to specify default resources and to leave this as a conscious
7892 # choice for the user. This also increases chances charts run on environments with little
Original file line number Diff line number Diff line change 1+ {{- if (index .Values "httpRoute" "enabled") }}
2+ {{- $fullName := include "inbox-ui.fullname" . -}}
3+ {{- $svcPort := .Values.service.port -}}
4+
5+ apiVersion : gateway.networking.k8s.io/v1
6+ kind : HTTPRoute
7+ metadata :
8+ name : {{ $fullName }}
9+ namespace : {{ .Release.Namespace }}
10+ labels :
11+ {{- include "inbox-ui.labels" . | nindent 4 }}
12+ {{- with .Values.httpRoute.annotations }}
13+ annotations :
14+ {{- toYaml . | nindent 4 }}
15+ {{- end }}
16+
17+ spec :
18+ parentRefs :
19+ - group : gateway.networking.k8s.io
20+ kind : Gateway
21+ name : ace
22+ namespace : ace
23+ sectionName : https
24+
25+ hostnames :
26+ {{- range .Values.httpRoute.hosts }}
27+ - {{ .host | quote }}
28+ {{- end }}
29+
30+ rules :
31+ {{- range .Values.httpRoute.hosts }}
32+ {{- range .paths }}
33+ - matches :
34+ - path :
35+ type : PathPrefix
36+ value : {{ .path }}
37+ backendRefs :
38+ - group : " "
39+ kind : Service
40+ name : {{ $fullName }}
41+ namespace : {{ $.Release.Namespace }}
42+ port : {{ $svcPort }}
43+ weight : 1
44+ {{- end }}
45+ {{- end }}
46+
47+ {{- end }}
Original file line number Diff line number Diff line change @@ -63,6 +63,20 @@ ingress:
6363 dns :
6464 targetIPs : []
6565
66+ httpRoute :
67+ annotations : {}
68+ enabled : false
69+ gatewayClassName : ace
70+ tls :
71+ enable : true
72+ secret :
73+ name : " ace-cert"
74+ hosts : []
75+ # - host: chart-example.local
76+ # paths:
77+ # - path: /
78+ # pathType: ImplementationSpecific
79+
6680resources : {}
6781 # We usually recommend not to specify default resources and to leave this as a conscious
6882 # choice for the user. This also increases chances charts run on environments with little
Original file line number Diff line number Diff line change 1+ {{- if (index .Values "httpRoute" "enabled") }}
2+ {{- $fullName := include "service-backend.fullname" . -}}
3+ {{- $svcPort := .Values.service.port -}}
4+
5+ apiVersion : gateway.networking.k8s.io/v1
6+ kind : HTTPRoute
7+ metadata :
8+ name : {{ include "minio.fullname" . }}
9+ namespace : {{ .Release.Namespace }}
10+ labels :
11+ {{- include "service-backend.labels" . | nindent 4 }}
12+ {{- with .Values.httpRoute.annotations }}
13+ annotations :
14+ {{- toYaml . | nindent 4 }}
15+ {{- end }}
16+
17+ spec :
18+ parentRefs :
19+ - group : gateway.networking.k8s.io
20+ kind : Gateway
21+ name : ace
22+ namespace : ace
23+ sectionName : https
24+
25+ hostnames :
26+ {{- range .Values.httpRoute.hosts }}
27+ - {{ .host | quote }}
28+ {{- end }}
29+
30+ rules :
31+ {{- range .Values.httpRoute.hosts }}
32+ {{- range .paths }}
33+ - matches :
34+ - path :
35+ type : PathPrefix
36+ value : {{ .path }}
37+ backendRefs :
38+ - group : " "
39+ kind : Service
40+ name : {{ include "minio.fullname" . }}
41+ namespace : {{ $.Release.Namespace }}
42+ port : {{ $svcPort }}
43+ weight : 1
44+ {{- end }}
45+ {{- end }}
46+
47+ {{- end }}
Original file line number Diff line number Diff line change @@ -46,6 +46,20 @@ ingress:
4646 # kubernetes.io/tls-acme: "true"
4747 domain : " "
4848
49+ httpRoute :
50+ annotations : {}
51+ enabled : false
52+ gatewayClassName : ace
53+ tls :
54+ enable : true
55+ secret :
56+ name : " ace-cert"
57+ hosts : []
58+ # - host: chart-example.local
59+ # paths:
60+ # - path: /
61+ # pathType: ImplementationSpecific
62+
4963resources : {}
5064 # We usually recommend not to specify default resources and to leave this as a conscious
5165 # choice for the user. This also increases chances charts run on environments with little
Original file line number Diff line number Diff line change 1+ {{- if (index .Values "httpRoute" "enabled") }}
2+
3+ apiVersion : gateway.networking.k8s.io/v1
4+ kind : HTTPRoute
5+ metadata :
6+ name : {{ include "offline-license-server.fullname" . }}
7+ namespace : {{ .Release.Namespace }}
8+ labels :
9+ {{- include "offline-license-server.labels" . | nindent 4 }}
10+ {{- with .Values.httpRoute.annotations }}
11+ annotations :
12+ {{- toYaml . | nindent 4 }}
13+ {{- end }}
14+
15+ spec :
16+ parentRefs :
17+ - group : gateway.networking.k8s.io
18+ kind : Gateway
19+ name : ace
20+ namespace : ace
21+ sectionName : https
22+
23+ hostnames :
24+ {{- range .Values.httpRoute.hosts }}
25+ - {{ .host | quote }}
26+ {{- end }}
27+
28+ rules :
29+ {{- range .Values.httpRoute.hosts }}
30+ {{- range .paths }}
31+ - matches :
32+ - path :
33+ type : PathPrefix
34+ value : {{ .path }}
35+ backendRefs :
36+ - group : " "
37+ kind : Service
38+ name : {{ include "offline-license-server.fullname" $ }}
39+ namespace : {{ $.Release.Namespace }}
40+ port : {{ $.Values.service.port }}
41+ weight : 1
42+ {{- end }}
43+ {{- end }}
44+
45+ {{- end }}
You can’t perform that action at this time.
0 commit comments