Skip to content

Secret Key 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/v0.41.0/config/schemas/config.yaml#/$defs/io.k8s.api.core.v1.SecretKeySelector

SecretKeySelector selects a key of a Secret.

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 (Secret Key Selector)

PROPERTIES:

Property Type Required Nullable Defined by
key string Required cannot be null Compliant Kubernetes Apps Config
name string Optional cannot be null Compliant Kubernetes Apps Config
optional boolean Optional cannot be null Compliant Kubernetes Apps Config

key

The key of the secret to select from. Must be a valid secret key.

key

TYPE:

string

name

Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

name

TYPE:

string

optional

Specify whether the Secret or its key must be defined

optional

TYPE:

boolean

Return to the root config schema


Generated Thu Nov 14 16:21:55 UTC 2024 from elastisys/compliantkubernetes-apps@v0.41.0