Correct text format for - zeebe.serviceAccount.annotations {}

Hi, I am trying to set an option to helm by
--set zeebe.serviceAccount.annotations
and according to the documentation the text format should be in brackets zeebe.serviceAccount.annotations {}, but I am not able to format it correctly, example --set zeebe.serviceAccount.annotations="[{\"eks.amazonaws.com/role-arn\":\"arn:aws:iam::acc-id:role/role-name\"}]",
unfortunately I keep getting errors:

coalesce.go:220: warning: cannot overwrite table with non table for camunda-platform.zeebe.serviceAccount.annotations (map[])
coalesce.go:220: warning: cannot overwrite table with non table for camunda-platform.zeebe.serviceAccount.annotations (map[])
ERROR: UPDATE Failed: YAML parse error on camunda-platform/templates/zeebe/serviceaccount.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go struct field .metadata.annotations of type map[string]string

My question, how to format correctly?

Solution founded, it should be:

--set-json 'zeebe.serviceAccount.annotations={"key":"value"}'

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.