Kazan v0.10.0 Kazan.Apis.Admissionregistration.V1alpha1.Rule View Source
Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that all the tuple expansions are valid.
OpenAPI Definition: io.k8s.api.admissionregistration.v1alpha1.Rule
Properties
api_groups
:: [String
]- APIGroups is the API groups the resources belong to. ‘‘ is all groups. If ‘’ is present, the length of the slice must be one. Required.
api_versions
:: [String
]- APIVersions is the API versions the resources belong to. ‘‘ is all versions. If ‘’ is present, the length of the slice must be one. Required.
resources
:: [String
]- Resources is a list of resources this rule applies to.
For example: ‘pods’ means pods. ‘pods/log’ means the log subresource of pods. ‘‘ means all resources, but not subresources. ‘pods/’ means all subresources of pods. ‘/scale’ means all scale subresources. ‘/*’ means all resources and their subresources.
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
Depending on the enclosing object, subresources might not be allowed. Required.