Skip to content

Commit

Permalink
Merge pull request #637 from RafalKorepta/rk/remove-x-from-shell
Browse files Browse the repository at this point in the history
Do not print console secrets for schema registry
  • Loading branch information
Rafal Korepta authored Aug 4, 2023
2 parents 9163d68 + fcc20d9 commit 1afba49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/redpanda/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type: application
# The chart version and the app version are not the same and will not track
# together. The chart version is a semver representation of changes to this
# chart.
version: 5.0.7
version: 5.0.8

# The app version is the default version of Redpanda to install.
appVersion: v23.2.3
Expand Down
2 changes: 1 addition & 1 deletion charts/redpanda/templates/console/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
{{ $extraVolumeMounts := list }}
{{ $command := list }}
{{ if (include "sasl-enabled" . | fromJson).bool }}
{{ $command = concat $command (list "sh" "-xc") }}
{{ $command = concat $command (list "sh" "-c") }}
{{ $consoleSASLConfig := (printf "set -e; IFS=: read -r KAFKA_SASL_USERNAME KAFKA_SASL_PASSWORD KAFKA_SASL_MECHANISM < $(find /mnt/users/* -print); KAFKA_SASL_MECHANISM=${KAFKA_SASL_MECHANISM:-%s}; export KAFKA_SASL_USERNAME KAFKA_SASL_PASSWORD KAFKA_SASL_MECHANISM;" ( include "sasl-mechanism" . )) }}
{{ $consoleSASLConfig = cat $consoleSASLConfig " export KAFKA_SCHEMAREGISTRY_USERNAME=$KAFKA_SASL_USERNAME;" }}
{{ $consoleSASLConfig = cat $consoleSASLConfig " export KAFKA_SCHEMAREGISTRY_PASSWORD=$KAFKA_SASL_PASSWORD;" }}
Expand Down

0 comments on commit 1afba49

Please sign in to comment.