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

rewrite func getImageNameTag for supporting registries with port #372

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

artem198315
Copy link
Contributor

To make operator works with image's path in format myregistry.local.com:5000/metallb/controller:v0.13.9

Copy link
Member

@oribon oribon left a comment

Choose a reason for hiding this comment

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

thanks for submitting this, can you please add a unit test that verifies that we parse correctly the different formats of images?

pkg/helm/config.go Outdated Show resolved Hide resolved
@artem198315
Copy link
Contributor Author

thanks for submitting this, can you please add a unit test that verifies that we parse correctly the different formats of images?

i added unit test

@oribon
Copy link
Member

oribon commented Aug 2, 2023

can you rebase so that only your 2 commits show up, and add some message? we're trying to follow https://cbea.ms/git-commit, a short description suffices

@artem198315
Copy link
Contributor Author

can you rebase so that only your 2 commits show up, and add some message? we're trying to follow https://cbea.ms/git-commit, a short description suffices

Please, check

Copy link
Member

@oribon oribon left a comment

Choose a reason for hiding this comment

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

few small things, and I think this is ready :)

pkg/helm/config_test.go Outdated Show resolved Hide resolved
pkg/helm/config_test.go Outdated Show resolved Hide resolved
pkg/helm/config_test.go Outdated Show resolved Hide resolved
pkg/helm/config.go Show resolved Hide resolved
@artem198315
Copy link
Contributor Author

Please, check

Copy link
Member

@oribon oribon 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 @artem198315

@oribon
Copy link
Member

oribon commented Aug 6, 2023

@artem198315 sorry clicked the wrong button 😞, can you please rebase your local branch and push again?

To make operator works with image's path in format:
  myregistry.local.com:5000/metallb/controller:v0.13.9

Signed-off-by: artem198315 <[email protected]>
@artem198315
Copy link
Contributor Author

@artem198315 sorry clicked the wrong button 😞, can you please rebase your local branch and push again?

Done

@oribon oribon merged commit dbb57ea into metallb:main Aug 7, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants