Skip to content

@kubricate/core / BaseProvider / KubectlEffect

Interface: KubectlEffect<T>

KubectlEffect is used to apply a value to a resource using kubectl. This will apply automatically to the resource when it is created.

Extends

Type Parameters

T

T extends object = any

The Kubernetes resource object type

Properties

providerName

ts
providerName: undefined | string;

Name of the provider that created this effect. Used for diagnostics and conflict detection.

Inherited from

BaseEffect.providerName


secretName?

ts
optional secretName: string;

Name of the secret this effect is associated with. Used for diagnostics and error reporting.

Inherited from

BaseEffect.secretName


type

ts
type: "kubectl";

Discriminator field identifying the effect type.

Inherited from

BaseEffect.type


value

ts
value: T;

The effect payload/value to be applied.

Inherited from

BaseEffect.value