Add secret for private images pulled in tekton steps.
This commit is contained in:
@@ -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 = (
|
||||||
|
|||||||
Reference in New Issue
Block a user