github.com/argoproj-labs/argocd-operator@v0.10.0/tests/k8s/1-006_validate-managed-by-chain/03-check-secret.yaml (about)

     1  apiVersion: kuttl.dev/v1beta1
     2  kind: TestStep
     3  commands:
     4  - script: |
     5      namespaces=$(kubectl get secret -n $NAMESPACE argocd-default-cluster-config -o jsonpath='{.data.namespaces}' | base64 -d)
     6      if test "$namespaces" != "$NAMESPACE,test-1-12-custom"; then
     7        echo "Assertion for cluster secret failed!"
     8        exit 1
     9      fi
    10      exit 0