Skip to content

Commit b7343a6

Browse files
committed
rename values to httpRoute
1 parent 4cf5855 commit b7343a6

File tree

47 files changed

+156
-156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+156
-156
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
{{- if .Values.httproute.enabled -}}
1+
{{- if .Values.httpRoute.enabled -}}
22
{{- $fullName := include "o-neko-catnip.fullname" . -}}
33
apiVersion: gateway.networking.k8s.io/v1
44
kind: HTTPRoute
55
metadata:
66
labels: {{- include "o-neko-catnip.labels" . | nindent 4 }}
77
name: {{ $fullName }}
8-
{{- with .Values.httproute.annotations }}
8+
{{- with .Values.httpRoute.annotations }}
99
annotations:
1010
{{- toYaml . | nindent 4 }}
1111
{{- end }}
1212
spec:
13-
{{- with .Values.httproute.parentRefs }}
13+
{{- with .Values.httpRoute.parentRefs }}
1414
parentRefs:
1515
{{- toYaml . | nindent 4 }}
1616
{{- end }}
17-
{{- range .Values.httproute.hostnames }}
17+
{{- range .Values.httpRoute.hostnames }}
1818
hostnames:
19-
- {{ required "A hostname for the HTTPRoute must be provided in .Values.httproute.hostnames" . | quote }}
19+
- {{ required "A hostname for the HTTPRoute must be provided in .Values.httpRoute.hostnames" . | quote }}
2020
{{- end }}
2121
rules:
2222
- backendRefs:
2323
- name: {{ $fullName }}
2424
port: 8080
2525
matches:
2626
- path:
27-
type: {{ .Values.httproute.pathMatchType | default "PathPrefix" }}
28-
value: {{ .Values.httproute.pathValue | default "/" }}
27+
type: {{ .Values.httpRoute.pathMatchType | default "PathPrefix" }}
28+
value: {{ .Values.httpRoute.pathValue | default "/" }}
2929
{{- end }}

charts/o-neko-catnip/values.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,25 +119,25 @@ ingress:
119119
defaultBackend:
120120
enabled: false
121121

122-
httproute:
123-
## @param httproute.enabled Whether to create an HTTPRoute resource (Gateway API)
122+
httpRoute:
123+
## @param httpRoute.enabled Whether to create an HTTPRoute resource (Gateway API)
124124
enabled: false
125-
## @param httproute.parentRefs References to the Gateway resources that the HTTPRoute should attach to
125+
## @param httpRoute.parentRefs References to the Gateway resources that the HTTPRoute should attach to
126126
## e.g.
127127
## parentRefs:
128128
## - name: my-gateway
129129
## namespace: gateway-namespace
130130
parentRefs: []
131-
## @param httproute.hostnames Array with hostnames used for the HTTPRoute
131+
## @param httpRoute.hostnames Array with hostnames used for the HTTPRoute
132132
## e.g.
133133
## hostnames:
134134
## - "catnip.oneko.com"
135135
hostnames: []
136-
## @param httproute.pathMatchType Path match type for the HTTPRoute (PathPrefix, Exact, or RegularExpression)
136+
## @param httpRoute.pathMatchType Path match type for the HTTPRoute (PathPrefix, Exact, or RegularExpression)
137137
pathMatchType: PathPrefix
138-
## @param httproute.pathValue Path value for the HTTPRoute
138+
## @param httpRoute.pathValue Path value for the HTTPRoute
139139
pathValue: /
140-
## @param httproute.annotations annotations for the HTTPRoute
140+
## @param httpRoute.annotations annotations for the HTTPRoute
141141
annotations: {}
142142

143143
## @section Metrics and Alerting
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
{{- if .Values.httproute.enabled -}}
1+
{{- if .Values.httpRoute.enabled -}}
22
{{- $fullName := include "o-neko.fullname" . -}}
33
apiVersion: gateway.networking.k8s.io/v1
44
kind: HTTPRoute
55
metadata:
66
labels: {{- include "o-neko.labels" . | nindent 4 }}
77
name: {{ $fullName }}
8-
{{- with .Values.httproute.annotations }}
8+
{{- with .Values.httpRoute.annotations }}
99
annotations:
1010
{{- toYaml . | nindent 4 }}
1111
{{- end }}
1212
spec:
13-
{{- with .Values.httproute.parentRefs }}
13+
{{- with .Values.httpRoute.parentRefs }}
1414
parentRefs:
1515
{{- toYaml . | nindent 4 }}
1616
{{- end }}
17-
{{- range .Values.httproute.hostnames }}
17+
{{- range .Values.httpRoute.hostnames }}
1818
hostnames:
19-
- {{ required "A hostname for the HTTPRoute must be provided in .Values.httproute.hostnames" . | quote }}
19+
- {{ required "A hostname for the HTTPRoute must be provided in .Values.httpRoute.hostnames" . | quote }}
2020
{{- end }}
2121
rules:
2222
- backendRefs:
2323
- name: {{ $fullName }}
2424
port: 8080
2525
matches:
2626
- path:
27-
type: {{ .Values.httproute.pathMatchType | default "PathPrefix" }}
28-
value: {{ .Values.httproute.pathValue | default "/" }}
27+
type: {{ .Values.httpRoute.pathMatchType | default "PathPrefix" }}
28+
value: {{ .Values.httpRoute.pathValue | default "/" }}
2929
{{- end }}

charts/o-neko/values.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,25 +148,25 @@ ingress:
148148
## @param ingress.annotations annotations for the ingress
149149
annotations: {}
150150

