update k8s lib and use app-protocol
Some checks failed
Build and Publish / build-release (push) Failing after 8m7s

This commit is contained in:
2026-04-10 12:03:37 -05:00
parent cda03ae37d
commit 539755e05f
7 changed files with 124 additions and 69 deletions

View File

@@ -6,8 +6,14 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, flake-utils, }:
flake-utils.lib.eachDefaultSystem (system:
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
package = pkgs.buildGoModule {
@@ -15,7 +21,7 @@
version = "0.0.0";
src = ../.;
doCheck = false;
vendorHash = "sha256-o2lb7G2UTG5AC0JkG677K636BrJO1oOpVLhl+neM8/A=";
vendorHash = "sha256-Ngn1hcOFZP6NivtJfNNafbyg4u4Ti4gr+XUs6KrYgf8=";
installPhase = ''
runHook preInstall
@@ -41,10 +47,19 @@
User = "65532:65532";
};
};
in with pkgs; {
in
with pkgs;
{
packages.default = package;
packages.dockerImage = dockerPackage;
devShells.default =
mkShell { buildInputs = [ nixfmt gopls operator-sdk go ]; };
});
devShells.default = mkShell {
buildInputs = [
nixfmt
gopls
operator-sdk
go
];
};
}
);
}