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

Encrypt secrets with sops and age #373

Merged
merged 34 commits into from
Mar 14, 2024
Merged

Encrypt secrets with sops and age #373

merged 34 commits into from
Mar 14, 2024

Conversation

bigglesandginger
Copy link
Contributor

Description

As kubeseal only encrypts kubernetes Secrets and we also need kubernetes ConfigMaps encrypted, and KSOPS (which is based on sops but makes decryption part of kustomize and not an explicit step otherwise - though you still need to encrypt with sops) has caught the eye Nisshant and is bundled with ArgoCD, I re-present the sops with age encryption.

In addition to working as before (save fetching a new key as detailed in the README.md) I have written a get_secret_ui.sh tool to help those that need a specific secret and find the hassle to be quite a drag.

@bigglesandginger bigglesandginger linked an issue Mar 12, 2024 that may be closed by this pull request
README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@dgauldie dgauldie left a comment

Choose a reason for hiding this comment

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

LGTM and tested on staging

@dgauldie dgauldie merged commit b277491 into main Mar 14, 2024
3 checks passed
@dgauldie dgauldie deleted the encrypt_secrets_with_age branch March 14, 2024 18:09
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.

change secret encryption from ansible to sops with age
2 participants