bazelbuild / rules_k8s

This repository contains rules for interacting with Kubernetes configurations / clusters.
Apache License 2.0
291 stars 136 forks source link

`':foo.describe': no such target` error #721

Open samuela opened 1 year ago

samuela commented 1 year ago

I'm not able to run .describe commands as advertised in the README:

❯ bazel run //cruise/ai_research/cola/clippy:deploy.describe
INFO: Invocation ID: 70aa96d8-c35e-11ed-917b-171b891aabe0
ERROR: Skipping '//cruise/ai_research/cola/clippy:deploy.describe': no such target '//cruise/ai_research/cola/clippy:deploy.describe': target 'deploy.describe' not declared in package 'cruise/ai_research/cola/clippy' defined by /home/sam.ainsworth/internal-dev/cruise/cruise/ai_research/cola/clippy/BUILD

I'm running rules_k8s v0.6. Other commands like .apply, .create, .delete, .replace work without issue.

Why are these commands not defined? Is this documentation out of date?

samuela commented 1 year ago

And FWIW this is a k8s_object target, not a k8s_objects target