Skip to content

Commit c82d4ab

Browse files
[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: dtolnay/serde-yaml#225 This commit makes the Zookeeper script mount compliant with YAML 1.2. Signed-off-by: Marc Schreiber <[email protected]> * 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 <[email protected]> --------- Signed-off-by: Marc Schreiber <[email protected]>
1 parent 98db876 commit c82d4ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bitnami/zookeeper/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ maintainers:
2828
name: zookeeper
2929
sources:
3030
- https://github.com/bitnami/charts/tree/main/bitnami/zookeeper
31-
version: 12.3.3
31+
version: 12.3.4

bitnami/zookeeper/templates/statefulset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ spec:
443443
- name: scripts
444444
configMap:
445445
name: {{ printf "%s-scripts" (include "common.names.fullname" .) }}
446-
defaultMode: 0755
446+
defaultMode: 493
447447
{{- if or .Values.configuration .Values.existingConfigmap }}
448448
- name: config
449449
configMap:

0 commit comments

Comments
 (0)