Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

invalid type for io.k8s.api.core.v1.ConfigMap.data: got "map", expected "string" #1261

@priyanko83

Description

@priyanko83

I am running deployAll.ps1 with the required parameters.
All helm infrastructure and charts are installing fine except Gateway Charts: apigwws & apigwms where I am getting below error logs.

Could you kindly investigate what's wrong and update the fixed files? I am very much interested in this sample application and would really like to get it running in my dev cluster.

Thanks in advance for your support!

Installing Api Gateway Chart: apigwms

Helm Command: helm install eshop-apigwms -f app.yaml -f inf.yaml -f ingress_values.yaml --set app.name=eshop --set inf.k8s.dns=eshop.2d318db21eda4f209268.centralus.aksapp.io --set image.pullPolicy=Always --set inf.mesh.enabled=False --set ingress.hosts={eshop.2d318db21eda4f209268.centralus.aksapp.io} --set inf.tls.enabled=False apigwms
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(ConfigMap.data.admin): invalid type for io.k8s.api.core.v1.ConfigMap.data: got "map", expected "string", ValidationError(ConfigMap.data.static_resources): invalid type for io.k8s.api.core.v1.ConfigMap.data: got "map", expected "string"]

Installing Api Gateway Chart: apigwws

Helm Command: helm install eshop-apigwws -f app.yaml -f inf.yaml -f ingress_values.yaml --set app.name=eshop --set inf.k8s.dns=eshop.2d318db21eda4f209268.centralus.aksapp.io --set image.pullPolicy=Always --set inf.mesh.enabled=False --set ingress.hosts={eshop.2d318db21eda4f209268.centralus.aksapp.io} --set inf.tls.enabled=False apigwws
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(ConfigMap.data.admin): invalid type for io.k8s.api.core.v1.ConfigMap.data: got "map", expected "string", ValidationError(ConfigMap.data.static_resources): invalid type for io.k8s.api.core.v1.ConfigMap.data: got "map", expected "string"]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions