system-config/playbooks/roles/configure-kubectl/README.rst
James E. Blair 7610682b6f Configure .kube/config on bridge
Add the gitea k8s cluster to root's .kube/config file on bridge.

The default context does not exist in order to force us to explicitly
specify a context for all commands (so that we do not inadvertently
deploy something on the wrong k8s cluster).

Change-Id: I53368c76e6f5b3ab45b1982e9a977f9ce9f08581
2019-02-06 15:43:19 -08:00

20 lines
383 B
ReStructuredText

Configure kube config files
Configure kubernetes files needed by kubectl.
**Role Variables**
.. zuul:rolevar:: kube_config_dir
:default: /root/.kube
.. zuul:rolevar:: kube_config_owner
:default: root
.. zuul:rolevar:: kube_config_group
:default: root
.. zuul:rolevar:: kube_config_file
:default: {{ kube_config_dir }}/config
.. zuul:rolevar:: kube_config_template