annotationCheck field missing in 3.x.x ChaosEngine CRD definition
kinihun opened this issue · 0 comments
What happened:
I am trying to write experiments to test Cloudnative PostgreSQL clusters and Strimzi Kafka clusters, these two don't use standard App Kinds such as Deployments, Statefulsets etc. The documentation suggests setting "annotationCheck" to "false" however this field is no longer present in the ChaosEngine CRD starting from version 3.0.0.
When I set "appKind" to "" as suggested and fill in the other spec.appinfo fields and the TARGET_PODS environment, the experiment does not start i.e. it remains in pending state via the GUI.
If I copy the workflow definition and run it using Kubectl, the experiment starts but fails
{"mainLogs":"W0620 10:48:20.348080 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.\n2024/06/20 10:48:20 \n\nChaosEngine Name : run-chaos9qsdf\n\n2024/06/20 10:48:20 Created Resource Details: \n{run-chaos9qsdf litmuschaos.io v1alpha1 ChaosEngine litmuschaos }\nW0620 10:48:20.461201 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.\n2024/06/20 10:48:20 Starting Chaos Checker in 1min\n2024/06/20 10:49:20 Checking if Engine Completed or Stopped\n2024/06/20 10:49:20 [!] ERROR : ENGINE STATUS STOPPED\n"}
What you expected to happen:
Experiment should run successfully.
Where can this issue be corrected? (optional)
Restore annotationCheck
field
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?: