diff --git a/addons/dex/00-dex.yml b/addons/dex/00-dex.yml index 10c1ace..c267872 100644 --- a/addons/dex/00-dex.yml +++ b/addons/dex/00-dex.yml @@ -77,9 +77,12 @@ data: config: # 1.2 (Optional): Enter the URL of your Gitlab instance baseURL: https://gitlab.com + # Those environment variables are automatically substituted by + # mounting the secret 'gitlab-client' clientID: $GITLAB_CLIENT_ID clientSecret: $GITLAB_CLIENT_SECRET - # 1.3 The URL Gitlab redirects to. Substitute with with your Floating IP + # 1.3 The URL Gitlab redirects to. Substitute with with your + # Floating IP redirectURI: https://%%FLOATING_IP%%:32000/callback oauth2: skipApprovalScreen: true diff --git a/docs/addons.rst b/docs/addons.rst index c1539e3..75b1e8a 100644 --- a/docs/addons.rst +++ b/docs/addons.rst @@ -357,6 +357,16 @@ Now send the request again: "apiVersion": "v1", # ... +Alternatively, the token can be passed directly to ``kubectl``: + +.. code:: shell + + $ kubectl --token=$token get nodes + { + "kind": "NodeList", + "apiVersion": "v1", + # ... + Cleanup ^^^^^^^