ProviderArgs

data class ProviderArgs(val cluster: Output<String>? = null, val clusterIdentifier: Output<String>? = null, val context: Output<String>? = null, val deleteUnreachable: Output<Boolean>? = null, val enableConfigMapMutable: Output<Boolean>? = null, val enableSecretMutable: Output<Boolean>? = null, val enableServerSideApply: Output<Boolean>? = null, val helmReleaseSettings: Output<HelmReleaseSettingsArgs>? = null, val kubeClientSettings: Output<KubeClientSettingsArgs>? = null, val kubeconfig: Output<String>? = null, val namespace: Output<String>? = null, val renderYamlToDirectory: Output<String>? = null, val skipUpdateUnreachable: Output<Boolean>? = null, val suppressDeprecationWarnings: Output<Boolean>? = null, val suppressHelmHookWarnings: Output<Boolean>? = null) : ConvertibleToJava<ProviderArgs>

The provider type for the kubernetes package.

Constructors

Link copied to clipboard
constructor(cluster: Output<String>? = null, clusterIdentifier: Output<String>? = null, context: Output<String>? = null, deleteUnreachable: Output<Boolean>? = null, enableConfigMapMutable: Output<Boolean>? = null, enableSecretMutable: Output<Boolean>? = null, enableServerSideApply: Output<Boolean>? = null, helmReleaseSettings: Output<HelmReleaseSettingsArgs>? = null, kubeClientSettings: Output<KubeClientSettingsArgs>? = null, kubeconfig: Output<String>? = null, namespace: Output<String>? = null, renderYamlToDirectory: Output<String>? = null, skipUpdateUnreachable: Output<Boolean>? = null, suppressDeprecationWarnings: Output<Boolean>? = null, suppressHelmHookWarnings: Output<Boolean>? = null)

Properties

Link copied to clipboard
val cluster: Output<String>? = null

If present, the name of the kubeconfig cluster to use.

Link copied to clipboard
val clusterIdentifier: Output<String>? = null

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. Kubernetes does not yet offer an API for cluster identification, so Pulumi uses heuristics to decide when a provider resource should be replaced or updated. These heuristics can sometimes lead to destructive replace operations when an update would be more appropriate, or vice versa. Use clusterIdentifier for more fine-grained control of the provider resource's lifecycle.

Link copied to clipboard
val context: Output<String>? = null

If present, the name of the kubeconfig context to use.

Link copied to clipboard
val deleteUnreachable: Output<Boolean>? = null

If present and set to true, the provider will delete resources associated with an unreachable Kubernetes cluster from Pulumi state

Link copied to clipboard
val enableConfigMapMutable: Output<Boolean>? = null

BETA FEATURE - If present and set to true, allow ConfigMaps to be mutated. This feature is in developer preview, and is disabled by default. This config can be specified in the following ways using this precedence:

Link copied to clipboard
val enableSecretMutable: Output<Boolean>? = null

BETA FEATURE - If present and set to true, allow Secrets to be mutated. This feature is in developer preview, and is disabled by default. This config can be specified in the following ways using this precedence:

Link copied to clipboard
val enableServerSideApply: Output<Boolean>? = null

If present and set to false, disable Server-Side Apply mode. See https://github.com/pulumi/pulumi-kubernetes/issues/2011 for additional details.

Link copied to clipboard

Options to configure the Helm Release resource.

Link copied to clipboard

Options for tuning the Kubernetes client used by a Provider.

Link copied to clipboard
val kubeconfig: Output<String>? = null

The contents of a kubeconfig file or the path to a kubeconfig file.

Link copied to clipboard
val namespace: Output<String>? = null

If present, the default namespace to use. This flag is ignored for cluster-scoped resources. A namespace can be specified in multiple places, and the precedence is as follows:

Link copied to clipboard
val renderYamlToDirectory: Output<String>? = null

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. Note that some computed Outputs such as status fields will not be populated since the resources are not created on a Kubernetes cluster. These Output values will remain undefined, and may result in an error if they are referenced by other resources. Also note that any secret values used in these resources will be rendered in plaintext to the resulting YAML.

Link copied to clipboard
val skipUpdateUnreachable: Output<Boolean>? = null

If present and set to true, the provider will skip resources update associated with an unreachable Kubernetes cluster from Pulumi state

Link copied to clipboard

If present and set to true, suppress apiVersion deprecation warnings from the CLI.

Link copied to clipboard
val suppressHelmHookWarnings: Output<Boolean>? = null

If present and set to true, suppress unsupported Helm hook warnings from the CLI.

Functions

Link copied to clipboard
open override fun toJava(): ProviderArgs