-
-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helm: add option to disable k8s manifest parsing for dependency infer…
…ence (#21282) We have a lot of `helm_deployments`, so any `pants dependents` call is super slow, because helm is trying to parse all the helm_deployments. It's really sad, because we don't even use the docker image inference and specify the dependencies manually! So here I introduce a flag `--helm-infer-deployment-dependencies` which can disable that costly parsing. The option controls whether Pants will parse k8s manifests generated by helm to find dependencies on other targets like docker images.
- Loading branch information
Showing
4 changed files
with
40 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters