Hello! I am trying to use the k8s backend describe...
# general
i
Hello! I am trying to use the k8s backend described here: https://www.pantsbuild.org/stable/docs/kubernetes but the plugin doesn't appear to be available on 2.26. I also do not see the backend in the list generated by:
pants backends --help-advanced
. Does anyone have this working? Exception:
pants.base.exceptions.BackendConfigurationError: Failed to load the pants.backend.experimental.k8s.register backend: ModuleNotFoundError("No module named 'pants.backend.experimental.k8s'")
f
Checking https://github.com/pantsbuild/pants/blob/cb19150f5580971e9129c44474f3e23b00a2fe57/src/python/pants/bin/BUILD, it does not seem to be listed there (the
plugins
target in that file determines what gets packaged)
Easy enough to fix.
Also seems like multiple backends are missing:
Copy code
src/python/pants/backend/experimental/codegen/python_format_string
src/python/pants/backend/experimental/codegen/python_format_string/k8s
src/python/pants/backend/experimental/docker/lint/trivy
src/python/pants/backend/experimental/helm/lint/trivy
src/python/pants/backend/experimental/k8s
src/python/pants/backend/experimental/openapi/codegen/python
src/python/pants/backend/experimental/terraform/lint/trivy
i
Oh yeah that would do it. Thanks!
f