From 99e3e64c1b3b008d2a767867b2c67a2fa30d2912 Mon Sep 17 00:00:00 2001 From: frekw Date: Tue, 26 Nov 2024 09:20:50 +0100 Subject: [PATCH 1/2] Update yaml globs for Helm to support common chart structures --- src/python/pants/backend/helm/target_types.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python/pants/backend/helm/target_types.py b/src/python/pants/backend/helm/target_types.py index 8cf3ee07079..9c71e24bdce 100644 --- a/src/python/pants/backend/helm/target_types.py +++ b/src/python/pants/backend/helm/target_types.py @@ -127,9 +127,9 @@ class HelmChartSourcesField(MultipleSourcesField): "values.yaml", "values.yml", "values.schema.json", - "templates/*.yaml", - "templates/*.yml", - "templates/*.tpl", + "templates/**/*.yaml", + "templates/**/*.yml", + "templates/**/*.tpl", "templates/NOTES.txt", "crds/*.yaml", "crds/*.yml", From ad1cb0b9cec6bf866fc68309efb67263577da525 Mon Sep 17 00:00:00 2001 From: Chris Burroughs Date: Fri, 31 Jan 2025 11:06:20 -0500 Subject: [PATCH 2/2] docs! --- docs/notes/2.25.x.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/notes/2.25.x.md b/docs/notes/2.25.x.md index 5fcc952a969..74a02596fd6 100644 --- a/docs/notes/2.25.x.md +++ b/docs/notes/2.25.x.md @@ -65,6 +65,8 @@ The `helm_infer.external_docker_images` glob syntax has been generalized. In ad Fixed a bug where linting with the Helm backend enabled could induce serialization errors with the [workunit-logger](https://www.pantsbuild.org/2.25/reference/subsystems/workunit-logger). +The default "globs" for matching yaml in charts now matches more common structures. + #### Python The AWS Lambda backend now provides built-in complete platforms for the Python 3.13 runtime.