Class ContainerImageRule

All Implemented Interfaces:
ExtensionPoint, Describable<EphemeralContainerStepRule>

public class ContainerImageRule extends EphemeralContainerStepRule
EphemeralContainerStepRule that validates the step image. This rule is configured with a set of image name patterns that are applied against a normalized image reference. This rule can either allow or rejects matched images.

Patterns can use the wildcard character "*" to match any character sequences. Patterns are separated by newlines. Lines that start with "#" will be ignored.

If configured to EphemeralContainerStepRule.Action.ALLOW, if none of the supplied patterns match the step will be rejected.

If configured to EphemeralContainerStepRule.Action.REJECT, if any of the supplied patterns match the step will be rejected.

See Also: