From b51288a469c1e42dac2ee2b3f26f1951eebf741f Mon Sep 17 00:00:00 2001 From: Marc Schreiber Date: Mon, 11 Dec 2023 17:51:25 +0100 Subject: [PATCH] Make Kafka DefaultMode YAML 1.2 Compliant (#21086) 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 Kafka script mounts compliant with YAML 1.2. Signed-off-by: Marc Schreiber --- bitnami/kafka/templates/broker/statefulset.yaml | 2 +- bitnami/kafka/templates/controller-eligible/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/kafka/templates/broker/statefulset.yaml b/bitnami/kafka/templates/broker/statefulset.yaml index b684a32d77b1e2..76cf2d3d645f91 100644 --- a/bitnami/kafka/templates/broker/statefulset.yaml +++ b/bitnami/kafka/templates/broker/statefulset.yaml @@ -374,7 +374,7 @@ spec: - name: scripts configMap: name: {{ include "common.names.fullname" . }}-scripts - defaultMode: 0755 + defaultMode: 493 {{- if and .Values.externalAccess.enabled .Values.externalAccess.autoDiscovery.enabled }} - name: kafka-autodiscovery-shared emptyDir: {} diff --git a/bitnami/kafka/templates/controller-eligible/statefulset.yaml b/bitnami/kafka/templates/controller-eligible/statefulset.yaml index fa462ee957ccbf..2a94737bffb78b 100644 --- a/bitnami/kafka/templates/controller-eligible/statefulset.yaml +++ b/bitnami/kafka/templates/controller-eligible/statefulset.yaml @@ -367,7 +367,7 @@ spec: - name: scripts configMap: name: {{ include "common.names.fullname" . }}-scripts - defaultMode: 0755 + defaultMode: 493 {{- if and .Values.externalAccess.enabled .Values.externalAccess.autoDiscovery.enabled }} - name: kafka-autodiscovery-shared emptyDir: {}