Skip to content

LabelSelector 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.apimachinery.pkg.apis.meta.v1.LabelSelector

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

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 (LabelSelector)

PROPERTIES:

Property Type Required Nullable Defined by
matchExpressions array Optional cannot be null Compliant Kubernetes Apps Config
matchLabels object Optional cannot be null Compliant Kubernetes Apps Config

matchExpressions

matchExpressions is a list of label selector requirements. The requirements are ANDed.

matchExpressions

TYPE:

an array of merged types (Details)

matchLabels

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

matchLabels

TYPE:

object (Details)

Return to the root config schema


Generated Sat Jun 22 03:48:20 UTC 2024 from elastisys/compliantkubernetes-apps@main