-
Notifications
You must be signed in to change notification settings - Fork 810
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
helm charts: unexpected image name splicing #2477
Comments
Pattern A:Remove If user use
before, he should use
after the updates. Many flags need to be set, but if the user using a Well-known projects use this pattern:
Pattern B:Use three parts (
The disadvantage is there is no completed docker image name in the configuration file. Well-known projects use this pattern:
Pattern C:Use two parts (
Well-known projects use this pattern:
Pattern D(which is not recommended personally):Replace the repository domain in Input:
I do not recommend it because it's not simple enough, including replacing and string cutting. |
I prefer pattern A. This pattern is more simple. |
@STRRL Hi, it has some errors here, traefik is belong to patternB, and cilium is belong to patternC. BTW, reading the And about patternA, it's applicable to charts with single service component, while patternB is more applicable to charts with multi-service components. More specifically, when using patternB, users basically only need to |
I prefer pattern B as |
I would work on pattern B from the above comments. :D |
Feature Request
Is your feature request related to a problem? Please describe:
Yes.
make install
could not works well on the current master (bfee629), after #2462 merged.After we migrated the docker images from dockerhub to
ghcr.io
, the way to render the image name is not suitable anymore, because theghcr.io
repository domain has been brought by default:Ref:
chaos-mesh/helm/chaos-mesh/templates/chaos-dashboard-deployment.yaml
Line 56 in 0d683c6
We are now using
{{template "registry-prefix" .}}{{ .Values.dashboard.image }}
, but the registry-prefix should already be a part of image name.Our official image is
ghcr.io/chaos-mesh/chaos-mesh/chao-mesh/:latest
, if the user has a self-hosted mirror with domainmirror.self.hosted
, and the user setupregistry
in the helm values, the final result ismirror.self.hosted/ghcr.io/chaos-mesh/chaos-mesh/chao-mesh/:latest
, which is incorrect.Describe the feature you'd like:
Updated:
Pattern B with
registry
,repository
,tag
is chosen to use.I'm not sure about which is the most fluency way to configure the image. I would give some available solutions in the comments. :)
Feel free to leave any comments!
Describe alternatives you've considered:
No other alternatives.
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: