openshift / openshift/cloud-credential-operator

RFE: Ignore none existing resource when trying to delete

Open
#1,009 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lifecycle/frozen
Dominant language
Go
Stars
75
Forks
196
Avg merge
8d 13h
Merged PRs (30d)
5

Description

ccoctl delete-service-id and openshift-install destroy cluster can fail when IBM Cloud resources (service IDs, resource groups) are already gone.

Add the option --ignore-if-missing so the script can exit cleanly if nothing to remove.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ccoctl delete-service-id and openshift-install destroy cluster command paths, then trace how missing IBM Cloud service IDs and resource groups are handled. Add the --ignore-if-missing behavior so deletion exits cleanly when resources are already absent, and verify both commands retain their current behavior otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.