So in a kubernetes yaml definition this is legal:
but when I do it in a spec file Juju says:
parsing unit spec for dc4: error unmarshaling JSON: json: cannot unmarshal array into Go struct field EnvVar.value of type string
I’ve tried escaping the square brackets but that just appears in the env var in the docker container.
Anyone know how I’m supposed to get those into the container? I’m trying to keep the container the same as the upstream one so we don’t have any funky patching going on.
In plain K8S deployment yaml: