flake: format

This commit is contained in:
Bryton Hall 2023-06-12 02:36:52 -04:00
parent ea8fe3bd9c
commit 9492528225
3 changed files with 34 additions and 36 deletions

View file

@ -21,11 +21,11 @@ For example, to patch the deployment created by the release above:
kubernetes.resources.deployments.nginx = {
# be sure to match the corresponding namespace as well
metadata.namespace = "default";
# here we can configure anything and are no longer bound by `values.yaml`
# here we can configure anything and are no longer bound by `values.yaml`
spec.template.spec.containers.nginx.env = [{
name = "MY_VARIABLE";
value = "100";
}];
};
}
```
```

View file

@ -5,7 +5,7 @@ As such, on a server node, we can write kubenix's output there.
```nix
{
# let's write `resultYAML` to an arbitrary file under `/etc`
environment.etc."kubenix.yaml".source =
environment.etc."kubenix.yaml".source =
(kubenix.evalModules.x86_64-linux {
module = { kubenix, ... }: {
imports = [ kubenix.modules.k8s ];
@ -20,6 +20,7 @@ As such, on a server node, we can write kubenix's output there.
'';
}
```
{{< hint danger >}}
**WARN**: this will write all manifests to the nix store and is therefore not suitable for inline sensitive data.
{{< /hint >}}