-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
fix: Unable to edit http repo credentials from ArgoCD UI #22065
base: master
Are you sure you want to change the base?
Conversation
🔴 Preview Environment stopped on BunnyshellSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have to add http
as a new Connection method, as a separate change, when one wants to create a new repo connection? Or, should the current https be named to http(s)
, or http/https
, or.....?
The existing HTTPS connection method already handles both HTTP and HTTPS protocols under the hood - we just needed to fix the validation and UI display. Renaming it to HTTP/HTTPS would make sense to better reflect this capability. |
1a7da01
to
8ef3738
Compare
@@ -355,7 +358,14 @@ export class ReposList extends React.Component< | |||
<div className='columns small-4'> | |||
<Tooltip content={repo.repo}> | |||
<span> | |||
<Repo url={repo.repo} /> | |||
<a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this change? The Repo
component should take care of this? However, the Repo component probably needs to be updated to include onClick={e => e.stopPropagation()}
@@ -125,7 +125,7 @@ interface NewGoogleCloudSourceRepoCredsParams { | |||
|
|||
export enum ConnectionMethod { | |||
SSH = 'via SSH', | |||
HTTPS = 'via HTTPS', | |||
HTTPS = 'via HTTP/HTTPS', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Atif Ali <[email protected]>
Signed-off-by: Atif Ali <[email protected]>
Signed-off-by: Atif Ali <[email protected]>
Signed-off-by: Atif Ali <[email protected]>
Signed-off-by: Atif Ali <[email protected]>
Signed-off-by: Atif Ali <[email protected]>
Signed-off-by: Atif Ali <[email protected]>
Fixes: #22246
This PR fixes the issue where HTTP repository credentials cannot be edited from the ArgoCD UI. Previously, only HTTPS repositories were clickable and editable in the UI. Now both HTTP and HTTPS repositories can be edited.
Checklist: