matchConstraints

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

Parameters

value

MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy 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 ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.


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

Parameters

argument

MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy 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 ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.