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

Add missing document seperator #1260

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

MaxWinterstein
Copy link
Contributor

@MaxWinterstein MaxWinterstein commented Jul 4, 2023

Description of the change

Fix documentation for users that ever installed sealed-secrets older than version 0.9.x on their cluster.

Benefits

Documentation now lead to a working key restore.

Possible drawbacks

None.

Applicable issues

Might be related to #923

Additional information

Currently the documentation simply redirects the second output of kubectl get secrets at the end of the first.

This leads to 'kinda' broken yaml, as there is no document seperator. The key is just added to the last key in the file.
As a result , the sealed-secrets-key won't be added to the server. So pretty old secrets can't get decrypted.

Fixing this is easy, by just adding the 'thre-dot-seperator' to the document. Now the old key gets created nicely and everything is fine.

I am not sure why there is no seperator at first, or if kubectl got rid of them.

@agarcia-oss
Copy link
Member

Hi @MaxWinterstein we're reviewing this PR, thanks for your patience. Meanwhile, can you please include a sign-off to your commit? We have instructions for that in our CONTRIBUTING guidelines.

Signed-off-by: Max Winterstein <[email protected]>
@MaxWinterstein
Copy link
Contributor Author

Added the signoff as requested.

@agarcia-oss agarcia-oss merged commit 46c24c3 into bitnami-labs:main Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants