mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/valkey-cluster] only use password files if auth is enabled (#33239)
* [bitnami/valkey-cluster] only use password files if auth is enabled Signed-off-by: Michael Kriese <michael.kriese@visualon.de> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: Michael Kriese <michael.kriese@visualon.de> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
co-authored by
Bitnami Bot
parent
848d1fd7d3
commit
ce60ab65a8
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 3.0.3 (2025-04-23)
|
||||
## 3.0.4 (2025-04-29)
|
||||
|
||||
* [bitnami/valkey-cluster] Release 3.0.3 ([#33149](https://github.com/bitnami/charts/pull/33149))
|
||||
* [bitnami/valkey-cluster] only use password files if auth is enabled ([#33239](https://github.com/bitnami/charts/pull/33239))
|
||||
|
||||
## <small>3.0.3 (2025-04-23)</small>
|
||||
|
||||
* [bitnami/valkey-cluster] Release 3.0.3 (#33149) ([20426a5](https://github.com/bitnami/charts/commit/20426a51276475f4e7c6844ccb86044e35cbcf61)), closes [#33149](https://github.com/bitnami/charts/issues/33149)
|
||||
|
||||
## <small>3.0.2 (2025-04-09)</small>
|
||||
|
||||
|
||||
@@ -34,4 +34,4 @@ name: valkey-cluster
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/valkey-cluster
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/vakey-cluster
|
||||
version: 3.0.3
|
||||
version: 3.0.4
|
||||
|
||||
@@ -19,7 +19,7 @@ data:
|
||||
|
||||
VALKEY_STATUS_FILE=/tmp/.valkey_cluster_check
|
||||
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
{{- if and .Values.usePassword .Values.usePasswordFiles }}
|
||||
password_aux=`cat ${VALKEY_PASSWORD_FILE}`
|
||||
export REDISCLI_AUTH=$password_aux
|
||||
{{- else }}
|
||||
@@ -81,7 +81,7 @@ data:
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
{{- if and .Values.usePassword .Values.usePasswordFiles }}
|
||||
password_aux=`cat ${VALKEY_PASSWORD_FILE}`
|
||||
export REDISCLI_AUTH=$password_aux
|
||||
{{- else }}
|
||||
|
||||
@@ -274,7 +274,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: scripts
|
||||
mountPath: /scripts
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
{{- if and .Values.usePassword .Values.usePasswordFiles }}
|
||||
- name: valkey-password
|
||||
mountPath: /opt/bitnami/valkey/secrets/
|
||||
{{- end }}
|
||||
@@ -319,7 +319,7 @@ spec:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
{{- if and .Values.usePassword .Values.usePasswordFiles }}
|
||||
export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")"
|
||||
{{- end }}
|
||||
redis_exporter{{- range $key, $value := .Values.metrics.extraArgs }} --{{ $key }}={{ $value }}{{- end }}
|
||||
@@ -356,12 +356,12 @@ spec:
|
||||
{{- if .Values.metrics.extraEnvVars }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.extraEnvVars "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.usePasswordFiles .Values.tls.enabled }}
|
||||
{{- if or (and .Values.usePassword .Values.usePasswordFiles) .Values.tls.enabled }}
|
||||
volumeMounts:
|
||||
- name: empty-dir
|
||||
mountPath: /tmp
|
||||
subPath: tmp-dir
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
{{- if and .Values.usePassword .Values.usePasswordFiles }}
|
||||
- name: valkey-password
|
||||
mountPath: /opt/bitnami/valkey/secrets/
|
||||
{{- end }}
|
||||
@@ -438,7 +438,7 @@ spec:
|
||||
configMap:
|
||||
name: {{ include "common.names.fullname" . }}-scripts
|
||||
defaultMode: 0755
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
{{- if and .Values.usePassword .Values.usePasswordFiles }}
|
||||
- name: valkey-password
|
||||
secret:
|
||||
secretName: {{ include "valkey-cluster.secretName" . }}
|
||||
|
||||
Reference in New Issue
Block a user