Open jimil749 opened 7 months ago
@jimil749 I assume you don't mean that the contents of a cm shouldn't be rendered. I assume you mean we should take greater care here to only split on ---
if it appears at the beginning of a line?
If that was your meaning, I agree.
@krancour exactly. Contents of a cm should be rendered but greater care needs to take to split on ---
.
This seems to be happening a quite a few charts.
I am trying to render manifest for apache airflow (by using kustomize + upstream helm charts). It includes a configmap manifest which looks like following:
This breaks the render with the following error:
level=fatal msg="error writing manifests for app \"airflow\" to \"/tmp/2142585927/repo/airflow\": resource is missing kind field"
This is because of "---" in the configmap data. Render splits the above manifest into 2 parts (since it uses "---" as the separator) which cause the render to fail.
Render would work fine if it is possible to just ignore the contents of cm.