Add secret for private images pulled in tekton steps.

This commit is contained in:
Tom Alexander
2026-09-12 17:26:33 -04:00
parent f2bde9ffea
commit 24853ba6a2

View File

@@ -134,6 +134,18 @@ let
"nix-pull-through-cache" = { "nix-pull-through-cache" = {
"CACHE_GET_TOKEN" = (builtins.readFile "${./secrets/nix-pull-through-cache/auth/CACHE_GET_TOKEN}"); "CACHE_GET_TOKEN" = (builtins.readFile "${./secrets/nix-pull-through-cache/auth/CACHE_GET_TOKEN}");
}; };
"registry-credentials" =
(generate_docker_secret {
username = builtins.readFile "${./secrets/flux-system/registry-credentials/username}";
password = builtins.readFile "${./secrets/flux-system/registry-credentials/password}";
email = builtins.readFile "${./secrets/flux-system/registry-credentials/email}";
address = builtins.readFile "${./secrets/flux-system/registry-credentials/address}";
})
// {
# "__annotations" = {
# "tekton.dev/docker-0" = "https://harbor.fizz.buzz";
# };
};
}; };
}; };
encrypted_secrets = ( encrypted_secrets = (