Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.0

require (
github.com/argoproj-labs/argo-rollouts-manager v0.0.5-0.20241019174305-df262fe66d25
github.com/argoproj-labs/argocd-operator v0.12.2
github.com/argoproj-labs/argocd-operator v0.12.3-0.20250210115344-d32eeaa4a963
github.com/coreos/prometheus-operator v0.40.0
github.com/go-logr/logr v1.4.2
github.com/google/go-cmp v0.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,8 @@ github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb
github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU=
github.com/argoproj-labs/argo-rollouts-manager v0.0.5-0.20241019174305-df262fe66d25 h1:Q3Xe/zfMlZ7AqW8FT2l4cGmKfsdhC99V3bulDhD7Pqo=
github.com/argoproj-labs/argo-rollouts-manager v0.0.5-0.20241019174305-df262fe66d25/go.mod h1:seR9B+tx6AbGaya+JA61HDBFciKx7FM7t/1IMhOwXlM=
github.com/argoproj-labs/argocd-operator v0.12.2 h1:fWCAECtkgdoAQBsOU13pOnRTLuD+Z9cbajvLEQN60x0=
github.com/argoproj-labs/argocd-operator v0.12.2/go.mod h1:0eQPIftjtMZ1ShLptYp+j4tUemF+CF5qrWBrQ1wNKgM=
github.com/argoproj-labs/argocd-operator v0.12.3-0.20250210115344-d32eeaa4a963 h1:Ey+K/vp3kN+ozFHl3Bb50YsrxpsRyZ2QBcdIkOD+I0w=
github.com/argoproj-labs/argocd-operator v0.12.3-0.20250210115344-d32eeaa4a963/go.mod h1:0eQPIftjtMZ1ShLptYp+j4tUemF+CF5qrWBrQ1wNKgM=
github.com/argoproj/argo-cd/v2 v2.12.7 h1:ug9spvZhpxyvgpj3r3IA3woLExVkAjOdA7NAqFlm4P8=
github.com/argoproj/argo-cd/v2 v2.12.7/go.mod h1:BS64uTH/mG3dEpulAI4oIyJiluuYdAbGlisR/s9FrEM=
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ commands:
- script: |
api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)
output=$(argocd login $api_server --username admin --password $password --insecure)
output=$(argocd login $api_server --username admin --password $password --insecure --skip-test-tls)

if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
if [[ "${output}" == *"rpc error: code = Unknown desc = server.secretkey is missing" ]]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ commands:
api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)

output=$(argocd login $api_server --username admin --password $password --insecure)
output=$(argocd login $api_server --username admin --password $password --insecure --skip-test-tls)

if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
exit 1
Expand Down
Loading