Parcourir la source

kubernetes: add argo rollouts and velero

Thomas Dy il y a 4 ans
Parent
commit
683945c3cb
1 fichiers modifiés avec 15 ajouts et 0 suppressions
  1. 15 0
      includes/kubernetes/default.nix

+ 15 - 0
includes/kubernetes/default.nix

@@ -56,6 +56,19 @@ let
     url = "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v${version}/kustomize_kustomize.v${version}_linux_amd64";
     sha256 = "a91b38778945e8a63fe70bc7522703a94c1d572d5dcee245e96647359e1fd04b";
   };
+  kubectl-argo-rollouts = buildBinPackage rec {
+    pname = "kubectl-argo-rollouts";
+    version = "0.6.0";
+    url = "https://github.com/argoproj/argo-rollouts/releases/download/v${version}/kubectl-argo-rollouts-linux-amd64";
+    sha256 = "1cad7038l2jpmkr1gn8293f3vg4jbypqxilix6qcvfdqkxda602p";
+  };
+  velero = buildBinPackage rec {
+    pname = "velero";
+    version = "1.2.0";
+    url = "https://github.com/vmware-tanzu/velero/releases/download/v${version}/velero-v${version}-linux-amd64.tar.gz";
+    sha256 = "4080a37b487a859b5bba8391e965267cd0fe29cd67fd070b6f695fed45619e2c";
+    binPath = "velero-v${version}-linux-amd64/velero";
+  };
 in {
   environment.systemPackages = with pkgs; [
     kubectl
@@ -66,6 +79,8 @@ in {
     eksctl
     k9s
     kustomize
+    kubectl-argo-rollouts
     aws-iam-authenticator
+    velero
   ];
 }