[
https://issues.apache.org/jira/browse/FLINK-28300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Márton Balassi closed FLINK-28300.
----------------------------------
Resolution: Fixed
[4c8875a|https://github.com/apache/flink-kubernetes-operator/commit/4c8875aba1104ab376120829099aa1f3f092a7dd]
in main
> Helm/Helmfile lint fails with "invalid Yaml document separator"
> ---------------------------------------------------------------
>
> Key: FLINK-28300
> URL: https://issues.apache.org/jira/browse/FLINK-28300
> Project: Flink
> Issue Type: Bug
> Components: Kubernetes Operator
> Affects Versions: kubernetes-operator-1.0.0, kubernetes-operator-1.0.1
> Reporter: Maksim Aniskov
> Assignee: Maksim Aniskov
> Priority: Major
> Labels: pull-request-available
> Fix For: kubernetes-operator-1.1.0
>
>
> helmfile lint output:
> {quote}{{STDERR:}}
> {{ Error: 1 chart(s) linted, 1 chart(s) failed}}
> {{ }}
> {{ COMBINED OUTPUT:}}
> {{ Error: 1 chart(s) linted, 1 chart(s) failed}}
> {{ ==> Linting
> /var/folders/yb/r7jlgg613z5dxhpf83zxbxlh0000gn/T/helmfile1348989835/flink-operator-jobs/namespaces/apache-flink-kubernetes-operator/flink-kubernetes-operator/latest/flink-kubernetes-operator}}
> {{ [INFO] Chart.yaml: icon is recommended}}
> {{ [ERROR] templates/serviceaccount.yaml: unable to parse YAML: invalid
> Yaml document separator: apiVersion: v1}}
> {quote}
>
> Problematic is trimming whitespaces, including the line feeds, in
> [helm/flink-kubernetes-operator/templates/serviceaccount.yaml|https://github.com/apache/flink-kubernetes-operator/blob/97883eb8f586ccd703952efc59a43f019ef83fa7/helm/flink-kubernetes-operator/templates/serviceaccount.yaml#L20]
> {quote}{{---}}
> {{ {{{}- if .Values.operatorServiceAccount.create -{}}}}}
> {{apiVersion: v1}}{quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)