@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
BaseEffect<"kubectl",T>
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
secretName?
ts
optional secretName: string;Name of the secret this effect is associated with. Used for diagnostics and error reporting.
Inherited from
type
ts
type: "kubectl";Discriminator field identifying the effect type.
Inherited from
value
ts
value: T;The effect payload/value to be applied.