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 ontop backups for builder #4061

Merged
merged 3 commits into from
Jul 14, 2020
Merged

Fix ontop backups for builder #4061

merged 3 commits into from
Jul 14, 2020

Conversation

jaym
Copy link
Contributor

@jaym jaym commented Jul 13, 2020

If you were to take a backup of builder, then on another machine, install automate + builder, and restore the backup, it would fail because we'd change the minio secret. Minio doesn't like this because it encrypts config with that secret now. We don't actually care about that config, so this PR detects that case and blows away the config

Also reinstall autoamte. We think ontop backups break if the minio
secret in the backup is different from what automate starts with.

Signed-off-by: Jay Mundrawala <jmundrawala@chef.io>
Jay Mundrawala added 2 commits July 14, 2020 07:15
This was copy-pasted from the backup gateway and not correct

Signed-off-by: Jay Mundrawala <jmundrawala@chef.io>
Signed-off-by: Jay Mundrawala <jmundrawala@chef.io>
@jaym jaym changed the title Modify ontop backup to deploy builder Fix ontop backups for builder Jul 14, 2020
Copy link
Contributor

@ryancragun ryancragun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a breaking change. Are we sure we want to do this?

components/automate-minio/habitat/hooks/run Show resolved Hide resolved
@jaym jaym merged commit d054f78 into master Jul 14, 2020
@chef-expeditor chef-expeditor bot deleted the jdm/bldr-ontop-backups branch July 14, 2020 17:27
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.

None yet

3 participants