Skip to content

Commit d6d1049

Browse files
Merge branch 'main' into gateway_tests
2 parents f73cc0e + cd0d4fd commit d6d1049

File tree

8 files changed

+88
-12
lines changed

8 files changed

+88
-12
lines changed

charts/o-neko/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ apiVersion: v2
22
name: o-neko
33
description: A Helm chart for O-Neko
44
type: application
5-
version: 2.0.0
5+
version: 2.0.1
66
annotations:
77
artifacthub.io/changes: |
8-
- kind: removed
9-
description: "Removed mongodb Bitnami helm chart dependency. You need to provide MongoDB yourself. Consider using the Helm chart mongodb by groundhog2k. All values `mongodb.*` are obsolete now."
8+
- kind: changed
9+
description: "Updated O-Neko to 1.8.2"
1010
11-
appVersion: "1.8.0"
11+
appVersion: "1.8.2"
1212
sources:
1313
- https://github.com/subshell/o-neko/
1414
- https://github.com/subshell/helm-charts/tree/main/charts/o-neko

charts/o-neko/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ oneko:
3333
## @param oneko.image.imagePullPolicy Image Pull Policy
3434
image:
3535
name: subshellgmbh/o-neko
36-
tag: 1.8.0
36+
tag: 1.8.2
3737
imagePullPolicy: IfNotPresent
3838

3939
## @extra oneko.env array of environment variables passed to the container

charts/sophora-importer/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 2.3.0
18+
version: 2.4.1
1919
annotations:
2020
artifacthub.io/changes: |
21-
- kind: added
22-
description: "enable custom pod labels"
21+
- kind: fixed
22+
description: "fix service Port of httproute"
2323
2424
# This is the version number of the application being deployed. This version number should be
2525
# incremented each time you make changes to the application. Versions are not expected to
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{{- if .Values.httpRoute.enabled -}}
2+
{{- $fullName := include "sophora-importer.fullname" . -}}
3+
{{- $svcPort := .Values.service.httpPort -}}
4+
apiVersion: gateway.networking.k8s.io/v1
5+
kind: HTTPRoute
6+
metadata:
7+
name: {{ $fullName }}
8+
labels:
9+
{{- include "sophora-importer.labels" . | nindent 4 }}
10+
{{- with .Values.httpRoute.annotations }}
11+
annotations:
12+
{{- toYaml . | nindent 4 }}
13+
{{- end }}
14+
spec:
15+
parentRefs:
16+
{{- with .Values.httpRoute.parentRefs }}
17+
{{- toYaml . | nindent 4 }}
18+
{{- end }}
19+
{{- with .Values.httpRoute.hostnames }}
20+
hostnames:
21+
{{- toYaml . | nindent 4 }}
22+
{{- end }}
23+
rules:
24+
{{- range .Values.httpRoute.rules }}
25+
- matches:
26+
{{- toYaml .matches | nindent 8 }}
27+
{{- with .filters }}
28+
filters:
29+
{{- toYaml . | nindent 8 }}
30+
{{- end }}
31+
backendRefs:
32+
- name: {{ $fullName }}
33+
port: {{ $svcPort }}
34+
weight: 1
35+
{{- end }}
36+
{{- end }}

charts/sophora-importer/test-values.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,23 @@ extraIngress:
126126
foo: baz
127127
hosts:
128128
tls: []
129+
130+
httpRoute:
131+
# HTTPRoute enabled.
132+
enabled: true
133+
# HTTPRoute annotations.
134+
annotations: {}
135+
# Which Gateways this Route is attached to.
136+
parentRefs:
137+
- name: gateway
138+
sectionName: http
139+
# namespace: default
140+
# Hostnames matching HTTP header.
141+
hostnames:
142+
- chart-example.local
143+
# List of rules and filters applied.
144+
rules:
145+
- matches:
146+
- path:
147+
type: PathPrefix
148+
value: /headers

charts/sophora-importer/values.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,23 @@ additionalVolumeMounts:
133133

134134
# This option can be used to create a pvc for the local import folders
135135
importPvcSpec:
136+
137+
httpRoute:
138+
# HTTPRoute enabled.
139+
enabled: false
140+
# HTTPRoute annotations.
141+
annotations: {}
142+
# Which Gateways this Route is attached to.
143+
parentRefs: []
144+
#- name: gateway
145+
#sectionName: http
146+
# namespace: default
147+
# Hostnames matching HTTP header.
148+
hostnames: []
149+
#- chart-example.local
150+
# List of rules and filters applied.
151+
rules: []
152+
#- matches:
153+
#- path:
154+
#type: PathPrefix
155+
#value: /headers

charts/sophora-server/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 3.1.0
18+
version: 3.1.1
1919
annotations:
2020
artifacthub.io/changes: |
21-
- kind: "added"
22-
description: "Add additional service selector label config"
21+
- kind: "changed"
22+
description: "The Sophora server uses -XX:+CrashOnOutOfMemoryError instead of -XX:+ExitOnOutOfMemoryError"
2323
2424
# This is the version number of the application being deployed. This version number should be
2525
# incremented each time you make changes to the application. Versions are not expected to

charts/sophora-server/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ configGenerator:
3737
pullPolicy: IfNotPresent
3838

3939
# Default Java options. Additional Java options (like -XX:+UseLargePages) should be added via `extraJavaOptions`.
40-
javaOptions: "-XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=80.0 -XX:+UseG1GC -XX:+ExitOnOutOfMemoryError -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=8m -XX:MaxGCPauseMillis=250 -XX:InitiatingHeapOccupancyPercent=75"
40+
javaOptions: "-XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=80.0 -XX:+UseG1GC -XX:+CrashOnOutOfMemoryError -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=8m -XX:MaxGCPauseMillis=250 -XX:InitiatingHeapOccupancyPercent=75"
4141
# Extra Java options in addition to `javaOptions`. Use this if you don't want to override `javaOptions`.
4242
extraJavaOptions:
4343

0 commit comments

Comments
 (0)