mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
flake: format
This commit is contained in:
parent
eb3ec20f46
commit
baa1a6c949
16 changed files with 86 additions and 72 deletions
|
|
@ -1,11 +1,11 @@
|
|||
# let's creata a function whose only input is the kubenix package
|
||||
{ kubenix ? import ../../../.. }:
|
||||
{kubenix ? import ../../../..}:
|
||||
# evalModules is our main entrypoint
|
||||
kubenix.evalModules.${builtins.currentSystem} {
|
||||
# to it, we pass a module that accepts a (different) kubenix object
|
||||
module = { kubenix, ... }: {
|
||||
module = {kubenix, ...}: {
|
||||
# in order to define options, we need to import their definitions
|
||||
imports = [ kubenix.modules.k8s ];
|
||||
imports = [kubenix.modules.k8s];
|
||||
# now we have full access to define Kubernetes resources
|
||||
kubernetes.resources.pods = {
|
||||
# "example" is the name of our pod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue