Comments (7)
@suryapandian Helm can't upgrade CRDs if they are placed in the /crds
dir, We release CRD updates with every Flux release, so to overcome this Helm limitation we had to place the CRDs in /templates
.
from helm-charts.
This is the expected behavior, you need to use the flux2-sync chart to create GitRepostories and Kustomizations after you’ve installed flux2.
from helm-charts.
I am having both flux2
and flux2-sync
as dependencies in the chart. If flux2-sync
had a helm hook that waited until the CRD was installed, I will be able to do
helm upgrade --install flux2 ./charts/flux2
instead of doing the multipline commands
helm template flux-capacitor ./charts/flux2 \
--namespace flux2 \
--values ./tests/flux2/values.yaml \
--output-dir ./tests/artifacts
kubectl apply -Rf ./tests/artifacts/flux2/charts/flux2
kubectl apply -Rf ./tests/artifacts/flux2/charts/flux2-sync
I am not able to do helm upgrade --install flux2 ./charts/flux2
because gitrepositories and kustomizations is tried to get applied before the CRDs are installed.
from helm-charts.
I am having both flux2 and flux2-sync as dependencies in the chart.
You can't do that, you need to run them one after the other.
from helm-charts.
Also what's the point of using Helm with kubectl? Please see flux bootstrap
that does all things for you.
from helm-charts.
I am having both flux2 and flux2-sync as dependencies in the chart.
You can't do that, you need to run them one after the other.
Okay, will do it one after another.
Could you please point me to a doc that would help me understand why I cannot do that?
from helm-charts.
hmm thanks Stefan, will read along these.
from helm-charts.
Related Issues (20)
- Update flux2-notification to `notification.toolkit.fluxcd.io/v1beta2` HOT 1
- [BUG] Helm chart for flux2 should allow customize readiness and liveness probes
- Setup requests/limits for all flux2 components
- Document Breaking Changes HOT 2
- Update Flux to v2.0.0-rc.2
- fluxv2-notification schema issue HOT 1
- Update charts to Flux 2.1.0
- Included `extraObjects` example in `flux2/values.yaml` doesn't appear to work. HOT 2
- Temp directory in memory HOT 4
- Sharding not possible across namespaces HOT 2
- Allow customization of ServiceAccount names HOT 2
- Patches in `kustomization` are not applied HOT 3
- make reviewable fails
- CRD handling for flux2 chart HOT 4
- Ability to set name for gitrepository and kustomization
- Multitenancy: allow non default service account when privileged is set to false.
- Implement the patches for Flux All-In-One installation HOT 1
- default page is giving 404
- support sharding for helm based flux installation
- [flux2] support hostAliases for sourceController
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-charts.