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

feat(charts): add global.imageRegistry parameter #227

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

LKummer
Copy link

@LKummer LKummer commented Dec 25, 2024

Pull Request template

Why is this PR required? What issue does it fix?:

Fixes #203.

What this PR does?:

  • Adds global.imageRegistry Helm parameter for specifying an image registry to be used for all images. It is overridden by localpv.image.registry and helperPod.image.registry when specified.
  • Adds support for specifying image registries without a trailing /, while still supporting a trailing / to avoid breaking existing configurations.

Does this PR require any upgrade changes?:

No.

If the changes in this PR are manually verified, list down the scenarios covered::

  • Installation with default values.
  • Installation with global.imageRegistry set without trailing /.
  • Installation with global.imageRegistry and localpv.image.registry set without trailing /.
  • Installation with global.imageRegistry and helperPod.image.registry set without trailing /.
  • Installation with global.imageRegistry, localpv.image.registry and helperPod.image.registry set without trailing /.
  • Installation with localpv.image.registry set with trailing /.
  • Installation with helperPod.image.registry set with trailing /.

Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

No.

Checklist:

Add global.imageRegistry option overridden by localpv.image.registry and
helperPod.image.registry for localpv and helper Pod respectively.
Fix registry options requiring a trailing slash while still supporting a
trailing slash to avoid breaking existing configurations.

Signed-off-by: Lior Friedman <lior@sneakybugs.com>
Signed-off-by: Lior Friedman <lior@sneakybugs.com>
Signed-off-by: Lior Friedman <lior@sneakybugs.com>
@LKummer
Copy link
Author

LKummer commented Dec 26, 2024

I tried to force push to re-run the CI job, it seems to have failed before installing the chart in the integration test.

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.

Helm chart should read image registry name from global.imageRegistry variable
1 participant