GitBook: [#2929] No subject

This commit is contained in:
CPol 2021-12-30 17:07:47 +00:00 committed by gitbook-bot
parent f9fec3fd5b
commit 3577c72d1a
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -101,7 +101,7 @@ The following `kubectl` commands indicates just how to list the objects. If you
From inside a pod you can use several env variables:
```bash
export APISERVER=https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}
export APISERVER=${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}
export SERVICEACCOUNT=/var/run/secrets/kubernetes.io/serviceaccount
export NAMESPACE=$(cat ${SERVICEACCOUNT}/namespace)
export TOKEN=$(cat ${SERVICEACCOUNT}/token)