update k8s doc
@@ -91,7 +91,16 @@ 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_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.
@@ -100,11 +109,19 @@ The following arguments are supported:
- `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".
+
+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.
-- `service_account` - (Optional) The configuration for authorization_type="ServiceAccount". This type uses the credentials of a service account currently deployed to the cluster.
+
+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.
