update k8s doc
This commit is contained in:
Родитель
ec3179b37d
Коммит
b0f0e8156a
|
@ -91,22 +91,39 @@ The following arguments are supported:
|
|||
- `service_endpoint_name` - (Required) The Service Endpoint name.
|
||||
- `apiserver_url` - (Required) The hostname (in form of URI) of the Kubernetes API.
|
||||
- `authorization_type` - (Required) The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
|
||||
- `azure_subscription` - (Optional) The configuration for authorization_type="AzureSubscription".
|
||||
- `azure_environment` - (Optional) Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
|
||||
- `cluster_name` - (Required) The name of the Kubernetes cluster.
|
||||
- `subscription_id` - (Required) The id of the Azure subscription.
|
||||
- `subscription_name` - (Required) The name of the Azure subscription.
|
||||
- `tenant_id` - (Required) The id of the tenant used by the subscription.
|
||||
- `resourcegroup_id` - (Required) The resource group name, to which the Kubernetes cluster is deployed.
|
||||
- `namespace` - (Optional) The Kubernetes namespace. Default value is "default".
|
||||
- `cluster_admin` - (Optional) Set this option to allow use cluster admin credentials.
|
||||
- `kubeconfig` - (Optional) The configuration for authorization_type="Kubeconfig".
|
||||
- `kube_config` - (Required) The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
|
||||
- `accept_untrusted_certs` - (Optional) Set this option to allow clients to accept a self-signed certificate.
|
||||
- `cluster_context` - (Optional) Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
|
||||
- `service_account` - (Optional) The configuration for authorization_type="ServiceAccount". This type uses the credentials of a service account currently deployed to the cluster.
|
||||
- `token` - (Required) The token from a Kubernetes secret object.
|
||||
- `ca_cert` - (Required) The certificate from a Kubernetes secret object.
|
||||
- `azure_subscription` - (Optional) A `azure_subscription` block defined blow.
|
||||
- `kubeconfig` - (Optional) A `kubeconfig` block defined blow.
|
||||
- `service_account` - (Optional) A `service_account` block defined blow.
|
||||
|
||||
---
|
||||
|
||||
A `azure_subscription` block supports the following:
|
||||
|
||||
The configuration for authorization_type="AzureSubscription".
|
||||
|
||||
- `azure_environment` - (Optional) Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
|
||||
- `cluster_name` - (Required) The name of the Kubernetes cluster.
|
||||
- `subscription_id` - (Required) The id of the Azure subscription.
|
||||
- `subscription_name` - (Required) The name of the Azure subscription.
|
||||
- `tenant_id` - (Required) The id of the tenant used by the subscription.
|
||||
- `resourcegroup_id` - (Required) The resource group name, to which the Kubernetes cluster is deployed.
|
||||
- `namespace` - (Optional) The Kubernetes namespace. Default value is "default".
|
||||
- `cluster_admin` - (Optional) Set this option to allow use cluster admin credentials.
|
||||
|
||||
A `kubeconfig` block supports the following:
|
||||
|
||||
The configuration for authorization_type="Kubeconfig".
|
||||
|
||||
- `kube_config` - (Required) The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
|
||||
- `accept_untrusted_certs` - (Optional) Set this option to allow clients to accept a self-signed certificate.
|
||||
- `cluster_context` - (Optional) Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
|
||||
|
||||
A `service_account` block supports the following:
|
||||
|
||||
The configuration for authorization_type="ServiceAccount". This type uses the credentials of a service account currently deployed to the cluster.
|
||||
|
||||
- `token` - (Required) The token from a Kubernetes secret object.
|
||||
- `ca_cert` - (Required) The certificate from a Kubernetes secret object.
|
||||
|
||||
## Attributes Reference
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче