mirror of
https://github.com/bitnami/charts.git
synced 2026-02-27 15:37:06 +08:00
Synchronize upstreamed folder to 1052ccf66
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: redis
|
||||
version: 8.0.18
|
||||
version: 8.0.19
|
||||
appVersion: 5.0.5
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -68,6 +68,10 @@ spec:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
{{- if (eq .Values.securityContext.runAsUser 0.0) }}
|
||||
useradd redis
|
||||
chown -R redis {{ .Values.master.persistence.path }}
|
||||
{{- end }}
|
||||
if [[ -n $REDIS_PASSWORD_FILE ]]; then
|
||||
password_aux=`cat ${REDIS_PASSWORD_FILE}`
|
||||
export REDIS_PASSWORD=$password_aux
|
||||
|
||||
@@ -76,6 +76,10 @@ spec:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
{{- if (eq .Values.securityContext.runAsUser 0.0) }}
|
||||
useradd redis
|
||||
chown -R redis {{ .Values.slave.persistence.path }}
|
||||
{{- end }}
|
||||
if [[ -n $REDIS_PASSWORD_FILE ]]; then
|
||||
password_aux=`cat ${REDIS_PASSWORD_FILE}`
|
||||
export REDIS_PASSWORD=$password_aux
|
||||
|
||||
Reference in New Issue
Block a user