Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm chart failed to render spark service account when extra annotations are specified #1966

Closed
ChenYi015 opened this issue Apr 12, 2024 · 0 comments · Fixed by #1967
Closed

Comments

@ChenYi015
Copy link
Contributor

When extra spark serviceaccount annotations are specified in values.yaml:

serviceAccounts:
  spark:
    annotations: 
      key1: value1
      key2: value2

Helm will failed to render template:

$ helm template spark-operator charts/spark-operator-chart -f values.yaml
Error: YAML parse error on spark-operator/templates/spark-serviceaccount.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go struct field .metadata.annotations of type string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant