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
Error: YAML parse error on open-feature-operator/templates/apps_v1_deployment_open-feature-operator-controller-manager.yaml: error converting YAML to JSON: yaml: line 54: did not find expected key.
The following are the debugging results of the helm template.
It appears that the --annotation option setting requires escaping of the annotation value.
Due to some complexities in templating, I don't think we'll be supporting this.
You might be able to get away with using the YAML folded string operator (>) instead of the pipe (|) which will remove newlines, but I don't know for sure that will work.
The thing that will certainly work is to remove the newlines entirely, either by keeping the JSON a string literal following | or > or by escaping it entirely.
Thanks @kencharos . 🙏 I hope you can work around this.
vesrion: 0.7.1
I tried annotation configuration from https://github.com/open-feature/open-feature-operator/releases/tag/v0.7.1 .
I am considering monitoring fladg pod by datadog and tried to set up a monitoring configuration annotation for open metrics.
pease see about datadog openmetrics configuration in here
This is values.yaml that I tried.
Then, Helm install is failed by Invalid Yaml
The following are the debugging results of the
helm template
.It appears that the
--annotation
option setting requires escaping of the annotation value.Also, looking StringToMap , it appears that we cannot have commas or colons as annotation values.
Not only datadog, but also annotations often have complex values such as JSON and YAML, so it would be great if you could consider supporting this.
The text was updated successfully, but these errors were encountered: