Skip to content

Commit b0bc2b0

Browse files
committed
platform-api: redis version parametrization
1 parent 028959e commit b0bc2b0

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

charts/platform-api/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: ushahidi-platform-api
3-
version: 0.0.1-alpha.32
3+
version: 0.0.1-alpha.33
44
icon: https://github.ushahidi.org/helm-charts/icon.png

charts/platform-api/templates/redis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ spec:
2929
spec:
3030
containers:
3131
- env: []
32-
image: redis:4-alpine
32+
{{- with .Values.redis.image }}
33+
image: {{ empty .repository | ternary "" (print .repository "/") }}{{ .name }}:{{ .tag }}
34+
{{- end }}
3335
imagePullPolicy: Always
3436
name: redis
3537
ports:

charts/platform-api/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ mysql:
206206
redis:
207207
## Set to false to disable
208208
enabled: true
209+
image:
210+
repository: ""
211+
name: redis
212+
tag: 4-alpine
209213
limits:
210214
cpu: "1"
211215
memory: "1Gi"

0 commit comments

Comments
 (0)