ProviderArgs class

The set of arguments for Provider. The set of arguments for Provider.

Constructors

ProviderArgs({Input<bool>? alwaysRender, Input<String>? cluster, Input<String>? clusterIdentifier, Input<String>? context, Input<bool>? deleteUnreachable, Input<bool>? enableConfigMapMutable, Input<bool>? enablePatchForce, Input<bool>? enableSecretMutable, Input<bool>? enableServerSideApply, Input<HelmReleaseSettings>? helmReleaseSettings, Input<KubeClientSettings>? kubeClientSettings, Input<String>? kubeconfig, Input<String>? namespace, Input<String>? renderYamlToDirectory, Input<bool>? skipUpdateUnreachable, Input<bool>? suppressDeprecationWarnings, Input<bool>? suppressHelmHookWarnings, Input<bool>? upsertExistingObjects})
Creates a new ProviderArgs. alwaysRender If present and set to true, all resources will be rendered to the directory specified by renderYamlToDirectory on every update, even if the resource has not changed. This is useful for tools like ArgoCD Config Management Plugin that require all manifests to be regenerated on each run. Only valid when renderYamlToDirectory is set. cluster If present, the name of the kubeconfig cluster to use. clusterIdentifier If present, this value will control the provider's replacement behavior. In particular, the provider will only be replaced when clusterIdentifier changes; all other changes to provider configuration will be treated as updates. context If present, the name of the kubeconfig context to use. deleteUnreachable If present and set to true, the provider will delete resources associated with an unreachable Kubernetes cluster from Pulumi state enableConfigMapMutable BETA FEATURE - If present and set to true, allow ConfigMaps to be mutated. enablePatchForce If present and set to true, enable patch force on all Server-Side Apply operations, overriding any field conflicts. enableSecretMutable BETA FEATURE - If present and set to true, allow Secrets to be mutated. enableServerSideApply If present and set to false, disable Server-Side Apply mode. helmReleaseSettings Options to configure the Helm Release resource. kubeClientSettings Options for tuning the Kubernetes client used by a Provider. kubeconfig The contents of a kubeconfig file or the path to a kubeconfig file. namespace If present, the default namespace to use. This flag is ignored for cluster-scoped resources. renderYamlToDirectory BETA FEATURE - If present, render resource manifests to this directory. In this mode, resources will not skipUpdateUnreachable If present and set to true, the provider will skip resources update associated with an unreachable Kubernetes cluster from Pulumi state suppressDeprecationWarnings If present and set to true, suppress apiVersion deprecation warnings from the CLI. suppressHelmHookWarnings If present and set to true, suppress unsupported Helm hook warnings from the CLI. upsertExistingObjects If present and set to true, allow Pulumi to create resources that already exist in the cluster by updating them instead of returning an error.
const
ProviderArgs.fromMap(Map<String, dynamic> map)
factory

Properties

alwaysRender → Input<bool>?
If present and set to true, all resources will be rendered to the directory specified by renderYamlToDirectory on every update, even if the resource has not changed. This is useful for tools like ArgoCD Config Management Plugin that require all manifests to be regenerated on each run. Only valid when renderYamlToDirectory is set.
final
cluster → Input<String>?
If present, the name of the kubeconfig cluster to use.
final
clusterIdentifier → Input<String>?
If present, this value will control the provider's replacement behavior. In particular, the provider will only be replaced when clusterIdentifier changes; all other changes to provider configuration will be treated as updates.
final
context → Input<String>?
If present, the name of the kubeconfig context to use.
final
deleteUnreachable → Input<bool>?
If present and set to true, the provider will delete resources associated with an unreachable Kubernetes cluster from Pulumi state
final
enableConfigMapMutable → Input<bool>?
BETA FEATURE - If present and set to true, allow ConfigMaps to be mutated. This feature is in developer preview, and is disabled by default.
final
enablePatchForce → Input<bool>?
If present and set to true, enable patch force on all Server-Side Apply operations, overriding any field conflicts. See https://github.com/pulumi/pulumi-kubernetes/issues/2280 for additional details.
final
enableSecretMutable → Input<bool>?
BETA FEATURE - If present and set to true, allow Secrets to be mutated. This feature is in developer preview, and is disabled by default.
final
enableServerSideApply → Input<bool>?
If present and set to false, disable Server-Side Apply mode. See https://github.com/pulumi/pulumi-kubernetes/issues/2011 for additional details.
final
hashCode → int
The hash code for this object.
no setterinherited
helmReleaseSettings → Input<HelmReleaseSettings>?
Options to configure the Helm Release resource.
final
kubeClientSettings → Input<KubeClientSettings>?
Options for tuning the Kubernetes client used by a Provider.
final
kubeconfig → Input<String>?
The contents of a kubeconfig file or the path to a kubeconfig file.
final
namespace → Input<String>?
If present, the default namespace to use. This flag is ignored for cluster-scoped resources.
final
renderYamlToDirectory → Input<String>?
BETA FEATURE - If present, render resource manifests to this directory. In this mode, resources will not be created on a Kubernetes cluster, but the rendered manifests will be kept in sync with changes to the Pulumi program. This feature is in developer preview, and is disabled by default.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skipUpdateUnreachable → Input<bool>?
If present and set to true, the provider will skip resources update associated with an unreachable Kubernetes cluster from Pulumi state
final
suppressDeprecationWarnings → Input<bool>?
If present and set to true, suppress apiVersion deprecation warnings from the CLI.
final
suppressHelmHookWarnings → Input<bool>?
If present and set to true, suppress unsupported Helm hook warnings from the CLI.
final
upsertExistingObjects → Input<bool>?
If present and set to true, allow Pulumi to create resources that already exist in the cluster by updating them instead of returning an error. By default, Pulumi will error if a resource already exists in the cluster to prevent accidental data loss. When a Pulumi resource is renamed without using aliases, the engine plans a create followed by a delete targeting the same cluster object. With server-side apply, the create silently updates the existing object, and the subsequent delete removes it — resulting in unexpected resource deletion. Enabling this option restores the previous upsert behavior for users who intentionally adopt existing cluster resources into Pulumi.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited