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,7 +1,7 @@
|
|||
{ kubenix ? import ../../../.. }:
|
||||
{kubenix ? import ../../../..}:
|
||||
kubenix.evalModules.${builtins.currentSystem} {
|
||||
module = { kubenix, ... }: {
|
||||
imports = [ ./module.nix ];
|
||||
module = {kubenix, ...}: {
|
||||
imports = [./module.nix];
|
||||
|
||||
kubenix.project = "multi-namespace-example";
|
||||
kubernetes.version = "1.24";
|
||||
|
|
|
|||
|
|
@ -54,9 +54,9 @@
|
|||
|
||||
kubernetes = lib.mkMerge [
|
||||
# Use instance name as namespace
|
||||
{ namespace = name; }
|
||||
{namespace = name;}
|
||||
# Create namespace object
|
||||
{ resources.namespaces.${name} = {}; }
|
||||
{resources.namespaces.${name} = {};}
|
||||
# All resources defined here will use the above namespace
|
||||
args.kubernetes
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue