Skip to content

Commit f20bb97

Browse files
authored
Update 05-argocd_login.yaml
1 parent 3320d1e commit f20bb97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/openshift/e2e/sequential/1-035_validate_argocd_secret_repopulate/05-argocd_login.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ commands:
44
- script: |
55
api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
66
password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)
7-
output=$(argocd login $api_server --username admin --password $password --insecure)
7+
8+
# --skip-test-tls is added as a temporary fix to "context deadline exceeded" failure
9+
output=$(argocd login $api_server --username admin --password $password --insecure --skip-test-tls)
810
911
if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
1012
if [[ "${output}" == *"rpc error: code = Unknown desc = server.secretkey is missing" ]]; then

0 commit comments

Comments
 (0)