Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

component=sync-loop err="loading resources from repo: duplicate definition of 'demo:deployment/podinfo' #8

Open
nikhilbalekundargi opened this issue Jun 29, 2020 · 4 comments

Comments

@nikhilbalekundargi
Copy link

nikhilbalekundargi commented Jun 29, 2020

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)"

fluxcd/flux#3166

@Pradeepadtricon
Copy link

do we have any update on the above mentioned issue

@stefanprodan
Copy link
Member

There is no --set manifest-generation=truesee https://github.com/fluxcd/flux/blob/master/chart/flux/values.yaml#L290

@nikhilbalekundargi
Copy link
Author

There is no --set manifest-generation=truesee 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.

@stefanprodan
Copy link
Member

That's the command flag name, the Helm chart uses a different naming scheme.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants