NodeSelectorRequirement Schema¶
Note
This is auto-generated documentation from a JSON schema that is under construction, this will improve over time.
Return to the root config schema
https://raw.githubusercontent.com/elastisys/compliantkubernetes-apps/main/config/schemas/config.yaml#/$defs/io.k8s.api.core.v1.NodeSelectorRequirement
A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
Imported from Kubernetes project
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | config/schemas/config.yaml* |
TYPE:
object
(NodeSelectorRequirement)
PROPERTIES:
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
key | string |
Required | cannot be null | Welkin Apps Config |
operator | string |
Required | cannot be null | Welkin Apps Config |
values | array |
Optional | cannot be null | Welkin Apps Config |
key¶
The label key that the selector applies to.
key
-
is required
-
Type:
string
-
cannot be null
-
defined in: Welkin Apps Config
TYPE:
string
operator¶
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
operator
-
is required
-
Type:
string
-
cannot be null
-
defined in: Welkin Apps Config
TYPE:
string
values¶
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
values
-
is optional
-
Type:
string[]
-
cannot be null
-
defined in: Welkin Apps Config
TYPE:
string[]
Return to the root config schema
Generated Sun Nov 17 03:51:36 UTC 2024 from elastisys/compliantkubernetes-apps@main