You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,4 +19,39 @@ description: |-
19
19
20
20
-`access_token` (String, Sensitive) Plural Console access token. Can be sourced from `PLURAL_ACCESS_TOKEN`.
21
21
-`console_url` (String) Plural Console URL, i.e. `https://console.demo.onplural.sh`. Can be sourced from `PLURAL_CONSOLE_URL`.
22
+
-`kubeconfig` (Attributes) Kubeconfig for cluster access. In order to source its fields from environment variables it has to be defined, at least as an empty object. (see [below for nested schema](#nestedatt--kubeconfig))
22
23
-`use_cli` (Boolean) Use Plural CLI `plural cd login` command for authentication. Can be sourced from `PLURAL_USE_CLI`.
24
+
25
+
<aid="nestedatt--kubeconfig"></a>
26
+
### Nested Schema for `kubeconfig`
27
+
28
+
Optional:
29
+
30
+
-`client_certificate` (String) The path to a client cert file for TLS. Can be sourced from `PLURAL_KUBE_CLIENT_CERT_DATA`.
31
+
-`client_key` (String, Sensitive) The path to a client key file for TLS. Can be sourced from `PLURAL_KUBE_CLIENT_KEY_DATA`.
32
+
-`cluster_ca_certificate` (String) The path to a cert file for the certificate authority. Can be sourced from `PLURAL_KUBE_CLUSTER_CA_CERT_DATA`.
33
+
-`config_context` (String) kubeconfig context to use. Can be sourced from `PLURAL_KUBE_CTX`.
34
+
-`config_context_auth_info` (String) Can be sourced from `PLURAL_KUBE_CTX_AUTH_INFO`.
35
+
-`config_context_cluster` (String) Can be sourced from `PLURAL_KUBE_CTX_CLUSTER`.
36
+
-`config_path` (String) Path to the kubeconfig file. Can be sourced from `PLURAL_KUBE_CONFIG_PATH`.
37
+
-`exec` (Attributes List) Specifies a command to provide client credentials (see [below for nested schema](#nestedatt--kubeconfig--exec))
38
+
-`host` (String) The complete address of the Kubernetes cluster, using scheme://hostname:port format. Can be sourced from `PLURAL_KUBE_HOST`.
39
+
-`insecure` (Boolean) Skips the validity check for the server's certificate. This will make your HTTPS connections insecure. Can be sourced from `PLURAL_KUBE_INSECURE`.
40
+
-`password` (String, Sensitive) The password for basic authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_PASSWORD`.
41
+
-`proxy_url` (String) The URL to the proxy to be used for all requests made by this client. Can be sourced from `PLURAL_KUBE_PROXY_URL`.
42
+
-`tls_server_name` (String) TLS server name is used to check server certificate. If it is empty, the hostname used to contact the server is used. Can be sourced from `PLURAL_KUBE_TLS_SERVER_NAME`.
43
+
-`token` (String, Sensitive) Token is the bearer token for authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_TOKEN`.
44
+
-`username` (String) The username for basic authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_USER`.
45
+
46
+
<aid="nestedatt--kubeconfig--exec"></a>
47
+
### Nested Schema for `kubeconfig.exec`
48
+
49
+
Required:
50
+
51
+
-`api_version` (String) Preferred input version.
52
+
-`command` (String) Command to execute.
53
+
54
+
Optional:
55
+
56
+
-`args` (List of String) Arguments to pass to the command when executing it.
57
+
-`env` (Map of String) Defines environment variables to expose to the process.
Copy file name to clipboardExpand all lines: docs/resources/cluster.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ A representation of a cluster you can deploy to.
26
26
-`handle` (String) A short, unique human-readable name used to identify this cluster. Does not necessarily map to the cloud resource name.
27
27
-`helm_repo_url` (String) Helm repository URL you'd like to use in deployment agent Helm install.
28
28
-`helm_values` (String) Additional Helm values you'd like to use in deployment agent Helm installs. This is useful for BYOK clusters that need to use custom images or other constructs.
29
-
-`kubeconfig` (Attributes) (see [below for nested schema](#nestedatt--kubeconfig))
29
+
-`kubeconfig` (Attributes, Deprecated) (see [below for nested schema](#nestedatt--kubeconfig))
30
30
-`metadata` (String) Arbitrary JSON metadata to store user-specific state of this cluster (e.g. IAM roles for add-ons). Use `jsonencode` and `jsondecode` methods to encode and decode data.
31
31
-`project_id` (String) ID of the project that this cluster belongs to.
32
32
-`protect` (Boolean) If set to `true` then this cluster cannot be deleted.
@@ -71,21 +71,21 @@ Optional:
71
71
72
72
Optional:
73
73
74
-
-`client_certificate` (String) The path to a client cert file for TLS. Can be sourced from `PLURAL_KUBE_CLIENT_CERT_DATA`.
75
-
-`client_key` (String, Sensitive) The path to a client key file for TLS. Can be sourced from `PLURAL_KUBE_CLIENT_KEY_DATA`.
76
-
-`cluster_ca_certificate` (String) The path to a cert file for the certificate authority. Can be sourced from `PLURAL_KUBE_CLUSTER_CA_CERT_DATA`.
77
-
-`config_context` (String) kubeconfig context to use. Can be sourced from `PLURAL_KUBE_CTX`.
78
-
-`config_context_auth_info` (String) Can be sourced from `PLURAL_KUBE_CTX_AUTH_INFO`.
79
-
-`config_context_cluster` (String) Can be sourced from `PLURAL_KUBE_CTX_CLUSTER`.
80
-
-`config_path` (String) Path to the kubeconfig file. Can be sourced from `PLURAL_KUBE_CONFIG_PATH`.
74
+
-`client_certificate` (String) The path to a client cert file for TLS.
75
+
-`client_key` (String, Sensitive) The path to a client key file for TLS.
76
+
-`cluster_ca_certificate` (String) The path to a cert file for the certificate authority.
77
+
-`config_context` (String) kubeconfig context to use.
78
+
-`config_context_auth_info` (String)
79
+
-`config_context_cluster` (String)
80
+
-`config_path` (String) Path to the kubeconfig file.
81
81
-`exec` (Attributes List) Specifies a command to provide client credentials (see [below for nested schema](#nestedatt--kubeconfig--exec))
82
-
-`host` (String) The complete address of the Kubernetes cluster, using scheme://hostname:port format. Can be sourced from `PLURAL_KUBE_HOST`.
83
-
-`insecure` (Boolean) Skips the validity check for the server's certificate. This will make your HTTPS connections insecure. Can be sourced from `PLURAL_KUBE_INSECURE`.
84
-
-`password` (String, Sensitive) The password for basic authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_PASSWORD`.
85
-
-`proxy_url` (String) The URL to the proxy to be used for all requests made by this client. Can be sourced from `PLURAL_KUBE_PROXY_URL`.
86
-
-`tls_server_name` (String) TLS server name is used to check server certificate. If it is empty, the hostname used to contact the server is used. Can be sourced from `PLURAL_KUBE_TLS_SERVER_NAME`.
87
-
-`token` (String, Sensitive) Token is the bearer token for authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_TOKEN`.
88
-
-`username` (String) The username for basic authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_USER`.
82
+
-`host` (String) The complete address of the Kubernetes cluster, using scheme://hostname:port format.
83
+
-`insecure` (Boolean) Skips the validity check for the server's certificate. This will make your HTTPS connections insecure.
84
+
-`password` (String, Sensitive) The password for basic authentication to the Kubernetes cluster.
85
+
-`proxy_url` (String) The URL to the proxy to be used for all requests made by this client.
86
+
-`tls_server_name` (String) TLS server name is used to check server certificate. If it is empty, the hostname used to contact the server is used.
87
+
-`token` (String, Sensitive) Token is the bearer token for authentication to the Kubernetes cluster.
88
+
-`username` (String) The username for basic authentication to the Kubernetes cluster.
0 commit comments