Skip to main content

CrdOptions

@webda/kubernetes


Interface: CrdOptions

Defined in: kubernetes/src/crd/schema.ts:294

Options of a CustomResourceDefinition

Properties​

group​

group: string

Defined in: kubernetes/src/crd/schema.ts:298

API group, e.g. myapp.example.com


labelFields?​

optional labelFields?: string[]

Defined in: kubernetes/src/crd/schema.ts:315

Fields mirrored as labels, shown as printer columns


preserveUnknownFields?​

optional preserveUnknownFields?: boolean

Defined in: kubernetes/src/crd/schema.ts:319

Keep the spec fields the schema does not declare: the fields of the subclasses sharing the resources


reconciled?​

optional reconciled?: boolean

Defined in: kubernetes/src/crd/schema.ts:323

The resources are reconciled by an operator: the status holds observedGeneration and conditions


scope?​

optional scope?: "Namespaced" | "Cluster"

Defined in: kubernetes/src/crd/schema.ts:307

Default​

"Namespaced"

statusFields?​

optional statusFields?: string[]

Defined in: kubernetes/src/crd/schema.ts:311

Fields stored in the status, written through the status subresource


version?​

optional version?: string

Defined in: kubernetes/src/crd/schema.ts:303

API version

Default​

"v1"