Skip to content

Commit

Permalink
Make Kafka DefaultMode YAML 1.2 Compliant (#21086)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
schrieveslaach authored Dec 11, 2023
1 parent 09e8c7d commit b51288a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitnami/kafka/templates/broker/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down

0 comments on commit b51288a

Please sign in to comment.