add kubectl and helm

This commit is contained in:
zimbatm 2019-01-19 18:33:18 +01:00
parent 5d9a795ac3
commit dfe14978a4
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
4 changed files with 51 additions and 11 deletions

20
kubectl/default.nix Normal file
View file

@ -0,0 +1,20 @@
{ dockerTools
, cacert
, kubectl
}:
dockerTools.buildImage {
inherit (kubectl) name;
contents = [
cacert
kubectl
];
config = {
Entrypoint = [ "/bin/kubectl" ];
Env = [
"PATH=/bin"
"SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt"
];
};
}