Customizable .gnupg folder location #186

Merged
techknowlogick merged 3 commits from justusbunsi/helm-chart:persistent-signing-keys-in-rootless into master 2021-06-29 19:23:32 +00:00

3 Commits

Author SHA1 Message Date
techknowlogick
e08e3cf526 Merge branch 'master' into persistent-signing-keys-in-rootless
All checks were successful
continuous-integration/drone/pr Build is passing
2021-06-30 03:23:22 +08:00
justusbunsi
fa9a02b6af Introduce new signing configuration object
All checks were successful
continuous-integration/drone/pr Build is passing
To allow customizing the path for stored signing keys (and potentially
other options), a new section in `values.yaml` got introduced.
2021-06-28 21:22:44 +02:00
justusbunsi
1b3cc64953 Standardize .gnupg folder location
All checks were successful
continuous-integration/drone/pr Build is passing
The `HOME` path is not persistent when using the rootless image, so the
`.gnupg` folder isn't either. Since the chart always used `/data/...` as
mount point for storage of all kinds, it is a minimal impact to just
relocate the dynamic `$HOME/.gnupg` folder location to the persistent
`/data/git/.gnupg`. This is where the signing keys are stored when
running root based environments. Doing so will

 - allow migrations between both image variants
 - persist signing keys for rootless environments

Fixes: #155
2021-06-26 11:07:07 +02:00