You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding podAnnotations value to nsqlookupd, nsqadmin, or nsqd in the values file gives the following error or similar:
helm upgrade --install -f nsq-values.yaml nsq nsqio/nsq
Error: UPGRADE FAILED: YAML parse error on nsq/templates/nsqadmin-deployment.yaml: error converting YAML to JSON: yaml: line 19: did not find expected key
Example Values File Input:
podAnnotations:
Test_Annotations: "testing"
Fix to template files:
metadata:
{{- with .Values.nsqlookupd.podAnnotations }}
+ annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
Hmm, it's been that way from the first commit in this repo. Maybe no-one ever used podAnnotations. Though maybe you could theoretically do something like:
podAnnotations:
annotations:
myrealm: blue
Anyway, would you like to open a Pull Request with your suggested fix?
Issue:
Adding podAnnotations value to nsqlookupd, nsqadmin, or nsqd in the values file gives the following error or similar:
helm upgrade --install -f nsq-values.yaml nsq nsqio/nsq
Error: UPGRADE FAILED: YAML parse error on nsq/templates/nsqadmin-deployment.yaml: error converting YAML to JSON: yaml: line 19: did not find expected key
Example Values File Input:
Fix to template files:
Files that require update:
templates/nsqadmin-deployment.yaml
templates/nsqd-statefulset.yaml
templates/nsqlookupd-statefulset.yaml
The text was updated successfully, but these errors were encountered: