Secret Custom Resource Definition

Spec schema

Secrets store sensitive information, for example, passwords and certificates. You use the secret reference instead of using the values directly.

Secret:
  metadata:
    name: string
  spec:
    type: Opaque
    data:
      string: string

Field

Type
Required or optional

 

Description
type
string
Optional
Only the Opaque type is supported.
data
object
Required
Data takes a key-value pair, both of string type.