litmuschaos / chaos-charts

Repository to hold chaos experiments resource YAML bundles
Apache License 2.0
77 stars 176 forks source link

ChaosEngine not received in correct format when retriving it via graphql query getYamlData #573

Open vivekdasarieric opened 1 year ago

vivekdasarieric commented 1 year ago

From litmuschaos hub we are receiving chaosengine in the below format when requesting via graphql query "getYamlData" . I guess it retrives from https://hub.litmuschaos.io/api/chaos/2.14.0?file=charts/generic/pod-delete/engine.yaml

metadata:
  name: nginx-chaos
  namespace: default

But when using this format, we are not able to create workflow we get the below error empty chaos experiment name

From the commit https://github.com/litmuschaos/litmus/commit/f416059afa7d845c8b8438cbfb6e8b4691dcec4f#diff-ddef3ecf514a4d1fe675145c[…]4ba8f1e07fc2e16b3e24be17340fc8

We could see that the name is changed to "GenerateName", Could you please fix this in chaoshub?

vivekdasarieric commented 1 year ago

https://kubernetes.slack.com/archives/CNXNB0ZTN/p1667823657872769

vivekdasarieric commented 1 year ago

@ksatchit