helm icon indicating copy to clipboard operation
helm copied to clipboard

Only the first tag is read when `gremlin.client.tags` with comma separated values

Open philgebhardt opened this issue 5 years ago • 2 comments

Install command

helm install --name gremlin gremlin/gremlin \
  --set gremlin.teamID=${GREMLIN_TEAM_ID} \
  --set gremlin.client.tags="foo=bar,baz=quux"

Exported environment (from kubectl describe pod) Notice the missing tag baz=quux

Environment:
      GREMLIN_TEAM_ID:                   <REDACTED>
      GREMLIN_TEAM_CERTIFICATE_OR_FILE:  file:///var/lib/gremlin/cert/gremlin.cert
      GREMLIN_TEAM_PRIVATE_KEY_OR_FILE:  file:///var/lib/gremlin/cert/gremlin.key
      GREMLIN_IDENTIFIER:                 (v1:spec.nodeName)
      GREMLIN_CLIENT_TAGS:               foo=bar
      GREMLIN_DOCKER_IMAGE:              gremlin/gremlin:latest```

Workaround Escape the commas

helm install --name gremlin gremlin/gremlin \
  --set gremlin.teamID=${GREMLIN_TEAM_ID} \
  --set gremlin.client.tags="foo=bar\,baz=quux"

philgebhardt avatar Oct 22 '19 19:10 philgebhardt