github.com/argoproj-labs/argocd-operator@v0.10.0/tests/k8s/1-011_validate_repo_exec_timeout/04-check-workload-env.yaml (about) 1 apiVersion: kuttl.dev/v1beta1 2 kind: TestStep 3 commands: 4 - script: sleep 30 5 - script: | 6 timeout=$(kubectl get -n $NAMESPACE deployment argocd-repo-server -o json \ 7 | jq -r '.spec.template.spec.containers[0].env[]|select(.name=="ARGOCD_EXEC_TIMEOUT").value') 8 if test "$timeout" != "300s"; then 9 echo "Assertion failed. Timeout should be 300s, is '$timeout'" 10 exit 1 11 fi