Skip to content

Commit

Permalink
fix patch command
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed May 21, 2024
1 parent 7abfcf0 commit cf75707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ done
sleep 2

# patch kuberoes resource with the new image
kubectl patch kuberoapps.application.kubero.dev ${APP} -p "{\"spec\":{\"image\":{\"repository\":"${REPOSITORY}",\"tag\":\"${TAG}\"}}}"
kubectl patch --type=merge kuberoapps.application.kubero.dev ${APP} -p "{\"spec\":{\"image\":{\"repository\":\"${REPOSITORY}\",\"tag\":\"${TAG}\"}}}"
if [ $? -ne 0 ]; then
echo "Failed to patch kubero app resource"
exit 1
Expand Down

0 comments on commit cf75707

Please sign in to comment.