Skip to content

Resource Field Selector 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.ResourceFieldSelector

ResourceFieldSelector represents container resources (cpu, memory) and their output format.

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 (Resource Field Selector)

PROPERTIES:

Property Type Required Nullable Defined by
containerName string Optional cannot be null Compliant Kubernetes Apps Config
divisor Not specified Optional cannot be null Compliant Kubernetes Apps Config
resource string Optional cannot be null Compliant Kubernetes Apps Config

containerName

Container name, required for volumes, optional for env vars

containerName

TYPE:

string (Container Name)

divisor

Specifies the output format of the exposed resources, defaults to 1.

divisor

TYPE:

unknown (Divisor)

resource

Required, resource to select.

resource

TYPE:

string (Resource)

Return to the root config schema


Generated Sun Jun 23 03:48:25 UTC 2024 from elastisys/compliantkubernetes-apps@main