mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/zookeeper] Drop unused getValueFromSecret local helper (#29440)
* [bitnami/zookeeper] Drop unused `getValueFromSecret` local helper Promote the use of common helpers `common.secrets.passwords.manage` Signed-off-by: Léo Colombaro <git@colombaro.fr> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Bump chart version again Signed-off-by: Andrés Bono <andresbono@vmware.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Léo Colombaro <git@colombaro.fr> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Andrés Bono <andresbono@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Andrés Bono <andresbono@vmware.com>
This commit is contained in:
co-authored by
Bitnami Containers
Andrés Bono
parent
ded7e1f62d
commit
630e4cb5e4
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 13.4.13 (2024-09-17)
|
||||
## 13.4.14 (2024-09-23)
|
||||
|
||||
* [bitnami/zookeeper] test: :white_check_mark: Improve reliability of ginkgo tests ([#29475](https://github.com/bitnami/charts/pull/29475))
|
||||
* [bitnami/zookeeper] Drop unused `getValueFromSecret` local helper ([#29440](https://github.com/bitnami/charts/pull/29440))
|
||||
|
||||
## <small>13.4.13 (2024-09-17)</small>
|
||||
|
||||
* [bitnami/zookeeper] test: :white_check_mark: Improve reliability of ginkgo tests (#29475) ([2c66097](https://github.com/bitnami/charts/commit/2c6609778ffdea57b4d0b4aaba193e451e2186bc)), closes [#29475](https://github.com/bitnami/charts/issues/29475)
|
||||
|
||||
## <small>13.4.12 (2024-09-09)</small>
|
||||
|
||||
|
||||
@@ -28,4 +28,4 @@ maintainers:
|
||||
name: zookeeper
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/zookeeper
|
||||
version: 13.4.13
|
||||
version: 13.4.14
|
||||
|
||||
@@ -96,20 +96,6 @@ Return true if a ZooKeeper server-server authentication credentials secret objec
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Returns the available value for certain key in an existing secret (if it exists),
|
||||
otherwise it generates a random value.
|
||||
*/}}
|
||||
{{- define "getValueFromSecret" }}
|
||||
{{- $len := (default 16 .Length) | int -}}
|
||||
{{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}}
|
||||
{{- if $obj }}
|
||||
{{- index $obj .Key | b64dec -}}
|
||||
{{- else -}}
|
||||
{{- randAlphaNum $len -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Return the ZooKeeper configuration ConfigMap name
|
||||
*/}}
|
||||
|
||||
Reference in New Issue
Block a user