matchConstraints

@JvmName(name = "wlktgnqcwmgdcutv")
suspend fun matchConstraints(value: Output<MatchResourcesPatchArgs>)
@JvmName(name = "mtgiunvrdenincka")
suspend fun matchConstraints(value: MatchResourcesPatchArgs?)

Parameters

value

matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches all Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required.


@JvmName(name = "afdldgrvnuwatxtl")
suspend fun matchConstraints(argument: suspend MatchResourcesPatchArgsBuilder.() -> Unit)

Parameters

argument

matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches all Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required.