Repository navigation
Conversation
af487e3 to
878acbb
Compare
450d411 to
4e56a70
Compare
|
Hello, regards Philipp |
|
Hello! We have the same use case, and we would like to know if it will be possible to merge this pull request. Regards! |
|
Hi, Is there an issue with the pull request? Can we have an explanation why it is not merged yet? Thanks |
|
What would it be necessary for this pull request to be accepted? This feature it is mandatory for people working with different environments: dev, test, prod. So I would like to know if there is something that is blocking the acceptance of this PR, and if so, how can I help to unblock the issue. |
|
Maybe solving the conflicts would help. |
|
Should that be a subcommand to |
|
@cobexer we would love to be able to use this functionality. Please resolve the conflicts. It would elevate OCI container registries first class citizens. Then perhaps we can ask @mattfarina what we need to do to get helm/community#259 and this PR merged in |
|
Hello, if @cobexer doesn't answer should I create a new pull request with the conflicts solved? I have a branch ready where the fix is applied to the current main branch: Let me know if this is OK? Regards Philipp |
|
Hi, I managed to get all workflows to go green and merged current helm:main. Everything lgtm. How should we proceed? Should I create a new PR and refer to this one? Regards Philipp |
|
Any news here? Regards Philipp |
|
We are also waiting on this - we have lots of generic pipeline code that works well with non-OCI registries. Bitnami have moved to OCI-only registries and now are stuck "hardcoding" registry URLs for our private registries into Helm charts which used alias before in different DTAP environments |
|
@cobexer i am going to start evaluating this integration. would you be able to resolve the code conflicts? |
|
Hi, I try again. I don't think @cobexer will answer. I recreated the changes in the right place and if you like I make a pull request: Regards Philipp |
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
|
@sabre1041 since this PR is from a past live at a past employer I did not pay attention to the GitHub notifications, if you are still interesed in this I may be able to spend a few minutes to pull relevant changes and update this PR but would like to then (mostly) hand over as I don't have relevant environments at hand any more. @ffppmm I expect you may be able to test this in your environments? |
4e56a70 to
c4c87ac
Compare
|
So I rebased this on top of |
|
@cobexer if it's main it will be for helm v4. 👍 |
|
@benoittgt no idea what helm is up to right nowadays, do you have a pointer for me that could help me understand where to target the PR? I guess the contribution guide is a start ^^ https://github.com/helm/helm/blob/d2236e95ed05e3c5b2598ceb677baa76011d9597/CONTRIBUTING.md#helm-v3-and-v4 |
c4c87ac to
173abb9
Compare
👏 Thanks a lot |
173abb9 to
c69a400
Compare
helm alias set: configure an alias that maps a name to an oci url used like with legacy repositories `@name` or `alias:name` helm alias list: shows aliases and substitutions helm alias substitute: configure registry url substitutions for example substitute oci://some-vendor.example.com/vendor/charts with oci://internal.example.com/charts/3rdparty/vendor and thus helm will never contact some-vendor.example.com but instead resolve the vendors charts using internal.example.com Signed-off-by: Christoph Obexer <[email protected]>
c69a400 to
3976c06
Compare
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
|
@sabre1041 any current interest in helm oci alias support? |
Hi @cobexer . Alias support is still functionality that it desired by the Helm project. The functionality found for aliasing OCI registries and other OCI capabilities is being included in this HIP which provides both a comprehensive and standardized method of managing OCI content. Your input in this HIP would be beneficial given your interest in the topic |
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>
Migrate helm.sh/helm/v4/pkg/registry from oras.land/oras-go/v2 to github.com/oras-project/oras-go/v3 (v3.0.2-dev) and wire in the full container ecosystem config stack: - Mechanical v2 -> v3 API migration (credentials, auth client, login/logout) - config.LoadConfigs(): Docker config.json, containers auth.json, registries.conf, certs.d, policy.json, registries.d - newRepository() uses RegistryProperties + NewRepositoryWithProperties for mirror resolution, per-registry TLS, and CLI flag overrides - policy.json enforcement via builder.PolicyEvaluator - registries.d + signedBy signature verification - LoadConfigsWithOptions override paths (ConfigOptions) - Login path Location rewrite from registries.conf - Namespaced authentication support for registry login - Set [pull,push] scope when pushing to token-auth registries Closes: helm#11771 Signed-off-by: Terry Howe <[email protected]>

helm alias set: configure an alias that maps a name to an oci url
used like with legacy repositories
@nameoralias:namehelm alias list: shows aliases and substitutions
helm alias substitute: configure registry url substitutions
for example substitute
oci://some-vendor.example.com/vendor/chartswithoci://internal.example.com/charts/3rdparty/vendorand thus helm will never contact
some-vendor.example.combut insteadresolve the vendors charts using
internal.example.comSigned-off-by: Christoph Obexer [email protected]
What this PR does / why we need it:
OCI Helm Charts lack support for repository aliases which makes adoption more difficult if different environments (dev, qa, prod) can't access a shared OCI registry. In #10013 I asked for the missing alias support... since nobody added it so far I created this PR. There is also a HIP asking for a similar feature helm/community#259
Special notes for your reviewer:
This is my first contribution to helm, while this PR contains some documentation and unit-tests I'm sure this needs more unit-tests and documentation to be acceptable :)
If applicable: