import { CDK8sProvider } from 'cdktf-cdk8s'
new CDK8sProvider(scope: Construct, id: string, config: CDK8sProviderConfig)
Name | Type | Description |
---|---|---|
scope * |
constructs.Construct |
No description. |
id * |
string |
No description. |
config * |
cdktf-cdk8s.CDK8sProviderConfig |
No description. |
- Type:
constructs.Construct
- Type:
string
import { CDK8sProviderConfig } from 'cdktf-cdk8s'
const cDK8sProviderConfig: CDK8sProviderConfig = { ... }
Name | Type | Description |
---|---|---|
alias |
string |
Alias name. |
clientCertificate |
string |
PEM-encoded client certificate for TLS authentication. |
clientKey |
string |
PEM-encoded client certificate key for TLS authentication. |
clusterCaCertificate |
string |
PEM-encoded root certificates bundle for TLS authentication. |
configContext |
string |
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#config_context KubernetesProvider#config_context}. |
configContextAuthInfo |
string |
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#config_context_auth_info KubernetesProvider#config_context_auth_info}. |
configContextCluster |
string |
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#config_context_cluster KubernetesProvider#config_context_cluster}. |
configPath |
string |
Path to the kube config file. Can be set with KUBE_CONFIG_PATH. |
configPaths |
string [] |
A list of paths to kube config files. Can be set with KUBE_CONFIG_PATHS environment variable. |
exec |
@cdktf/provider-kubernetes.KubernetesProviderExec |
exec block. |
experiments |
@cdktf/provider-kubernetes.KubernetesProviderExperiments |
experiments block. |
host |
string |
The hostname (in form of URI) of Kubernetes master. |
ignoreAnnotations |
string [] |
List of Kubernetes metadata annotations to ignore across all resources handled by this provider for situations where external systems are managing certain resource annotations. |
ignoreLabels |
string [] |
List of Kubernetes metadata labels to ignore across all resources handled by this provider for situations where external systems are managing certain resource labels. |
insecure |
boolean | cdktf.IResolvable |
Whether server should be accessed without verifying the TLS certificate. |
password |
string |
The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. |
proxyUrl |
string |
URL to the proxy to be used for all API requests. |
token |
string |
Token to authenticate an service account. |
username |
string |
The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint. |
cdk8sApp * |
cdk8s.App |
No description. |
public readonly alias: string;
- Type:
string
Alias name.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#alias KubernetesProvider#alias}
public readonly clientCertificate: string;
- Type:
string
PEM-encoded client certificate for TLS authentication.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#client_certificate KubernetesProvider#client_certificate}
public readonly clientKey: string;
- Type:
string
PEM-encoded client certificate key for TLS authentication.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#client_key KubernetesProvider#client_key}
public readonly clusterCaCertificate: string;
- Type:
string
PEM-encoded root certificates bundle for TLS authentication.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#cluster_ca_certificate KubernetesProvider#cluster_ca_certificate}
public readonly configContext: string;
- Type:
string
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#config_context KubernetesProvider#config_context}.
public readonly configContextAuthInfo: string;
- Type:
string
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#config_context_auth_info KubernetesProvider#config_context_auth_info}.
public readonly configContextCluster: string;
- Type:
string
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#config_context_cluster KubernetesProvider#config_context_cluster}.
public readonly configPath: string;
- Type:
string
Path to the kube config file. Can be set with KUBE_CONFIG_PATH.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#config_path KubernetesProvider#config_path}
public readonly configPaths: string[];
- Type:
string
[]
A list of paths to kube config files. Can be set with KUBE_CONFIG_PATHS environment variable.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#config_paths KubernetesProvider#config_paths}
public readonly exec: KubernetesProviderExec;
exec block.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#exec KubernetesProvider#exec}
public readonly experiments: KubernetesProviderExperiments;
experiments block.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#experiments KubernetesProvider#experiments}
public readonly host: string;
- Type:
string
The hostname (in form of URI) of Kubernetes master.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#host KubernetesProvider#host}
public readonly ignoreAnnotations: string[];
- Type:
string
[]
List of Kubernetes metadata annotations to ignore across all resources handled by this provider for situations where external systems are managing certain resource annotations.
Each item is a regular expression. Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#ignore_annotations KubernetesProvider#ignore_annotations}
public readonly ignoreLabels: string[];
- Type:
string
[]
List of Kubernetes metadata labels to ignore across all resources handled by this provider for situations where external systems are managing certain resource labels.
Each item is a regular expression. Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#ignore_labels KubernetesProvider#ignore_labels}
public readonly insecure: boolean | IResolvable;
- Type:
boolean
|cdktf.IResolvable
Whether server should be accessed without verifying the TLS certificate.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#insecure KubernetesProvider#insecure}
public readonly password: string;
- Type:
string
The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#password KubernetesProvider#password}
public readonly proxyUrl: string;
- Type:
string
URL to the proxy to be used for all API requests.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#proxy_url KubernetesProvider#proxy_url}
public readonly token: string;
- Type:
string
Token to authenticate an service account.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#token KubernetesProvider#token}
public readonly username: string;
- Type:
string
The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes#username KubernetesProvider#username}
public readonly cdk8sApp: App;
- Type:
cdk8s.App