Skip to content

fix: dex client secret is not updated in the argocd-secret intermitte…#456

Merged
iam-veeramalla merged 1 commit into
redhat-developer:v1.8from
iam-veeramalla:fixDex
Mar 9, 2023
Merged

fix: dex client secret is not updated in the argocd-secret intermitte…#456
iam-veeramalla merged 1 commit into
redhat-developer:v1.8from
iam-veeramalla:fixDex

Conversation

@iam-veeramalla
Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind bug

What does this PR do / why we need it:
This PR will fix the issue with dex client secret is not updated in the argocd-secret intermittently.
The actual enhancement of securing the dex client secret (OIDC) is part of #847

This looks like a race condition or sometimes when operator tries to get the dex client secret from Argo CD dex service account (from the secret named token) the token secret is not created by then. This can be fixed in the reconciliation of existing Argo CD secret which is called much later multiple times.
This is an intermittent behavior and can be reproduced more on the bundle installation rather than the local installation.

Have you updated the necessary documentation?
NA

Which issue(s) this PR fixes:
https://issues.redhat.com/browse/GITOPS-2714

How to test changes / Special notes to the reviewer:
Please refer argoproj-labs/argocd-operator#872

…ntly

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
@openshift-ci openshift-ci Bot requested review from chetan-rns and wtam2018 March 9, 2023 13:50
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 9, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from iam-veeramalla. For more information see the Kubernetes Code Review Process.

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

Details 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

@iam-veeramalla iam-veeramalla merged commit 02ce269 into redhat-developer:v1.8 Mar 9, 2023
trdoyle81 pushed a commit to trdoyle81/gitops-operator that referenced this pull request Aug 13, 2024
fix: dex client secret is not updated in the argocd-secret intermitte…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant