Skip to content

Commit 8489395

Browse files
committed
✨ Allow overriding octane pools update strategy
1 parent e18a623 commit 8489395

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

osu/osu-web/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ 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: 2025.1007.0
18+
version: 2025.1013.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "2025.1007.0"
24+
appVersion: "2025.1013.0"
2525

2626
dependencies:
2727
- name: osu-beatmap-difficulty-lookup-cache

osu/osu-web/templates/octane-pool.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ metadata:
1616
checksum/config: {{ sha256sum (printf "%s-%s-%s" $.Values.config.laravel.oauth.privateKey $.Values.config.laravel.oauth.publicKey (include "osu-web-chart.env-vars" $)) }}
1717
spec:
1818
replicas: {{ default $poolDefaults.replicas $pool.replicas }}
19+
{{- with (default $poolDefaults.strategy $pool.strategy) }}
20+
strategy:
21+
{{- toYaml . | nindent 4 }}
22+
{{- end }}
1923
selector:
2024
matchLabels:
2125
{{- include "osu-web-chart.selectorLabels" (dict "root" $ "options" (dict "component" "octane" "pool" $poolName)) | nindent 6 }}

osu/osu-web/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ config:
6464
enabled: true
6565
# minAvailable: 1
6666
maxUnavailable: 1
67+
# strategy:
68+
# type: RollingUpdate
6769

6870
# any of the above property can be overridden for each pool
6971
pools:

0 commit comments

Comments
 (0)