ProviderArgs

data class ProviderArgs(val cluster: Output<String>? = null, val context: Output<String>? = null, val deleteUnreachable: Output<Boolean>? = null, val enableConfigMapMutable: Output<Boolean>? = null, val enableDryRun: Output<Boolean>? = null, val enableReplaceCRD: 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 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, context: Output<String>? = null, deleteUnreachable: Output<Boolean>? = null, enableConfigMapMutable: Output<Boolean>? = null, enableDryRun: Output<Boolean>? = null, enableReplaceCRD: 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, 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 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 enableDryRun: Output<Boolean>? = null

Deprecated. If present and set to true, enable server-side diff calculations.

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

Obsolete. This option has no effect.

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

BETA FEATURE - If present and set to true, enable Server-Side Apply mode. See https://github.com/pulumi/pulumi-kubernetes/issues/2011 for additional details. This feature is in developer preview, and is disabled by default.

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

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