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

Error: json: cannot unmarshal array into Go struct field ConfigMapArgs.configMapGenerator.env of type string #2650

Closed
Manvi07 opened this issue Jun 26, 2020 · 1 comment

Comments

@Manvi07
Copy link

Manvi07 commented Jun 26, 2020

In order to use kubeflow metadata component, I was following the instructions given in the documentation, https://www.kubeflow.org/docs/components/metadata/#installing-the-metadata-component.

But Kustomize is unable to build the JSON file, giving the following error:

manvi@manvi-pc:~/K8_cluster/manifests/metadata$ kustomize build overlays/db/
Error: json: cannot unmarshal array into Go struct field ConfigMapArgs.configMapGenerator.env of type string
@Manvi07
Copy link
Author

Manvi07 commented Jul 10, 2020

Reinstalled kustomize using the snap package manager. And made some small changes as described in #202

sudo snap install kustomize

Works fine now!

@Manvi07 Manvi07 closed this as completed Jul 10, 2020
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

No branches or pull requests

1 participant