This commit is contained in:
GTrunSec 2022-04-02 12:40:35 -07:00
parent a0ce293db8
commit 60592d3096
No known key found for this signature in database
GPG key ID: 2368FAFA4ABDD2A0
55 changed files with 23668 additions and 30925 deletions

View file

@ -1,11 +1,14 @@
{ config, lib, pkgs, kubenix, ... }:
with lib;
let
nginx = pkgs.callPackage ./image.nix { };
in
{
imports = with kubenix.modules; [ k8s docker ];
config,
lib,
pkgs,
kubenix,
...
}:
with lib; let
nginx = pkgs.callPackage ./image.nix {};
in {
imports = with kubenix.modules; [k8s docker];
docker.images.nginx.image = nginx;
@ -54,10 +57,12 @@ in
kubernetes.resources.services.nginx = {
spec = {
ports = [{
name = "http";
port = 80;
}];
ports = [
{
name = "http";
port = 80;
}
];
selector.app = "nginx";
};
};