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: handle encrypted .yml files correctly #60

Merged
merged 4 commits into from
Aug 1, 2024
Merged

Conversation

jackhodgkiss
Copy link
Contributor

Before .yml files were being grouped together with all other vaulted files. This is wrong as these .yml files need to be used by Ansible as files that contain variables.

Therefore, this change aims to split all encrypted files based on .yml extension or not. Also it has been identified that with this approach of find all vaulted files we are unintentionally pickup files from ci-multinode and other environments which can not be decrypted using client vault password.

Before `.yml` files were being grouped together with all other vaulted files. This is wrong as these `.yml` files need to be used by Ansible as files that contain variables.

Therefore, this change aims to split all encrypted files based on `.yml` extension or not. Also it has been identified that with this approach of find all vaulted files we are unintentionally pickup files from `ci-multinode` and other environments which can not be decrypted using client vault password.
@jackhodgkiss jackhodgkiss added the bug Something isn't working label Aug 1, 2024
@jackhodgkiss jackhodgkiss self-assigned this Aug 1, 2024
@jackhodgkiss jackhodgkiss marked this pull request as ready for review August 1, 2024 14:34
@jackhodgkiss jackhodgkiss requested a review from a team as a code owner August 1, 2024 14:34
Copy link
Collaborator

@jovial jovial left a comment

Choose a reason for hiding this comment

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

Looks legit to me

@jackhodgkiss jackhodgkiss merged commit 36ec290 into main Aug 1, 2024
4 checks passed
@jackhodgkiss jackhodgkiss deleted the secret-fix branch August 1, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants