Skip to content

Commit 45885da

Browse files
committed
Update
1 parent 7f5524c commit 45885da

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,27 @@ commands:
99
echo "route hosts:"
1010
oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}"
1111
12+
13+
1214
echo "pods:"
1315
oc get pods -n openshift-gitops -o yaml
1416
1517
api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
1618
password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)
1719
20+
echo "wget: $api_server"
21+
wget "http://$api_server" || true
22+
1823
argocd version || true
1924
2025
echo "argocd login $api_server --username admin --insecure"
2126
22-
output=$(argocd login $api_server --username admin --password $password --insecure)
27+
output=$(argocd login $api_server --skip-test-tls --username admin --password $password --insecure)
28+
29+
echo "Output:"
30+
echo $output
31+
32+
kubectl logs deployment/openshift-gitops-server -n openshift-gitops
2333
2434
if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
2535
exit 1

0 commit comments

Comments
 (0)