Skip to content

Fix critical issue in uninstall script on openshift#7

Merged
kornys merged 1 commit intomainfrom
ocp-uninstall-fix
Mar 23, 2026
Merged

Fix critical issue in uninstall script on openshift#7
kornys merged 1 commit intomainfrom
ocp-uninstall-fix

Conversation

@kornys
Copy link
Copy Markdown
Member

@kornys kornys commented Mar 20, 2026

Uninstall script on ocp wrongly discovers also CR types which are not related to strimzi/console etc....

[INFO] Uninstalling StreamsHub developer quick-start stack                                                                                
[INFO] Dir: . | Timeout: 300s                                                                                                             
                                                                                                                                          
[INFO] Discovered CR types:                                                                                                               
[INFO]   Strimzi: baremetalhosts bmceventsubscriptions dataimages firmwareschemas hardwaredata hostfirmwarecomponents                     
hostfirmwaresettings hostupdatepolicies kafkabridges kafkaconnectors kafkaconnects kafkamirrormaker2s kafkanodepools kafkarebalances      
kafkas kafkatopics kafkausers preprovisioningimages provisionings strimzipodsets                                                          
[INFO]   Apicurio Registry: apicurioregistries3                                                                                           
[INFO]   StreamsHub Console: catalogsources clusterserviceversions consoleclidownloads consoleexternalloglinks consolelinks               
consolenotifications consoleplugins consolequickstarts consoles consolesamples consoleyamlsamples controlplanemachinesets installplans    
machinehealthchecks machines machinesets olmconfigs operatorconditions operatorgroups operators subscriptions 

Signed-off-by: David Kornel <kornys@outlook.com>
@kornys kornys requested review from Frawless and tomncooper March 20, 2026 08:02
@kornys kornys self-assigned this Mar 20, 2026
@kornys kornys marked this pull request as ready for review March 20, 2026 08:02
Copy link
Copy Markdown
Contributor

@tomncooper tomncooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this @kornys, I hate awk, I was seriously considering rewriting these scripts in python!

@kornys kornys merged commit 1905fe1 into main Mar 23, 2026
3 checks passed
@kornys kornys deleted the ocp-uninstall-fix branch March 23, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants