mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-16 18:03:50 +01:00
switch formatting to nixpkgs-fmt
This commit is contained in:
parent
3598716c73
commit
2712e89716
65 changed files with 4839 additions and 5222 deletions
|
|
@ -1,11 +1,5 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
kubenix,
|
||||
...
|
||||
}: {
|
||||
imports = with kubenix.modules; [submodules k8s];
|
||||
{ config, lib, pkgs, kubenix, ... }: {
|
||||
imports = with kubenix.modules; [ submodules k8s ];
|
||||
|
||||
# Import submodule.
|
||||
submodules.imports = [
|
||||
|
|
@ -26,12 +20,10 @@
|
|||
# Now we can set the args options defined in the submodule.
|
||||
args.kubernetes.resources = {
|
||||
services.nginx.spec = {
|
||||
ports = [
|
||||
{
|
||||
name = "http";
|
||||
port = 80;
|
||||
}
|
||||
];
|
||||
ports = [{
|
||||
name = "http";
|
||||
port = 80;
|
||||
}];
|
||||
selector.app = "nginx";
|
||||
};
|
||||
};
|
||||
|
|
@ -41,12 +33,10 @@
|
|||
submodule = "namespaced";
|
||||
args.kubernetes.resources = {
|
||||
services.nginx.spec = {
|
||||
ports = [
|
||||
{
|
||||
name = "https";
|
||||
port = 443;
|
||||
}
|
||||
];
|
||||
ports = [{
|
||||
name = "https";
|
||||
port = 443;
|
||||
}];
|
||||
selector.app = "nginx";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue