Cleanup after kubernetes deployment migration
This commit is contained in:
parent
a335dd4120
commit
660191ab42
57 changed files with 26 additions and 9097 deletions
|
@ -1,5 +1,6 @@
|
|||
{ myLib, flake-utils, pkgs, ... }: flake-utils.lib.eachDefaultSystem (system:
|
||||
{ self, nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
createScript = { name, runtimeInputs, scriptPath, extraWrapperFlags ? "", ... }:
|
||||
let
|
||||
script = (pkgs.writeScriptBin name (builtins.readFile scriptPath)).overrideAttrs (old: {
|
||||
|
@ -28,7 +29,7 @@ in
|
|||
|
||||
packages.prefetch-container-images =
|
||||
let
|
||||
imagesJSON = builtins.toFile "images.json" (builtins.toJSON myLib.globals.images);
|
||||
imagesJSON = builtins.toFile "images.json" (builtins.toJSON self.globals.images);
|
||||
in
|
||||
pkgs.writers.writePython3Bin "prefetch-container-images.py"
|
||||
{ } ''
|
||||
|
|
Reference in a new issue