FAILED cassandra-operator-1.0.0

Author: Manoj Kinage

Originally Sourced from: https://stackoverflow.com/questions/62588460/failed-cassandra-operator-1-0-0

I am getting the below error while setting up cassandra-operator.

$ helm list
NAME            REVISION        UPDATED                         STATUS  CHART                           APP VERSION     NAMESPACE
r8e789c134d     1               Fri Jun 26 07:00:39 2020        FAILED  cassandra-operator-1.0.0        1.0.1           apiconnect

$ helm status r8e789c134d
LAST DEPLOYED: Fri Jun 26 07:00:39 2020
NAMESPACE: apiconnect
STATUS: FAILED

NOTES:
1. Get the cassandra-cluster admin URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace apiconnect -l "app=cassandra-operator,release=r8e789c134d" -o jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:1770 to use your application"
  kubectl port-forward $POD_NAME 1770:1770

$ export POD_NAME=$(kubectl get pods --namespace apiconnect -l "app=cassandra-operator,release=r8e789c134d" -o jsonpath="{.items[0].metadata.name}") error: error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":"", "selfLink":""}}

Please let me know if there is any issue in the set up.

Thanks in advance.