Comments (8)
OCI integration is moving from experimental to full feature. See also helm/helm#10393. It's currently part of v3.8.0-rc.1.
from provider-helm.
It seems this was implemented as part of
v3.5.0
: helm/helm@3ad08f3
Having a bit of brainfail reading this today, but as far as I can tell this leaves the actual RegistryClient internal and just adds the experimental implementation into the existing helm pull
command, and the switch between v2 and OCI based charts just involves detecting oci://
chart URLs and setting client.OCI = true
.
If I'm understanding correctly, this should mean we just need to do the same detection in provider-helm
and build against helm 3.5.0.
@janwillies does this match your understanding? I'll sort out a PR if so.
e: Actually, after having a more in-depth look, I think this still isn't possible, as registryClient
is still internal and is not automatically instantiated onto actionConfig
😞
from provider-helm.
From an implementation perspective this looks pretty simple, but the V2 pull
action is broken down into a couple of separate steps when using OCI images, these are:
NewRegistryLogin
: Login to the registry atRepository
usingUsername
andPassword
NewChartPull
: Pull OCI Chart Ref from registry into local container cache. This requires a combination ofName
andVersion
(or newRef
field?)NewChartExport
: Export OCI Chart from local container cache to a file. Again based on a Ref field or combination ofName
andVersion
.
The only problem with actually doing this is that the ActionConfig.Init
method (from helm) doesn't automatically add a RegistryClient
instance - and the RegistryClient
instantiation code (usage here) in helm
is still marked internal so I suspect this needs to wait until that code is made available externally. All comments I can find suggest that was planned for V3.3 or V3.4 but I don't see any change in either of those versions 🕐
from provider-helm.
It seems this was implemented as part of v3.5.0
: helm/helm@3ad08f3
from provider-helm.
helm/helm/issues/9188 - looks like moving registry
out of internal
is on the roadmap but no solid timescale yet, guess we just have to wait and see 🙂
from provider-helm.
+1 to get this feature
from provider-helm.
Updates on the helm issue above seem to suggest the registryClient
will be available in Helm 3.7 or 3.8 so we'll need to wait for those releases before implementing.
from provider-helm.
Update: OCI support is now GA in Helm v3.8.0. It's not experimental anymore.
from provider-helm.
Related Issues (20)
- Problems with use spec.credentials.source with Filesystem or Environment types
- Cannot get connection details: object is not part of release HOT 2
- Support obtaining helm chart from ConfigMap. HOT 1
- Support obtaining helm chart from ConfigMap. HOT 1
- Provider stops reconciling some Releases with "failed to list" and "failed to watch" *unstructured.Unstructured errors HOT 1
- Add cache for connections HOT 1
- Container creation fails for versions 0.11.1 and above HOT 2
- Observe valuesFrom resources and trigger an update on change HOT 1
- Skip uninstall process in Release reconciler HOT 2
- Integrate kubelogin for Azure AD Authentication to AKS Clusters HOT 6
- Ability to store secrets in vault
- On Helm release with the specified option pullSecretRef does not find the Secret in the namespace
- Support aws s3 bucket as a helm repository HOT 8
- Establish Ownership and Visibility of Helm Resources in ArgoCD via OwnerReferences HOT 2
- Passing args to configure the Helm provider package to configure the controller and be more verbose HOT 2
- make: *** No rule to make target `local.up', needed by `local-dev'. Stop. HOT 3
- Retry should be enabled by default HOT 1
- Add Proxy Support
- howto debugging reconciling loop HOT 1
- Installation of provider-helm fails with "resource name may not be empty" in air-gapped environment. HOT 1
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 provider-helm.