diff options
author | Franck Cuny <franck@fcuny.net> | 2022-07-20 17:33:21 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-07-20 17:36:05 -0700 |
commit | 9bc2d533742ba8b988390a56f13e323bbcbffc80 (patch) | |
tree | e0766a042457aa83a8c65e0e567b896f058e3477 /modules/services/buildkite | |
parent | feat(modules/gerrit): manage secure configuration with nix (diff) | |
download | world-9bc2d533742ba8b988390a56f13e323bbcbffc80.tar.gz |
fix(modules/secrets): set correctly all possible attributes
Secrets can have multiple attributes: the owner, group, mode and path. So far, we were setting the file (path where it should be read from), the owner (if it exists), the group (if it exists) and the mode. The attribute 'path' was not propagated correctly. We now check for all these attributes (as optional) and if they exists we set them. We still validate that the user and group exist before setting them. Change-Id: Ifeccf2ee9d0acd17a3cd05de8d08968cea49550b Reviewed-on: https://cl.fcuny.net/c/world/+/641 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'modules/services/buildkite')
0 files changed, 0 insertions, 0 deletions