Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfiea committed Dec 5, 2024
1 parent edef267 commit 1e8eda3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ spec:
- name: MAS_WORKSPACE_ID
value: {{ .Values.mas_workspace_id }}
command:
- /bin/bash
- /bin/sh
- -c
- |
Expand All @@ -164,7 +164,7 @@ spec:
echo "Status found is: ${MANAGE_DEPLOYMENTREADY_MSG}"
echo "The ManageWorkspace Status does not indicate it is ready for offlineupgrade, so do nothing"
fi
oc patch -n ${MAS_APP_NAMESPACE} manageofflineupgraderequest.apps.mas.ibm.com manageofflineupgraderequest-${MAS_WORKSPACE_ID} --subresource status --type=json -p="[{'op': 'remove', 'path': '/status'}]"
oc patch -n ${MAS_APP_NAMESPACE} manageofflineupgraderequest.apps.mas.ibm.com manageofflineupgraderequest-${MAS_WORKSPACE_ID} --subresource status --type=json -p="[{\'op\': \'remove\', \'path\': \'/status\'}]"
oc patch -n ${MAS_APP_NAMESPACE} manageofflineupgraderequests.apps.mas.ibm.com manageofflineupgraderequest-${MAS_WORKSPACE_ID} --type merge -p $'spec:\n stage: requested'
restartPolicy: Never
serviceAccountName: {{ $sa_name }}
Expand Down

0 comments on commit 1e8eda3

Please sign in to comment.