Comments (2)
Latest working helm version is v3.13.1
all newer version till v3.14.2 won't work.
We attempt to support basic auth #12237, but due to the lack of standardization of OCI authentication, doing so broke (1, 2) many other registries.
The reason Helm 3.13.1 works, is it did contain this functionality, but it was reverted v3.13.2 onwards.
A concrete proposal/specification on how to support different authentication types for different registries would be needed to more forward at this point IMHO.
from helm.
@gjenkins8 That's what I'm wondering. I compared the two releases and it seems the feature are reverted.
Nevertheless newer versions didn't work for me. I compiled commit by commit with these results:
3547a4b: OK (v3.13.1)
99ce118: OK
268dced: OK
e785e6c: NOT OK
3b4cacf: NOT OK
10018ff: NOT OK
7e0084a: NOT OK
666b199: NOT OK
12826e8: NOT OK
00a334c: NOT OK
8f554be: NOT OK
2a2fb3b: NOT OK (v3.13.2)
Let's concentrate on e785e6c
The docker client auth in pkg/registry/client.go:96 was completely removed. For me as an enduser it looks like that I need at least Authorization header with bearer token/password to keep the upload working:
dockerClient, ok := client.authorizer.(*dockerauth.Client)
if ok {
_, password, err := dockerClient.Credential(ref.Registry)
if err != nil {
return nil, fmt.Errorf("unable to retrieve credentials: %w", err)
}
headers.Set("Authorization", fmt.Sprintf("Bearer %s", password))
}
$ helm version
version.BuildInfo{Version:"v3.13+unreleased", GitCommit:"e785e6c50c622ed5019fd4020a13509c87a3022d", GitTreeState:"dirty", GoVersion:"go1.22.1"}
$ helm push crossplane-1.15.0.tgz oci://mtr.devops.telekom.de/caas/charts
Pushed: mtr.devops.telekom.de/caas/charts/crossplane:1.15.0
Digest: sha256:4a1036c19999cbae98d7a357109c757cf866a1f541520ee260cbeef9f13f4e75
I think the newer Go version can be ignored.
from helm.
Related Issues (20)
- upgrade.RunWithContext fails if task is canceled through context, rather than proceeding in the background HOT 2
- Tests fail after 2024-06-07
- retrieving labels added to revision HOT 4
- Feature Request: Option to list Transitive Dependencies Values files
- helm install/upgrade/rollback --dry-run --debug
- OCI image annotation org.opencontainers.image.created should use timestamp of pushed TGZ instead of current time HOT 2
- Failure in pre-upgrade leads to crash of helm when rollbacking
- Helm upgrade states secret patching during upgrade. However, its behaviour is not matching with behaviour of kubectl patch command HOT 1
- helm lint and helm package fail to find a charts subdirectory HOT 1
- Chain of subcharts won't allow exported values to be at root level
- Helm on RHEL 8.9 bash: helm: command not found HOT 3
- exported values not picked from custom yaml file passed during install/upgrade
- Helm not working behind a proxy HOT 1
- Helm does not work in air-gapped environments
- Kind Sorter missing list based resources HOT 2
- Programmatically search/list all charts in a repository
- Helm template for multiple nginx domain template HOT 1
- Upgrade release with specified values doesn't merge current values HOT 1
- Dependency repo URL overwrite and usage in ArgoCD HOT 2
- Helm golang sdk Chart install OCI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm.