From c00e605b48eb8a6631cd225e7653913f69951ebb Mon Sep 17 00:00:00 2001 From: Austin Gebauer <34121980+austingebauer@users.noreply.github.com> Date: Fri, 8 Jul 2022 08:52:42 -0700 Subject: [PATCH] secrets/k8s: updates API docs for kubernetes_host with correct env var (#16251) --- website/content/api-docs/secret/kubernetes.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/api-docs/secret/kubernetes.mdx b/website/content/api-docs/secret/kubernetes.mdx index 351675df3..d6f7d6c48 100644 --- a/website/content/api-docs/secret/kubernetes.mdx +++ b/website/content/api-docs/secret/kubernetes.mdx @@ -27,9 +27,9 @@ Kubernetes API and authenticate with it. ### Parameters -- `kubernetes_host` `(string: "https://$KUBERNETES_SERVICE_HOST:KUBERNETES_SERVICE_PORT")` - +- `kubernetes_host` `(string: "https://$KUBERNETES_SERVICE_HOST:KUBERNETES_SERVICE_PORT_HTTPS")` - Kubernetes API URL to connect to. Must be specified if the standard pod environment - variables `KUBERNETES_SERVICE_HOST` or `KUBERNETES_SERVICE_PORT` are not set. + variables `KUBERNETES_SERVICE_HOST` or `KUBERNETES_SERVICE_PORT_HTTPS` are not set. - `kubernetes_ca_cert` `(string: "")` - PEM encoded CA certificate to verify the Kubernetes API server certificate. Defaults to the local pod's CA certificate at `/var/run/secrets/kubernetes.io/serviceaccount/ca.crt` if found, or