-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Hi, I wanted to try Kubenix, but I couldn't get the example to work. I have the following flake taken from the examples:
{
inputs.kubenix.url = "github:hall/kubenix";
outputs = { self, ... }@inputs:
let system = "x86_64-linux";
in {
kubenix = inputs.kubenix.packages.${system}.default.override {
module = { kubenix, ... }: {
imports = [ kubenix.modules.k8s ];
kubernetes.resources.pods.example.spec.containers.nginx.image =
"nginx";
};
};
};
}Then I use nix run .#kubenix, which produces:
error: builder for '/nix/store/7v7s2h891xicsa9bcijvsb6016aj82fk-kubenix.drv' failed with exit code 1;
last 1 log lines:
> /build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 8: kubeconfig: unbound variable
For full logs, run 'nix log /nix/store/7v7s2h891xicsa9bcijvsb6016aj82fk-kubenix.drv'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels