You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if it is a hard requirement that the sops config file is exactly .sops.yaml for it to be auto-discovered, or if it should accept the alternative .yml extension too, but it took me a while to realize this was the issue I was having.
So, it might be good to have a warning in the docs stating that it should match exactly to save some time to anyone facing the same issue. Or even better would be to allow the file to have either of those extensions.
I think the code where the name is defined to match that specific file name is here just for reference.
Thank you for the great work!
The text was updated successfully, but these errors were encountered:
You can always use --config to specify your config file, then it doesn't matter at all how it is named.
So, it might be good to have a warning in the docs stating that it should match exactly to save some time to anyone facing the same issue. Or even better would be to allow the file to have either of those extensions.
Mentioning that in the docs is the best way forward IMO; allowing .yml as well is something I would avoid.
Okay! Made a small PR (#1569). Feel free to leave comments or just close it an replace it if you feel there is a better phrasing or place to put the note.
I don't know if it is a hard requirement that the sops config file is exactly
.sops.yaml
for it to be auto-discovered, or if it should accept the alternative.yml
extension too, but it took me a while to realize this was the issue I was having.So, it might be good to have a warning in the docs stating that it should match exactly to save some time to anyone facing the same issue. Or even better would be to allow the file to have either of those extensions.
I think the code where the name is defined to match that specific file name is here just for reference.
Thank you for the great work!
The text was updated successfully, but these errors were encountered: