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

Support dockerconfigjson with OCI HelmRepositories #725

Merged
merged 10 commits into from
May 24, 2022
Merged

Conversation

makkes
Copy link
Member

@makkes makkes commented May 20, 2022

@makkes makkes marked this pull request as draft May 20, 2022 20:19
@makkes makkes mentioned this pull request May 20, 2022
6 tasks
@stefanprodan stefanprodan added enhancement New feature or request area/helm Helm related issues and pull requests labels May 22, 2022
@makkes makkes self-assigned this May 22, 2022
@makkes makkes marked this pull request as ready for review May 23, 2022 13:08
@souleb
Copy link
Member

souleb commented May 23, 2022

LGTM.

@makkes makkes added the area/oci OCI related issues and pull requests label May 23, 2022
Max Jonas Werner added 10 commits May 24, 2022 10:31
When the Secret referenced in an OCI HelmRepository doesn't contain a
username and password, the controller doesn't panic, anymore.

Signed-off-by: Max Jonas Werner <mail@makk.es>
`loginOptionFromSecret` now derives username/password from a docker
config stored in Secrets of type "kubernetes.io/dockerconfigjson".

Signed-off-by: Max Jonas Werner <mail@makk.es>
When setup of one of the two controller reconciling HelmRepositories
fails, it's now possible to judge from the log which setup call failed
by regarding the "type" log field.

Signed-off-by: Max Jonas Werner <mail@makk.es>
Signed-off-by: Max Jonas Werner <mail@makk.es>
Signed-off-by: Max Jonas Werner <mail@makk.es>
This new package holds all Helm OCI registry-specific code now so we
have a single location to look for such code which makes it easier to
find yourself around.

Signed-off-by: Max Jonas Werner <mail@makk.es>
Signed-off-by: Max Jonas Werner <mail@makk.es>
Signed-off-by: Max Jonas Werner <mail@makk.es>
Signed-off-by: Max Jonas Werner <mail@makk.es>
Signed-off-by: Max Jonas Werner <mail@makk.es>
@stefanprodan
Copy link
Member

@makkes can you please rebase with main

@makkes
Copy link
Member Author

makkes commented May 24, 2022

@makkes can you please rebase with main

I'm at it

@makkes
Copy link
Member Author

makkes commented May 24, 2022

rebased and force-pushed

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @makkes 🏅

@stefanprodan stefanprodan merged commit 351b21b into main May 24, 2022
@stefanprodan stefanprodan deleted the oci-dockerconfig branch May 24, 2022 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Helm related issues and pull requests area/oci OCI related issues and pull requests enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants