airshipctl/roles/airshipctl-test-configs/templates/kubeconfig.j2
Kostiantyn Kalynovskyi 16af49c265 Roles to genreate base config and build airshipctl
These roles will allow to generate base airship and kubeconfigs

Change-Id: I8e93dbeaf1aef2f51db5ed9e807f58999ebe97f7
2020-02-05 20:59:20 +00:00

19 lines
517 B
Django/Jinja

apiVersion: v1
clusters:
- cluster:
certificate-authority-data: {{ airship_config_ca_data }}
server: https://{{ airship_config_ephemeral_ip }}:6443
name: dummycluster_ephemeral
contexts:
- context:
cluster: dummycluster_ephemeral
user: kubernetes-admin
name: dummy_cluster
current-context: dummy_cluster
kind: Config
preferences: {}
users:
- name: kubernetes-admin
user:
client-certificate-data: {{ airship_config_client_cert_data }}
client-key-data: {{ airship_config_client_key_data }}