File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.1025 .0
18+ version : 2025.1117 .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.1025.0 "
24+ appVersion : " 2025.1112.1 "
2525
2626dependencies :
2727 - name : osu-beatmap-difficulty-lookup-cache
Original file line number Diff line number Diff line change 55{{- $suffix := hasKey $pool "suffix" | ternary $pool.suffix (printf "-%s" $poolName) -}}
66{{- $resourceName := printf "%s-octane%s" (include "osu-web-chart.fullname" $) $suffix }}
77
8+ # Add secret if $pool.extraEnv is defined and has at least one key
9+ {{- if and $pool.extraEnv (gt (len $pool.extraEnv) 0) }}
10+ ---
11+ apiVersion : v1
12+ kind : Secret
13+ metadata :
14+ name : {{ include "osu-web-chart.fullname" $ }}-pool-{{ $poolName }}-env
15+ labels :
16+ {{- include "osu-web-chart.labels" (dict "root" $ "options" (dict)) | nindent 4 }}
17+ type : Opaque
18+ stringData :
19+ {{- range $key, $value := $pool.extraEnv }}
20+ {{ $key }}: {{ $value | quote }}
21+ {{- end }}
22+ {{- end }}
823---
924apiVersion : apps/v1
1025kind : Deployment
@@ -103,6 +118,10 @@ spec:
103118 envFrom :
104119 - secretRef :
105120 name : {{ include "osu-web-chart.fullname" $ }}-env
121+ {{- if and $pool.extraEnv (gt (len $pool.extraEnv) 0) }}
122+ - secretRef :
123+ name : {{ include "osu-web-chart.fullname" $ }}-pool-{{ $poolName }}-env
124+ {{- end }}
106125 {{- with (default $poolDefaults.extraContainers $pool.extraContainers) }}
107126 {{- toYaml . | nindent 8 }}
108127 {{- end }}
You can’t perform that action at this time.
0 commit comments