Skip to content

Commit

Permalink
fixup! fixup! fixup! feat: implement an ability to customize Eclipse …
Browse files Browse the repository at this point in the history
…Che logo
  • Loading branch information
olexii4 committed Aug 30, 2023
1 parent 918fefe commit 3ac68dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/build-and-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.'

0 comments on commit 3ac68dd

Please sign in to comment.