Class ProviderArgs
The set of arguments for constructing a Provider.
Inherited Members
Namespace: Pulumi.Kubernetes
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class ProviderArgs : ResourceArgs
Properties
View SourceCluster
If present, the name of the kubeconfig cluster to use.
Declaration
public Input<string> Cluster { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Context
If present, the name of the kubeconfig context to use.
Declaration
public Input<string> Context { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EnableDryRun
BETA FEATURE - If present and set to true, enable server-side diff calculations. This feature is in developer preview, and is disabled by default.
This config can be specified in the following ways, using this precedence:
- This
enableDryRunparameter. - The
PULUMI_K8S_ENABLE_DRY_RUNenvironment variable.
Declaration
public Input<bool> EnableDryRun { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
KubeConfig
The contents of a kubeconfig file. If this is set, this config will be used instead of $KUBECONFIG.
Declaration
public Input<string> KubeConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Namespace
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:
.metadata.namespaceset on the resource.- This
namespaceparameter. namespaceset for the active context in the kubeconfig.
Declaration
public Input<string> Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RenderYamlToDirectory
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.
Declaration
public Input<string> RenderYamlToDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SuppressDeprecationWarnings
If present and set to true, suppress apiVersion deprecation warnings from the CLI.
This config can be specified in the following ways, using this precedence:
- This
suppressDeprecationWarningsparameter. - The
PULUMI_K8S_SUPPRESS_DEPRECATION_WARNINGSenvironment variable.
Declaration
public Input<bool> SuppressDeprecationWarnings { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |