mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +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,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
kubenix,
|
||||
images,
|
||||
test,
|
||||
...
|
||||
}:
|
||||
{ config, lib, kubenix, images, test, ... }:
|
||||
with lib; let
|
||||
cfg = config.kubernetes.api.resources.deployments.nginx;
|
||||
image = images.nginx;
|
||||
|
|
@ -17,17 +10,16 @@ with lib; let
|
|||
inherit (config.kubernetes) namespace;
|
||||
name = "curl";
|
||||
};
|
||||
spec.containers = [
|
||||
{
|
||||
name = "curl";
|
||||
image = config.docker.images.curl.path;
|
||||
args = ["curl" "--retry" "20" "--retry-connrefused" "http://nginx"];
|
||||
}
|
||||
];
|
||||
spec.containers = [{
|
||||
name = "curl";
|
||||
image = config.docker.images.curl.path;
|
||||
args = [ "curl" "--retry" "20" "--retry-connrefused" "http://nginx" ];
|
||||
}];
|
||||
spec.restartPolicy = "Never";
|
||||
});
|
||||
in {
|
||||
imports = [kubenix.modules.test kubenix.modules.k8s kubenix.modules.docker];
|
||||
in
|
||||
{
|
||||
imports = [ kubenix.modules.test kubenix.modules.k8s kubenix.modules.docker ];
|
||||
|
||||
test = {
|
||||
name = "k8s-deployment";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue