Comments (6)
What prevents you from just pinning it to the right version?
Asking because I can see this all go wrong when doing e.g. a disaster recovery, where the dependency has moved on but your values (that are basically married to a version of whatever chart you make use of) still think an older version applies.
from helm-controller.
What prevents you from just pinning it to the right version?
Because the version is not necessarily known at that point. Lets say we have a big kustomize base with x helmreleases of internally developed services, if somebody installs that base into a new environment the should get the latest stable releases.
Asking because I can see this all go wrong when doing e.g. a disaster recovery, where the dependency has moved on but your values (that are basically married to a version of whatever chart you make use of) still think an older version applies.
That's actually a good point, another way might be be to let the reconciler write the elected chart version to its own spec if freezeVersion is set. (What the default is doing with *
if no version is set).
from helm-controller.
That's actually a good point, another way might be be to let the reconciler write the elected chart version to its own spec if freezeVersion is set. (What the default is doing with
*
if no version is set).
Mhm this would only work if no version was set. Actually I would just need a way to change the default behavior of setting *
as spec.chart.version. In my case it should set the elected version.
from helm-controller.
That's actually a good point, another way might be be to let the reconciler write the elected chart version to its own spec if freezeVersion is set. (What the default is doing with
*
if no version is set).
If it would write it to its own (in-cluster) spec this would not make any difference in case of a disaster recovery? (Assuming Flux2 is used, and the source of truth is in Git).
Actually I would just need a way to change the default behavior of setting * as spec.chart.version. In my case it should set the elected version.
Can't this be done by using an "elected version" Kustomize overlay that is kept in sync together with the values?
from helm-controller.
Can't this be done by using an "elected version" Kustomize overlay that is kept in sync together with the values?
Reckon something like this will be the alternative yes.
from helm-controller.
Due to the reason provided in #212 (comment), we are not planning on supporting this.
from helm-controller.
Related Issues (20)
- HelmRelease does redundant validation on chart name HOT 1
- Missing some crucial events HOT 2
- HelmRelease verify provider gpg HOT 1
- Drift mode should detect extra properties HOT 1
- Chart version only includes git SHA at root chart HOT 2
- Only deploy prerelease versions HOT 1
- Feature Request: Replace reconciliation interval with cron schedule in HelmRelease CRD HOT 1
- [BUG] Drift Detection can not be disabled for specific resources using annotations or labels
- [BUG] memory usage grows exponentially when there are lots of CRDs HOT 2
- [BUG] Helm drift detection on configmap patching '*** (after)' instead of the actual template from the helm chart HOT 13
- Backward compatibility of helm-controller HOT 6
- FEATURE: First-class support for secret decryption HOT 1
- Unable to detect server capabilities HOT 16
- HelmRelease: CRDs of disabled subcharts get installed anyway HOT 8
- Failed to reconcile HelmRelease field immutable HOT 1
- DependsOn readiness check should only rely on Ready condition HOT 10
- (site) DependsOn does not document cross-namespace dependencies HOT 2
- Changes in postRenderers are ingored HOT 6
- v0.37.4 has CVE-2024-26147 high vulnerability HOT 1
- Flux Helm Not Removing HPA objects on upgrade 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 helm-controller.