-
Notifications
You must be signed in to change notification settings - Fork 187
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: map[string]interface {}(nil): yaml: unmarshal errors #880
Comments
First thing you could try is running |
Thanks for the quick reply. I run
This is how my kustomization look slike. |
Yes and nothing changed at all. I also tried, after the bootstrap to the git repository, to:
Nothing changes, the Kustomization gets regenerated, but the error persists. This should not happen on a normal |
Please take a look at https://github.com/vre-hub/vre/blob/f6dcd1a9fd1095885465d88d8cbbef4902f1455d/infrastructure/cluster/flux-v2/rucio-vre/rucio-servers.yaml#L97 I see duplicate keys in the map. |
Thanks @somtochiama! clearly did not understand enough about the Kustomization, as I was sure the error arose from the How do I then overwrite the |
The error is from
You have an indention error, Fixing it is all you need to do. I guess this is what it should actually be:
|
Thanks for spotting, and for your prompt help, really appreciate it! Indentation it was in the end.. sorry for the noise. |
Hi all,
I have connected flux to a healthy K8s cluster running on v1.22.9 and am trying to bootstrap to a repository containing the necessary files to manage the cluster with flux. I have flux version 2.0.0-rc.5.
The command I run is:
flux bootstrap github --owner=vre-hub --repository=vre --branch=main --path=infrastructure/cluster/flux-v2 --author-name flux-ops
The command returns:
A
flux check
:And the kustomize-controller pod returns an error that I can get by running
kubectl describe kustomization flux-system -n flux-system
I can not find the file where these values are specified twice... Can someone help on this please?
Thanks in advance!
The text was updated successfully, but these errors were encountered: