#72 fix docs (client-side certs are now supported via kubeconfig)

This commit is contained in:
Henning Jacobs
2017-01-15 18:46:34 +01:00
parent 5dc172e2fa
commit c63d4dcfde
2 changed files with 16 additions and 4 deletions

View File

@@ -108,11 +108,11 @@ The provided ``Makefile`` will generate a Docker image by default:
Multiple Clusters
=================
Multiple clusters are supported by passing a list of API server URLs in the ``CLUSTERS`` environment variable.
These can either be unprotected ``localhost`` URLs or OAuth 2 protected API endpoints.
Note that authentication via client-certificates is currently not supported!
Multiple clusters are supported by passing a list of API servers, reading a kubeconfig file or pointing to an HTTP Cluster Registry endpoint.
The needed OAuth credentials (``Bearer`` access token) must be provided via a file ``${CREDENTIALS_DIR}/read-only-token``.
See the `documentation on multiple clusters`_ for details.
.. _documentation on multiple clusters: https://kubernetes-operational-view.readthedocs.io/en/latest/multiple-clusters.html
Configuration

View File

@@ -2,8 +2,18 @@
Multiple Clusters
=================
Multiple clusters are supported by either passing a static list of API server URLs, using an existing kubeconfig file or pointing to a Cluster Registry HTTP endpoint.
Static List of API Server URLs
==============================
Set the ``CLUSTERS`` environment variable to a comma separated list of Kubernetes API server URLs.
These can either be unprotected ``localhost`` URLs or OAuth 2 protected API endpoints.
The needed OAuth credentials (``Bearer`` access token) must be provided via a file ``${CREDENTIALS_DIR}/read-only-token-secret``.
Kubeconfig File
===============
@@ -78,4 +88,6 @@ Example:
$ token=mysecrettoken
$ docker run -it -p 8080:8080 -e OAUTH2_ACCESS_TOKENS=read-only=$token hjacobs/kube-ops-view --cluster-registry-url=https://cluster-registry.example.org
Otherwise the needed OAuth credentials (``Bearer`` access token) must be provided via a file ``${CREDENTIALS_DIR}/read-only-token-secret``.
.. _kubeconfig file: https://kubernetes.io/docs/user-guide/kubeconfig-file/