-
Hi there, I want to suggest an extension in the documentation about Flux. I found out that the base chart automatically creates a secret with ssh credentials when Now that the Source Controller can fetch my repository, I'm not sure how it handles my Kustomize Setup in that repository. You automatically create Directory Structure in that repository:
Any input on this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yeah, you're right, it's not explicitly documented, only through the options; https://github.com/teutonet/teutonet-helm-charts/tree/main/charts/base-cluster#811131-property-base-cluster-configuration--flux--gitrepositories--additionalproperties--allof--item-0--oneof--item-2--url which is pointed at by https://github.com/teutonet/teutonet-helm-charts/tree/main/charts/base-cluster#component-flux. What to do with it is documented tho; https://github.com/teutonet/teutonet-helm-charts/tree/main/charts/base-cluster#cluster-bootstrap, the last block; # you can use this command to get the instructions again
# e.g. when adding users, gitRepositories, ...
helm -n flux-system get notes base-cluster
This error comes from the fact that by default, flux just applies everything in the repo (you can change the branch tho). With all your overlays having the same name, this means they clash.
Yes, the current version doesn't allow for subpaths, as that's only really useful for kustomize setups, which we highly discourage and recommend to just use plain k8s files, using Might I ask why you don't use normal Helm Charts instead of kustomize? Kustomize has lots of disadvantages in comparison to Helm and offers basically nothing in return 😅 Additionally, lots of the disadvantages only slowly creep in later when it's getting more complex, which makes it even harder to switch to Helm If you still want to use kustomize with this setup we're happy to review a PR, we can discuss internally if we want this (which I doubt), for which you can open a ticket in our customer GitLab, or you could always "just" create the keys, gitrepositories and kustomizations yourself. I know this sounds mean towards kustomize, but we've worked with kustomize for a couple of years and can only strongly recommend against using it 😕 |
Beta Was this translation helpful? Give feedback.
Yeah, you're right, it's not explicitly documented, only through the options; https://github.com/teutonet/teutonet-helm-charts/tree/main/charts/base-cluster#811131-property-base-cluster-configuration--flux--gitrepositories--additionalproperties--allof--item-0--oneof--item-2--url which is pointed at by https://github.com/teutonet/teutonet-helm-charts/tree/main/charts/base-cluster#component-flux.
W…