-
Notifications
You must be signed in to change notification settings - Fork 149
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
Allow to set uid and gid instead of owner and group. #637
Conversation
Could you also add a simple secret example to our existing nixos test? Than we won't regress in future. |
I'm not sure how to run the tests?
|
@munnik |
For a single test:
|
Done in a24e29e |
…e performed when uid and gid are set. ``` sops.secrets = { sslCertificate = { sopsFile = ./secrets.yaml; owner = ""; group = ""; uid = config.containers."nginx".config.users.users."nginx".uid; gid = config.containers."nginx".config.users.groups."nginx".gid; }; sslCertificateKey = { sopsFile = ./secrets.yaml; owner = ""; group = ""; uid = config.containers."nginx".config.users.users."nginx".uid; gid = config.containers."nginx".config.users.groups."nginx".gid; }; }; ``` Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at a4c33bf |
Thank you! Also, for the help and feedback. Learned a lot of new Nix things. 👍 |
#514
Allow to set uid and gid instead of owner and group. No checks will be performed when uid and gid are set.