From 3ac68ddaf0818aaae40adcbfedf88be99f06d921 Mon Sep 17 00:00:00 2001 From: Oleksii Orel Date: Thu, 31 Aug 2023 02:20:22 +0300 Subject: [PATCH] fixup! fixup! fixup! feat: implement an ability to customize Eclipse Che logo --- run/build-and-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/build-and-patch.sh b/run/build-and-patch.sh index 0733324e9..0e33a233e 100755 --- a/run/build-and-patch.sh +++ b/run/build-and-patch.sh @@ -33,7 +33,7 @@ PREVIOUS_CHE_DASHBOARD_IMAGE=$(kubectl get checluster -n $CHE_NAMESPACE $CHECLUS if [ "$PREVIOUS_CHE_DASHBOARD_IMAGE" == "null" ]; then kubectl patch -n "$CHE_NAMESPACE" "checluster/$CHECLUSTER_CR_NAME" --type=json -p="[{\"op\": \"replace\", \"path\": \"/spec/components/dashboard\", \"value\": {deployment: {containers: [{image: \"${CHE_DASHBOARD_IMAGE}\", name: che-dasboard}]}}}]" else - kubectl patch -n "$CHE_NAMESPACE" "checluster/$CHECLUSTER_CR_NAME" --type=json -p="[{\"op\": \"replace\", \"path\": \"/spec/components/dashboard.deployment.containers[0].image\", \"value\": ${CHE_DASHBOARD_IMAGE}}]" + kubectl patch -n "$CHE_NAMESPACE" "checluster/$CHECLUSTER_CR_NAME" --type=json -p="[{\"op\": \"replace\", \"path\": \"/spec/components/dashboard/deployment/containers/0/image\", \"value\": ${CHE_DASHBOARD_IMAGE}}]" fi echo 'Done.'