mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
add support for vals (#11)
This commit is contained in:
parent
b015d6ac2a
commit
467dc14978
5 changed files with 36 additions and 12 deletions
|
|
@ -1,11 +1,5 @@
|
|||
Secrets management requires some extra care as we want to prevent values from
|
||||
ending up in the, world-readable, nix store.
|
||||
We support runtime secret (or config) value loading with [vals](https://github.com/variantdev/vals). A minimal example, using the file provider, might look like
|
||||
|
||||
{{< hint "warning" >}}
|
||||
**WARNING**
|
||||
{{< source "default.nix" >}}
|
||||
|
||||
The kubenix secrets story is incomplete. Do not trust it -- it has not been tested.
|
||||
{{< /hint >}}
|
||||
|
||||
The easiest approach is to avoid writing to the store altogether with `nix eval` instead of `nix build`.
|
||||
This isn't a long-term device and we'll explore integrations with other tools soon(TM).
|
||||
The creation of `/path/to/secret` is out of scope but we recommend checking out one of [the many nix secrets management tools](https://nixos.wiki/wiki/Comparison_of_secret_managing_schemes).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue