Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Update chart.RegistrySecretsPerDomain to depend on kube clientset only.#3362

Merged
absoludity merged 1 commit into
masterfrom
registrySecretsPerDomainInterface
Sep 7, 2021
Merged

Update chart.RegistrySecretsPerDomain to depend on kube clientset only.#3362
absoludity merged 1 commit into
masterfrom
registrySecretsPerDomainInterface

Conversation

@absoludity
Copy link
Copy Markdown
Contributor

Description of the change

This is a spin-off change for supporting CreateInstalledPackage via the new kubeapps apis. I don't want the new kubeapps-apis to need to deal with the kube.handler abstraction, since our plugins don't even see the user token, nor should they need to know about them.

Benefits

The RegistrySecretsPerDomain function depends on less code.

Possible drawbacks

None known.

Applicable issues

Additional information

Signed-off-by: Michael Nelson <minelson@vmware.com>
Copy link
Copy Markdown
Contributor

@antgamdia antgamdia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! Thanks for the change, happy to see we are just passing the ctx instead instead of manually pass the cluster, token etc...

@absoludity absoludity merged commit a479665 into master Sep 7, 2021
@absoludity absoludity deleted the registrySecretsPerDomainInterface branch September 7, 2021 23:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants