From a6cae697b45c43c2ec709e1729276ead21c93275 Mon Sep 17 00:00:00 2001 From: Marc Schreiber Date: Mon, 11 Dec 2023 13:16:23 +0100 Subject: [PATCH] [bitnami/zookeeper] Make Zookeeper DefaultMode YAML 1.2 Compliant (#21081) * Make Zookeeper DefaultMode YAML 1.2 Compliant With the YAML 1.2 spec octals must be prefixed with `0o` and not `0`. Parsers implementing the latest spec run into issues. See discussion here: https://github.com/dtolnay/serde-yaml/pull/225 This commit makes the Zookeeper script mount compliant with YAML 1.2. Signed-off-by: Marc Schreiber * Use Decimal Notation for defaultMode In order to be still YAML 1.1 compliant and to be YAML 1.2 compliant, this commit changes the defaultMode to the decimal value 493. This seems to be done in other places as well (see modes of TLS secrets). Signed-off-by: Marc Schreiber --------- Signed-off-by: Marc Schreiber --- bitnami/zookeeper/Chart.yaml | 2 +- bitnami/zookeeper/templates/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/zookeeper/Chart.yaml b/bitnami/zookeeper/Chart.yaml index d828f3ff2979ae..94631c141c9efb 100644 --- a/bitnami/zookeeper/Chart.yaml +++ b/bitnami/zookeeper/Chart.yaml @@ -28,4 +28,4 @@ maintainers: name: zookeeper sources: - https://github.com/bitnami/charts/tree/main/bitnami/zookeeper -version: 12.3.3 +version: 12.3.4 diff --git a/bitnami/zookeeper/templates/statefulset.yaml b/bitnami/zookeeper/templates/statefulset.yaml index 4719f9bab11940..53f1e8ef6b8dc3 100644 --- a/bitnami/zookeeper/templates/statefulset.yaml +++ b/bitnami/zookeeper/templates/statefulset.yaml @@ -443,7 +443,7 @@ spec: - name: scripts configMap: name: {{ printf "%s-scripts" (include "common.names.fullname" .) }} - defaultMode: 0755 + defaultMode: 493 {{- if or .Values.configuration .Values.existingConfigmap }} - name: config configMap: