Skip to main content

CrdOptions

@webda/kubernetes


Interface: CrdOptions

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

Options of a CustomResourceDefinition

Properties​

group​

group: string

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

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


labelFields?​

optional labelFields?: string[]

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

Fields mirrored as labels, shown as printer columns


preserveUnknownFields?​

optional preserveUnknownFields?: boolean

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

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:399

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:383

Scope

Default​

"Namespaced"

statusFields?​

optional statusFields?: string[]

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

Fields stored in the status, written through the status subresource


version?​

optional version?: string

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

API version

Default​

"v1"