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

"forceHttpBasicAuth" & "enableOCI" repo configs are reset when repository is updated via UI #16793

Closed
svghadi opened this issue Jan 9, 2024 · 0 comments · Fixed by #16794
Closed
Labels
bug Something isn't working

Comments

@svghadi
Copy link
Contributor

svghadi commented Jan 9, 2024

Describe the bug
Whenever repository credentials/configs are updated from Argo CD UI, the "forceHttpBasicAuth" & "enableOCI" repo configs if set, are reset to default values i.e false.

To Reproduce

  1. Create a repository via Argo CD UI with "Force HTTP basic auth" flag set to true
  2. Check the repository secret in argocd namespace. "forceHttpBasicAuth" value should be true.
  3. Update the repository creds from Argo CD UI.
  4. Check the repository secret in argocd namespace. "forceHttpBasicAuth" value is reset to false. (should have been true)

Expected behavior
Repository update from UI shouldn't reset "forceHttpBasicAuth" & "enableOCI" values to default

Screenshots

flag-reset-to-default.mov

Version

latest/master
@svghadi svghadi added the bug Something isn't working label Jan 9, 2024
@svghadi svghadi changed the title "forceHttpBasicAuth" & "enableOCI" repo configs are reset when creds are updated via UI "forceHttpBasicAuth" & "enableOCI" repo configs are reset when repository is updated via UI Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant