-
Notifications
You must be signed in to change notification settings - Fork 795
Closed
Labels
Hacktoberfestbuggood first issuehacktoberfest-acceptedAccepted for HacktoberFestAccepted for HacktoberFest
Description
In the ChaosCenter, when disabling a chaos infrastructure from the Environment section, the popup shows a command to delete the chaos experiments, engines, and results. The current command is incorrect, which can cause users to fail when trying to clean up resources.
Current command displayed:
kubectl delete chaosexperiment chaosengine chaosresult --all -n chaos-infrastructure
Correct command:
kubectl delete chaosexperiment,chaosengine,chaosresult --all -n ${chaosInfrastructureNamespace}
Location
ChaosCenter → Environment section → select Disable Chaos infra → Disable Chaos Infrastructure popup
Steps to Reproduce
- Open ChaosCenter.
- Navigate to the Environment section.
- Select Disable Chaos Infra for an environment.
- Observe the delete command in the popup.
Expected Behavior
- The popup should display the correct command:
kubectl delete chaosexperiment,chaosengine,chaosresult --all -n ${chaosInfrastructureNamespace}
Proposed Fix
- Update the command text in the popup and use commas to separate the resource types.
- Verify that the pop-up displays the command correctly for all environments.
Metadata
Metadata
Assignees
Labels
Hacktoberfestbuggood first issuehacktoberfest-acceptedAccepted for HacktoberFestAccepted for HacktoberFest