flux-kustomize-example
flux-kustomize-example copied to clipboard
component=sync-loop err="loading resources from repo: duplicate definition of 'demo:deployment/podinfo'
Forked repo to my github account
Installed flux using below command -
helm upgrade -i flux fluxcd/flux --set [email protected]:nikhilbalekundargi/flux-kustomize-example.git --set manifest-generation=true --set git-path=staging --set syncGarbageCollection.enabled=true --namespace flux --set helm.versions=v3 --wait
Added the deploy keys.
But getting below error -
ts=2020-06-29T11:39:45.025457267Z caller=loop.go:133 component=sync-loop event=refreshed url=ssh://[email protected]/nikhilbalekundargi/flux-kustomize-example.git branch=master HEAD=6afd0470c3e3638e6be049e4cc092f5181cd4f40
ts=2020-06-29T11:39:45.078872121Z caller=sync.go:73 component=daemon info="trying to sync git changes to the cluster" old= new=6afd0470c3e3638e6be049e4cc092f5181cd4f40
ts=2020-06-29T11:39:45.085088452Z caller=loop.go:107 component=sync-loop err="loading resources from repo: duplicate definition of 'demo:deployment/podinfo' (in base/podinfo-dep.yaml and production/flux-patch.yaml)"
https://github.com/fluxcd/flux/issues/3166
do we have any update on the above mentioned issue
There is no --set manifest-generation=true
see https://github.com/fluxcd/flux/blob/master/chart/flux/values.yaml#L290
There is no
--set manifest-generation=true
see https://github.com/fluxcd/flux/blob/master/chart/flux/values.yaml#L290
@stefanprodan thank you for the clarification. As the example repo https://github.com/fluxcd/flux-kustomize-example its manifest-generation.
That's the command flag name, the Helm chart uses a different naming scheme.