Skip to content

Commit 34e4710

Browse files
Update index.html.markdown (#1062)
1 parent fc6e7d1 commit 34e4710

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

website/docs/index.html.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ There are generally two ways to configure the Kubernetes provider.
5353
### File config
5454

5555
The provider always first tries to load **a config file** from a given
56-
(or default) location. Depending on whether you have current context set
56+
(or default) location. Depending on whether you have a current context set
5757
this _may_ require `config_context_auth_info` and/or `config_context_cluster`
5858
and/or `config_context`.
5959

6060
#### Setting default config context
6161

62-
Here's an example for how to set default context and avoid all provider configuration:
62+
Here's an example of how to set default context and avoid all provider configuration:
6363

6464
```
6565
kubectl config set-context default-system \
@@ -75,8 +75,8 @@ Read [more about `kubectl` in the official docs](https://kubernetes.io/docs/user
7575

7676
If no other configuration is specified, and when it detects it is running in a kubernetes pod,
7777
the provider will try to use the service account token from the `/var/run/secrets/kubernetes.io/serviceaccount/token` path.
78-
Detection of in-cluster execution is based on the sole availability both of the `KUBERNETES_SERVICE_HOST` and `KUBERNETES_SERVICE_PORT` environment variables,
79-
with non empty values.
78+
Detection of in-cluster execution is based on the sole availability of both of the `KUBERNETES_SERVICE_HOST` and `KUBERNETES_SERVICE_PORT` environment variables,
79+
with non-empty values.
8080

8181
```hcl
8282
provider "kubernetes" {
@@ -117,7 +117,7 @@ provider "kubernetes" {
117117

118118

119119

120-
~> If you have **both** valid configuration in a config file and static configuration, the static one is used as override.
120+
~> If you have **both** valid configurations in a config file and static configuration, the static one is used as an override.
121121
i.e. any static field will override its counterpart loaded from the config.
122122

123123
## Argument Reference
@@ -127,7 +127,7 @@ The following arguments are supported:
127127
* `host` - (Optional) The hostname (in form of URI) of Kubernetes master. Can be sourced from `KUBE_HOST`.
128128
* `username` - (Optional) The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint. Can be sourced from `KUBE_USER`.
129129
* `password` - (Optional) The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. Can be sourced from `KUBE_PASSWORD`.
130-
* `insecure` - (Optional) Whether server should be accessed without verifying the TLS certificate. Can be sourced from `KUBE_INSECURE`. Defaults to `false`.
130+
* `insecure` - (Optional) Whether the server should be accessed without verifying the TLS certificate. Can be sourced from `KUBE_INSECURE`. Defaults to `false`.
131131
* `client_certificate` - (Optional) PEM-encoded client certificate for TLS authentication. Can be sourced from `KUBE_CLIENT_CERT_DATA`.
132132
* `client_key` - (Optional) PEM-encoded client certificate key for TLS authentication. Can be sourced from `KUBE_CLIENT_KEY_DATA`.
133133
* `cluster_ca_certificate` - (Optional) PEM-encoded root certificates bundle for TLS authentication. Can be sourced from `KUBE_CLUSTER_CA_CERT_DATA`.

0 commit comments

Comments
 (0)