From e4bc19a222e4420a3b86304758211e8c87c5c39d Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Mon, 24 Oct 2022 09:58:01 +0000 Subject: [PATCH] [installer]: print the installer version to the kots-install script --- install/installer/scripts/kots-install.sh | 2 ++ install/kots/manifests/gitpod-installation-status.yaml | 2 +- install/kots/manifests/gitpod-installer-job.yaml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/install/installer/scripts/kots-install.sh b/install/installer/scripts/kots-install.sh index be664bf76e5f04..84b6253b751383 100755 --- a/install/installer/scripts/kots-install.sh +++ b/install/installer/scripts/kots-install.sh @@ -86,6 +86,8 @@ version: "1.0.0" appVersion: "$(/app/installer version | yq e '.version' -)" EOF + echo "Gitpod: Installer version - $(/app/installer version | yq e '.version' -)" + echo "Gitpod: Generate the base Installer config" /app/installer config init diff --git a/install/kots/manifests/gitpod-installation-status.yaml b/install/kots/manifests/gitpod-installation-status.yaml index 642bcbbe617bfd..d3798b7a9cf5fe 100644 --- a/install/kots/manifests/gitpod-installation-status.yaml +++ b/install/kots/manifests/gitpod-installation-status.yaml @@ -30,7 +30,7 @@ spec: containers: - name: installation-status # This will normally be the release tag - image: "eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-kill-workspaces.14" + image: "eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-version-script.2" envFrom: - configMapRef: name: gitpod-kots-config diff --git a/install/kots/manifests/gitpod-installer-job.yaml b/install/kots/manifests/gitpod-installer-job.yaml index ae0ab86c082b3c..bae41338e40685 100644 --- a/install/kots/manifests/gitpod-installer-job.yaml +++ b/install/kots/manifests/gitpod-installer-job.yaml @@ -39,7 +39,7 @@ spec: containers: - name: installer # This will normally be the release tag - image: "eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-kill-workspaces.14" + image: "eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-version-script.2" volumeMounts: - mountPath: /mnt/node0 name: node-fs0