Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded ArgoCD operator, ArgoCD to pick up the fix error when route api is not available #761

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

anandf
Copy link
Member

@anandf anandf commented Aug 8, 2024

What type of PR is this?
/kind bug

What does this PR do / why we need it:
Upgraded ArgoCD Operator and ArgoCD to pick up the fix related to ArgoCD UI broken when the route API becomes unavailable momentarily.

When there is an issue with the API server pods, or the API server pods are just coming up after a restart, the current check for API availability done with a discovery client will fail. This makes the operator code to assume that the server does not support the Route API. To fix this, whenever the API availability check fails, the operator checks if the API is registered. If registered, then the operator assumes that the Route API is supported in the cluster and would eventually become available.

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Fixes https://issues.redhat.com/browse/GITOPS-4358

Test acceptance criteria:

  • Unit Test
  • E2E Test

How to test changes / Special notes to the reviewer:

@anandf
Copy link
Member Author

anandf commented Aug 8, 2024

/test v4.14-kuttl-parallel
/test v4.13-kuttl-parallel
/test v4.12-kuttl-parallel

@anandf
Copy link
Member Author

anandf commented Aug 8, 2024

/retest

anandf added 2 commits August 9, 2024 15:19
Signed-off-by: Anand Francis Joseph <[email protected]>
@anandf
Copy link
Member Author

anandf commented Aug 9, 2024

/test v4.13-kuttl-parallel
/test v4.14-kuttl-parallel

@iam-veeramalla
Copy link
Collaborator

/lgtm
/approve

Copy link

openshift-ci bot commented Aug 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iam-veeramalla

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Aug 9, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 1f42107 into redhat-developer:master Aug 9, 2024
20 checks passed
trdoyle81 pushed a commit to trdoyle81/gitops-operator that referenced this pull request Aug 13, 2024
…api is not available (redhat-developer#761)

* Upgraded ArgoCD operator, ArgoCD to pick up the fix for Route API not being available

Signed-off-by: Anand Francis Joseph <[email protected]>

* Reverted operator-sdk version to 1.35

Signed-off-by: Anand Francis Joseph <[email protected]>

* fixed a failing test due to mount path mismatch

Signed-off-by: Anand Francis Joseph <[email protected]>

---------

Signed-off-by: Anand Francis Joseph <[email protected]>
ishitasequeira pushed a commit to ishitasequeira/gitops-operator that referenced this pull request Nov 6, 2024
…api is not available (redhat-developer#761)

* Upgraded ArgoCD operator, ArgoCD to pick up the fix for Route API not being available

Signed-off-by: Anand Francis Joseph <[email protected]>

* Reverted operator-sdk version to 1.35

Signed-off-by: Anand Francis Joseph <[email protected]>

* fixed a failing test due to mount path mismatch

Signed-off-by: Anand Francis Joseph <[email protected]>

---------

Signed-off-by: Anand Francis Joseph <[email protected]>
Signed-off-by: Ishita Sequeira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants