Skip to content

Commit

Permalink
[bitnami/keydb] feat: ✨ 📝 Allow password update via values.yaml (#30691)
Browse files Browse the repository at this point in the history
* [bitnami/keydb] feat: ✨ 📝 Allow password update via values.yaml

Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
  • Loading branch information
javsalgar and bitnami-bot authored Nov 29, 2024
1 parent 20a71ea commit adbd271
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
10 changes: 8 additions & 2 deletions bitnami/keydb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Changelog

## 0.1.6 (2024-11-17)
## 0.2.0 (2024-11-29)

* [bitnami/keydb] Release 0.1.6 ([#30489](https://github.com/bitnami/charts/pull/30489))
* [bitnami/keydb] feat: :sparkles: :memo: Allow password update via values.yaml ([#30691](https://github.com/bitnami/charts/pull/30691))

## <small>0.1.6 (2024-11-17)</small>

* [bitnami/*] Remove wrong comment about imagePullPolicy (#30107) ([a51f9e4](https://github.com/bitnami/charts/commit/a51f9e4bb0fbf77199512d35de7ac8abe055d026)), closes [#30107](https://github.com/bitnami/charts/issues/30107)
* [bitnami/keydb] Release 0.1.6 (#30489) ([656b7b8](https://github.com/bitnami/charts/commit/656b7b8735d4b9c966bcfcde17fcbc83bf569c1e)), closes [#30489](https://github.com/bitnami/charts/issues/30489)
* Update documentation links to techdocs.broadcom.com (#29931) ([f0d9ad7](https://github.com/bitnami/charts/commit/f0d9ad78f39f633d275fc576d32eae78ded4d0b8)), closes [#29931](https://github.com/bitnami/charts/issues/29931)

## <small>0.1.5 (2024-10-08)</small>

Expand Down
6 changes: 3 additions & 3 deletions bitnami/keydb/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.27.0
digest: sha256:b711ab5874abf868a0c64353a790f17771758cee6f802acb9819be004c8460af
generated: "2024-11-17T11:04:22.398575486Z"
version: 2.27.2
digest: sha256:6fd86cc5a4b5094abca1f23c8ec064e75e51eceaded94a5e20977274b2abb576
generated: "2024-11-29T17:30:22.930161176+01:00"
2 changes: 1 addition & 1 deletion bitnami/keydb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ name: keydb
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/keydb
- https://github.com/bitnami/containers/tree/main/bitnami/keydb
version: 0.1.6
version: 0.2.0
7 changes: 7 additions & 0 deletions bitnami/keydb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"

Install the [Bitnami Kube Prometheus helm chart](https://github.com/bitnami/charts/tree/main/bitnami/kube-prometheus) for having the necessary CRDs and the Prometheus Operator.

### Update credentials

The Bitnami KeyDB chart, when upgrading, reuses the secret previously rendered by the chart or the one specified in `auth.existingSecret`. To update credentials, use one of the following:

- Run `helm upgrade` specifying a new password in `auth.password`
- Run `helm upgrade` specifying a new secret in `auth.existingSecret`

### Using a password file

To use a password file for KeyDB you need to create a secret containing the password and then deploy the chart using that secret. Follow these instructions:
Expand Down
2 changes: 1 addition & 1 deletion bitnami/keydb/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ metadata:
{{- end }}
type: Opaque
data:
keydb-password: {{ include "common.secrets.passwords.manage" (dict "secret" (include "keydb.secretName" .) "key" "keydb-password" "providedValues" (list "global.keydb.password" "auth.password") "length" 10 "context" $) }}
keydb-password: {{ include "common.secrets.passwords.manage" (dict "secret" (include "keydb.secretName" .) "key" "keydb-password" "providedValues" (list "global.keydb.password" "auth.password") "length" 10 "honorProvidedValues" true "context" $) }}
{{- end }}

0 comments on commit adbd271

Please sign in to comment.