Skip to content

Commit e00ad5c

Browse files
committed
🎨 Do not include unnecessary env vars
1 parent 7327e11 commit e00ad5c

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎osu/osu-web/Chart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ 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.1003.0
18+
version: 2025.1003.1
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

‎osu/osu-web/templates/_helpers.tpl‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ Create the name of the service account to use
148148
{{ template "osu-web-chart.env-var" (dict "name" "S3_CENTRAL_BUCKET_NAME" "value" .Values.config.storage.s3.central.bucket) }}
149149
{{ template "osu-web-chart.env-var" (dict "name" "S3_CENTRAL_BUCKET_REGION" "value" .Values.config.storage.s3.central.region) }}
150150

151-
{{ template "osu-web-chart.env-var" (dict "name" "S3_BEATMAPS_BUCKET_NAME" "value" .Values.config.storage.s3.beatmaps.bucket) }}
152-
{{ template "osu-web-chart.env-var" (dict "name" "S3_BEATMAPS_BUCKET_REGION" "value" .Values.config.storage.s3.beatmaps.region) }}
153-
154151
{{ template "osu-web-chart.env-var" (dict "name" "QUEUE_DRIVER" "value" .Values.config.laravel.queue.driver) }}
155152
{{ template "osu-web-chart.env-var" (dict "name" "CAMO_KEY" "value" .Values.config.laravel.camo.key) }}
156153
{{ template "osu-web-chart.env-var" (dict "name" "CAMO_PREFIX" "value" .Values.config.laravel.camo.prefix) }}

‎osu/osu-web/templates/secret-shared.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ stringData:
4747
{{- end }}
4848

4949
# osu-server-beatmap-submission
50+
{{- if (index .Values "osu-server-beatmap-submission").enabled }}
5051
BEATMAP_STORAGE_TYPE: {{ (index .Values "osu-server-beatmap-submission").config.storage.driver | quote }}
5152
{{- if eq (index .Values "osu-server-beatmap-submission").config.storage.driver "local" }}
5253
LOCAL_BEATMAP_STORAGE_PATH: {{ "/storage" | quote }}
@@ -58,3 +59,4 @@ stringData:
5859
S3_BEATMAPS_BUCKET_NAME: {{ .Values.config.storage.s3.beatmaps.bucket | quote }}
5960
S3_BEATMAPS_BUCKET_REGION: {{ .Values.config.storage.s3.beatmaps.region | quote }}
6061
{{- end }}
62+
{{- end }}

0 commit comments

Comments
 (0)