Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Implement secrets-pull logic #105

Merged
merged 9 commits into from
Jan 12, 2021
Merged

Implement secrets-pull logic #105

merged 9 commits into from
Jan 12, 2021

Conversation

igorkotof
Copy link
Contributor

@igorkotof igorkotof commented Jan 9, 2021

Features:

  • Implement secrets-pull logic for services to make backup of them

How to run:

  • Add krtek.secrets_pull: $(CMD_SERVICE_SECRETS_PULL) to Makefile

Testing:
asciicast

@igorkotof igorkotof requested a review from AutomationD January 9, 2021 20:28
@igorkotof
Copy link
Contributor Author

@AutomationD
Copy link
Contributor

Wow, it's pretty slow :-D

@AutomationD
Copy link
Contributor

So it doesn't seem to differentiate parameters vs secrets, though? I think we should probably only download the secrets, but not the parameters... Let's discuss on Monday

Copy link
Contributor

@AutomationD AutomationD left a comment

Choose a reason for hiding this comment

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

Looks Good.

aws/secrets.mk Outdated Show resolved Hide resolved
aws/secrets.mk Show resolved Hide resolved
aws/secrets.mk Outdated Show resolved Hide resolved
@AutomationD
Copy link
Contributor

Also, if possible, I would prefer to change the logic to:

  • If local *.json file exists, make a backup of it,
  • Store the secrets under .json

aws/secrets.mk Outdated Show resolved Hide resolved
Copy link
Contributor

@AutomationD AutomationD left a comment

Choose a reason for hiding this comment

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

Looks good if has been tested.

@igorkotof igorkotof merged commit e65f76c into master Jan 12, 2021
@igorkotof igorkotof deleted the feature/secrets-pull branch January 12, 2021 18:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants