mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
333 B
333 B
As a more complete example, let's define some high-level variables and then split our module out into another file as we start to grow.
{{< source "default.nix" >}}
Now we create a module which does a few related things:
- create a
Deployment - mount a
ConfigMapinto its pod - define a
Service
{{< source "module.nix" >}}