Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(secrets): fix file prefix for saml keystore #1276

Merged
merged 1 commit into from
Apr 16, 2019

Conversation

KathrynLewis
Copy link
Contributor

The saml keystore requires a "file:" prefix in the gate.yml, which is currently added in the secretFileSerializer. The bug: when secret decryption is supported in the services AND the keystore file is not an encrypted secret, the code skips the custom secretFileSerializer, which means "file:" doesn't get prepended to the path. This fixes the logic so that an encrypted secret that should stay encrypted doesn't get the prefix, but all other cases do.

@dibyom
Copy link
Member

dibyom commented Apr 16, 2019

Fixes spinnaker/spinnaker#4294

@dibyom dibyom merged commit 9fa9f0e into spinnaker:master Apr 16, 2019
@dibyom
Copy link
Member

dibyom commented Apr 17, 2019

@spinnakerbot cherry-pick 1.19

@spinnakerbot
Copy link
Contributor

Cherry pick failed: Command failed (cherry pick commit 9fa9f0e) with exit code 1:

error: could not apply 9fa9f0e6... fix(secrets): fix file prefix for saml keystore (#1276)
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'

@dibyom
Copy link
Member

dibyom commented Apr 17, 2019

@spinnakerbot cherry-pick 1.19

@spinnakerbot
Copy link
Contributor

Cherry pick successful: #1284

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

Successfully merging this pull request may close these issues.

3 participants