nats-io / k8s

NATS on Kubernetes with Helm Charts
Apache License 2.0
455 stars 305 forks source link

fix(surveyor): configmap name as string #696

Closed Kriys94 closed 1 year ago

Kriys94 commented 1 year ago

For some reason I got the following error:

error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.volumes[0].configMap): invalid type for io.k8s.api.core.v1.ConfigMapVolumeSource: got "string", expected "map"

Putting the ConfigMap name under quote solves the issue

Kriys94 commented 1 year ago

Your suggestion works too. Thanks and I let you merge