Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kustomize build failed: Found multiple kustomization files under #225

Closed
ndemeshchenko opened this issue Dec 29, 2020 · 1 comment · Fixed by #238
Closed

kustomize build failed: Found multiple kustomization files under #225

ndemeshchenko opened this issue Dec 29, 2020 · 1 comment · Fixed by #238

Comments

@ndemeshchenko
Copy link

Hi.
Following guide of multy tenant flux repo I end up with kustomize error
kustomize build failed: Found multiple kustomization files under: /tmp/tenants576654270/tenants/staging

My sample repo here https://github.com/ndemeshchenko/fleet-infra.
Screenshot 2020-12-29 at 12 45 00

Latest log from kustomize controller

{"level":"error","ts":"2020-12-29T11:39:21.069Z","logger":"controller","msg":"Reconciler error","reconcilerGroup":"kustomize.toolkit.fluxcd.io","reconcilerKind":"Kustomization","controller":"kustomization","name":"tenants","namespace":"flux-system","error":"kustomize build failed: Found multiple kustomization files under: /tmp/tenants457654148/tenants/staging\n"}
@hiddeco
Copy link
Member

hiddeco commented Dec 30, 2020

Change your .yml to .yaml and the error should go away.

@stefanprodan: is there some way we can either accept both extensions, or point people towards the fact that we expect .yaml files for things to work?

@stefanprodan stefanprodan transferred this issue from fluxcd/flux2 Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants