From 53d4f83a8db154ec0305b7a9e8ac0b5b16c93091 Mon Sep 17 00:00:00 2001 From: Olivier Grand Date: Mon, 11 Mar 2024 16:01:45 +0100 Subject: [PATCH] add crossplane cli --- Dockerfile | 2 ++ tools/check-available-clis.sh | 1 + tools/tools.sh | 1 + 3 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3c6762f..fdbac31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ ENV ARGO_VERSION="3.5.4" \ CF_UAAC_VERSION="4.21.0" \ CILIUM_VERSION="0.15.23" \ CREDHUB_VERSION="2.9.27" \ + CROSSPLANE_CLI="1.15.0" \ FLUX_VERSION="0.41.2" \ FLY_VERSION="7.9.1" \ GITLAB_VERSION="1.36.0" \ @@ -119,6 +120,7 @@ RUN installBinary() { printf "\n=> Add $1 CLI\n" ; curl -sSLo /usr/local/bin/$2 installTargz "CILIUM" "cilium" "https://github.com/cilium/cilium-cli/releases/download/v${CILIUM_VERSION}/cilium-linux-${OS_ARCH_AMD}.tar.gz" "cilium" && \ addCompletion "CILIUM" "cilium" "completion bash" && \ installTargz "CREDHUB" "credhub" "https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/${CREDHUB_VERSION}/credhub-linux-${OS_ARCH_AMD}-${CREDHUB_VERSION}.tgz" "credhub" && \ + installBinary "CROSSPLANE" "crossplane" "https://releases.crossplane.io/stable/v${CROSSPLANE_CLI}/bin/linux_${OS_ARCH_AMD}/crank" && \ installTargz "FLUX" "flux" "https://github.com/fluxcd/flux2/releases/download/v${FLUX_VERSION}/flux_${FLUX_VERSION}_linux_${OS_ARCH_AMD}.tar.gz" "flux" && \ addCompletion "FLUX" "flux" "completion bash" && \ installTargz "FLY" "fly" "https://github.com/concourse/concourse/releases/download/v${FLY_VERSION}/fly-${FLY_VERSION}-linux-${OS_ARCH_AMD}.tgz" "fly" && \ diff --git a/tools/check-available-clis.sh b/tools/check-available-clis.sh index ca572c8..5fb4cb1 100755 --- a/tools/check-available-clis.sh +++ b/tools/check-available-clis.sh @@ -18,6 +18,7 @@ printf '\n=> Check BOSH-CLI\n' ; bosh --version printf '\n=> Check CF-CLI\n' ; cf --version printf '\n=> Check CILIUM-CLI\n' ; cilium version printf '\n=> Check CREDHUB-CLI\n' ; credhub --version +printf '\n=> Check CROSSPLANE-CLI\n' ; crossplane --version printf '\n=> Check FLUX-CLI\n' ; flux --version printf '\n=> Check FLY-CLI\n' ; fly --version printf '\n=> Check GCLOUD-CLI\n' ; gcloud --version diff --git a/tools/tools.sh b/tools/tools.sh index 2a40d6f..b6cbc26 100755 --- a/tools/tools.sh +++ b/tools/tools.sh @@ -25,6 +25,7 @@ printf "\n%bKUBERNETES TOOLS (to use with log-k8s)%b\n" "${GREEN}${BOLD}${REVERS display "argo" "Kubernetes Workflow Management" display "check-k8s" "Check kubernetes clusters (uses kubeconfig to select clusters)" display "cilium" "Kubernetes Security and Networking cli" +display "crossplane" "Crossplane cli" display "flux" "Kubernetes Gitops Management" display "get-minio-token" "Get token to use minio operator web-ui" display "helm" "Kubernetes Package Manager"