問題文
A rule must validate every container image in a Pod against a registry prefix, including init containers. Which construct does the documentation recommend, and what does the pattern inside it reference?
選択肢
- A preconditions block with an AllIn operator over the flattened list of images.
- A single pattern with a wildcard container name.
- A foreach declaration with one entry per list, whose pattern references the attributes of element directly rather than the full path.
- A verifyImages rule with an imageReferences pattern, because registry validation belongs to the image verification path.