Reference documentation and code samples for the Binary Authorization V1beta1 API class Google::Cloud::BinaryAuthorization::V1beta1::AdmissionWhitelistPattern.
An admission allowlist pattern exempts images from checks by admission rules.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name_pattern
def name_pattern() -> ::String
Returns
-
(::String) — An image name pattern to allowlist, in the form
registry/path/to/image
. This supports a trailing*
as a wildcard, but this is allowed only in text after theregistry/
part.*
wildcard does not match/
, i.e.,gcr.io/nginx*
matchesgcr.io/nginx@latest
, but it does not matchgcr.io/nginx/image
. This also supports a trailing**
wildcard which matches subdirectories, i.e.,gcr.io/nginx**
matchesgcr.io/nginx/image
.
#name_pattern=
def name_pattern=(value) -> ::String
Parameter
-
value (::String) — An image name pattern to allowlist, in the form
registry/path/to/image
. This supports a trailing*
as a wildcard, but this is allowed only in text after theregistry/
part.*
wildcard does not match/
, i.e.,gcr.io/nginx*
matchesgcr.io/nginx@latest
, but it does not matchgcr.io/nginx/image
. This also supports a trailing**
wildcard which matches subdirectories, i.e.,gcr.io/nginx**
matchesgcr.io/nginx/image
.
Returns
-
(::String) — An image name pattern to allowlist, in the form
registry/path/to/image
. This supports a trailing*
as a wildcard, but this is allowed only in text after theregistry/
part.*
wildcard does not match/
, i.e.,gcr.io/nginx*
matchesgcr.io/nginx@latest
, but it does not matchgcr.io/nginx/image
. This also supports a trailing**
wildcard which matches subdirectories, i.e.,gcr.io/nginx**
matchesgcr.io/nginx/image
.