kubeflow / metadata

Repository for assets related to Metadata.
Apache License 2.0
121 stars 69 forks source link

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

Closed Manvi07 closed 3 years ago

Manvi07 commented 4 years ago

/kind bug

What steps did you take and what happened: 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 I get the following error:

kustomize build overlays/db/
Error: json: cannot unmarshal array into Go struct field ConfigMapArgs.configMapGenerator.env of type string

(Also reported here: #2650) What did you expect to happen: Kustomize to build successfully.

Anything else you would like to add: Kustomize version error #148:

kustomize version 
Version: {Version:unknown GitCommit:$Format:%H$ BuildDate:1970-01-01T00:00:00Z GoOs:linux GoArch:amd64}

Environment:

issue-label-bot[bot] commented 4 years ago

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

Manvi07 commented 3 years ago

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

sudo snap install kustomize