mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-13 08:30: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
9
docs/content/examples/secrets/default.nix
Normal file
9
docs/content/examples/secrets/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{kubenix ? import ../../../..}:
|
||||
kubenix.evalModules.x86_64-linux {
|
||||
module = {kubenix, ...}: {
|
||||
imports = with kubenix; [k8s];
|
||||
kubernetes.resources.secrets.example.stringData = {
|
||||
password = "ref+file:///path/to/secret";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue