Skip to content

Commit 73b33b1

Browse files
committed
Update
1 parent 035621d commit 73b33b1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/openshift/e2e/sequential/1-040_validate_quoted_RBAC_group_names/01-login_argocd_api_server.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,21 @@ apiVersion: kuttl.dev/v1beta1
22
kind: TestStep
33
commands:
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

0 commit comments

Comments
 (0)