<#22566 Dependency inference broken for "empty" k8...
# github-notifications
c
#22566 Dependency inference broken for "empty" k8s manifests Issue created by peter-woyzbun Helm templates that only conditionally render a valid Kubernetes manifest, but contain
yaml
comment strings, will break Pants dependency inference. An example in the wild is the official Airflow Helm chart, e.g. this template: https://github.com/apache/airflow/blob/main/chart/templates/jobs/create-user-job.yaml These "manifest" files end up only containing
yaml
comment lines. E.g. for the above example we will end up with (when the "create user job" is disabled):
Copy code
################################
## Airflow Create User Job
#################################
which
hikaru
cannot parse (key error looking for
apiVersion
), and the
k8s_parser
will fail. Fix proposed here: #22565 pantsbuild/pants