-
Notifications
You must be signed in to change notification settings - Fork 909
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
Request for skipping keys in YAML that match encrypted_regex but are in plaintext #1680
Comments
This can only happen if you manually edit files after encrypting them with SOPS. Why do you want to do this? Generally I think it is good if SOPS reports errors for such broken files. |
That is a core flux functionality - to merge manifests. Basically it works fine and SOPS can decrypt such modified files, except if the issue case. |
If SOPS starts reporting mixed files instead of decrypting them, that will be a catastrophic for Flux, please, do not do that. |
SOPS does support mixed files, as long as they stick to the rules. If you want to encrypt some |
I did not know about this way. Will think about that. Please, do not change default behaviour, let it continue decrypt modified files for us. |
We try to avoid breaking changes; and changing default behavior is generally a breaking change. |
Hi! Issue comes from Flux
SOPS fails if we have keys with plain text, but those keys match encrypted_regex.
Can you please make SOPS to ignore fields if they are not acttualy encrypted?
Example manifest:
The text was updated successfully, but these errors were encountered: