-
Notifications
You must be signed in to change notification settings - Fork 9
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: add redhat registry logo #64
fix: add redhat registry logo #64
Conversation
Signed-off-by: Denis Golovin <[email protected]>
There seems to be an issue with spacing between icon and registry name for this kind of entries. |
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.
IMHO we should include the png image as a resource
like https://github.com/containers/podman-desktop/blob/main/extensions/registries/src/extension.ts#L22
and https://github.com/containers/podman-desktop/blob/main/extensions/registries/src/extension.ts#L70-72
so you don't need to read the file, it's included in the .js file
also if the file is not found, it raises compilation error while in your case it'll be deferred to the runtime
I was looking for that, but missed it. I'll update the PR. |
Is that something to fix in Podman Desktop or the extension? Is there a way we can change the name to "Red Hat Container Registry"? |
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.
Shouldn't we have a more friendly name ?
I've added the name change in the GitHub UI suggested change |
like {
"auths": {
"quay.io": {
"alias": "[email protected]",
"auth": "encoded-value"
}
}
} |
I am unable to answer the questions but am sure that @dgolovin knows. I like the idea of displaying the email address used in SSO. |
@vrothberg do you know if podman will ignore extra fields that we may store in |
It's JSON, so it very likely ignores unknown fields. But it's dangerous territory as it may break at any time in the future if we exploit the auth.conf for another purpose. |
Co-authored-by: Florent BENOIT <[email protected]>
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.
I'm also fine to have the png import in a follow up PR
@benoitf There is no way to control user name, I call API with request to create 'podman-desktop' service account and it returns json with username/password. It looks like user name is generated as ${organizationID}|${requested-service-account-name}. |
BTW icon and name for the registry does not survive podman desktop restart podman-desktop/podman-desktop#6218 |
Created follow up issue #68 |
Fix #38.