151-
httproute:
152-
## @param httproute.enabled Whether to create an HTTPRoute resource (Gateway API)
151+
httpRoute:
152+
## @param httpRoute.enabled Whether to create an HTTPRoute resource (Gateway API)
153153
enabled: false
154-
## @param httproute.parentRefs References to the Gateway resources that the HTTPRoute should attach to
154+
## @param httpRoute.parentRefs References to the Gateway resources that the HTTPRoute should attach to
155155
## e.g.
156156
## parentRefs:
157157
## - name: my-gateway
158158
## namespace: gateway-namespace
159159
parentRefs: []
160-
## @param httproute.hostnames Array with hostnames used for the HTTPRoute
160+
## @param httpRoute.hostnames Array with hostnames used for the HTTPRoute
161161
## e.g.
162162
## hostnames:
163163
## - "oneko.my-company.com"
164164
hostnames: []
165-
## @param httproute.pathMatchType Path match type for the HTTPRoute (PathPrefix, Exact, or RegularExpression)
165+
## @param httpRoute.pathMatchType Path match type for the HTTPRoute (PathPrefix, Exact, or RegularExpression)
166166
pathMatchType: PathPrefix
167-
## @param httproute.pathValue Path value for the HTTPRoute
167+
## @param httpRoute.pathValue Path value for the HTTPRoute
168168
pathValue: /
169-
## @param httproute.annotations annotations for the HTTPRoute
169+
## @param httpRoute.annotations annotations for the HTTPRoute
170170
annotations: {}
171171

172172
## @section Metrics
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.httproute.enabled -}}
1+
{{- if .Values.httpRoute.enabled -}}
22
{{- $fullName := include "sophora-admin-dashboard.fullname" . -}}
33
{{- $svcPort := .Values.service.port -}}
44
apiVersion: gateway.networking.k8s.io/v1
@@ -7,18 +7,18 @@ metadata:
77
name: {{ $fullName }}
88
labels:
99
{{- include "sophora-admin-dashboard.labels" . | nindent 4 }}
10-
{{- with .Values.httproute.annotations }}
10+
{{- with .Values.httpRoute.annotations }}
1111
annotations:
1212
{{- toYaml . | nindent 4 }}
1313
{{- end }}
1414
spec:
15-
{{- with .Values.httproute.parentRefs }}
15+
{{- with .Values.httpRoute.parentRefs }}
1616
parentRefs:
1717
{{- toYaml . | nindent 4 }}
1818
{{- end }}
19-
{{- if .Values.httproute.hostnames }}
19+
{{- if .Values.httpRoute.hostnames }}
2020
hostnames:
21-
{{- range .Values.httproute.hostnames }}
21+
{{- range .Values.httpRoute.hostnames }}
2222
- {{ . | quote }}
2323
{{- end }}
2424
{{- end }}
@@ -28,6 +28,6 @@ spec:
2828
port: {{ $svcPort }}
2929
matches:
3030
- path:
31-
type: {{ .Values.httproute.pathMatchType | default "PathPrefix" }}
32-
value: {{ .Values.httproute.pathValue | default "/" }}
31+
type: {{ .Values.httpRoute.pathMatchType | default "PathPrefix" }}
32+
value: {{ .Values.httpRoute.pathValue | default "/" }}
3333
{{- end }}

charts/sophora-admin-dashboard/test-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ingress:
1313
enabled: true
1414
ingressClassName: nginx
1515

16-
httproute:
16+
httpRoute:
1717
enabled: true
1818
parentRefs:
1919
- name: test-gateway

charts/sophora-admin-dashboard/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ ingress:
208208
# hosts:
209209
# - chart-example.local
210210

211-
httproute:
211+
httpRoute:
212212
enabled: false
213213
# parentRefs:
214214
# - name: my-gateway
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.httproute.enabled -}}
1+
{{- if .Values.httpRoute.enabled -}}
22
{{- $fullName := include "sophora-ai.fullname" . -}}
33
{{- $svcPort := .Values.service.port -}}
44
apiVersion: gateway.networking.k8s.io/v1
@@ -7,18 +7,18 @@ metadata:
77
name: {{ $fullName }}
88
labels:
99
{{- include "sophora-ai.labels" . | nindent 4 }}
10-
{{- with .Values.httproute.annotations }}
10+
{{- with .Values.httpRoute.annotations }}
1111
annotations:
1212
{{- toYaml . | nindent 4 }}
1313
{{- end }}
1414
spec:
15-
{{- with .Values.httproute.parentRefs }}
15+
{{- with .Values.httpRoute.parentRefs }}
1616
parentRefs:
1717
{{- toYaml . | nindent 4 }}
1818
{{- end }}
19-
{{- if .Values.httproute.hostnames }}
19+
{{- if .Values.httpRoute.hostnames }}
2020
hostnames:
21-
{{- range .Values.httproute.hostnames }}
21+
{{- range .Values.httpRoute.hostnames }}
2222
- {{ . | quote }}
2323
{{- end }}
2424
{{- end }}
@@ -28,6 +28,6 @@ spec:
2828
port: {{ $svcPort }}
2929
matches:
3030
- path:
31-
type: {{ .Values.httproute.pathMatchType | default "PathPrefix" }}
32-
value: {{ .Values.httproute.pathValue | default "/" }}
31+
type: {{ .Values.httpRoute.pathMatchType | default "PathPrefix" }}
32+
value: {{ .Values.httpRoute.pathValue | default "/" }}
3333
{{- end }}

charts/sophora-ai/test-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ ingress:
141141
hosts:
142142
tls: []
143143

144-
httproute:
144+
httpRoute:
145145
enabled: true
146146
parentRefs:
147147
- name: test-gateway

charts/sophora-ai/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ ingress:
216216
hosts:
217217
tls: []
218218

219-
httproute:
219+
httpRoute:
220220
enabled: false
221221
parentRefs: []
222222
hostnames: []

0 commit comments

Comments
 (0)