Skip to content

Conversation

@emosbaugh
Copy link
Member

What this PR does / why we need it:

Because pipefail is not set I believe the error is being ignored here and the encryption key is overwritten.

https://github.com/replicatedhq/kURL/blob/cfde7ad3e96062188ae53391717defbf6c669f38/scripts/common/kubernetes.sh#L514

For example:

$ asdf | base64 -d
zsh: command not found: asdf
$ echo $?         
0
$ secret_value=$(asdf)
zsh: command not found: asdf
$ echo $?             
127

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?

Fixes an issue that can cause kURL installations to fail with an encryption key mismatch.

Does this PR require documentation?

@emosbaugh emosbaugh added type::bug Something isn't working bug::normal labels Dec 22, 2025
@github-actions
Copy link

github-actions bot commented Dec 22, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug::normal type::bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants