File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
test/openshift/e2e/sequential/1-040_validate_quoted_RBAC_group_names Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,21 @@ apiVersion: kuttl.dev/v1beta1
22kind : TestStep
33commands :
44- script : |
5+
6+ echo "routes:"
7+ oc get routes -n openshift-gitops -o yaml
8+
9+ echo "route hosts:"
10+ oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}"
11+
12+ echo "pods:"
13+ oc get pods -n openshift-gitops -o yaml
14+
515 api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
616 password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)
717
18+ echo "argocd login $api_server --username admin --insecure"
19+
820 output=$(argocd login $api_server --username admin --password $password --insecure)
921
1022 if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
You can’t perform that action at this time.
0 commit comments