Skip to content

Commit

Permalink
Allow clean namespace shutdown after run and avoid Cryostat blocking …
Browse files Browse the repository at this point in the history
…the namespace deletion
  • Loading branch information
ahus1 committed Jul 14, 2023
1 parent f93c36e commit d5d034a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/keycloak-delete-deployment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ runs:
steps:
- id: delete_keycloak_project
shell: bash
run: oc delete project "${{ inputs.project }}"
# Workaround: delete Cryostat (if installed) first to not block namespace deletion
# https://github.com/cryostatio/cryostat/issues/1588
run: |
oc delete cryostat/cryostat -n "${{ inputs.project }}" || exit 0
oc delete project "${{ inputs.project }}"

0 comments on commit d5d034a

Please sign in to comment.