Add some scripts that are helpful for configuring kubernetes.

This commit is contained in:
Tom Alexander 2025-03-08 17:22:32 -05:00
parent 84bd6be8e6
commit 2b54630053
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,7 @@ in
alias_kd
alias_klog
decrypt_k8s_secret
ingress2gateway # Convert ingress yaml to gateway yaml
];
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {

View File

@ -48,6 +48,12 @@ in
};
};
}
(lib.mkIf config.me.kubernetes.enable {
environment.systemPackages = with pkgs; [
tfk8s # Converts k8s yaml manifests to terraform kubernetes_manifest.
k2tf # Converts k8s yaml manifests to terraform real types.
];
})
]
);
}