airshipctl/tools/deployment/templates/kubeconfig_template
Kostyantyn Kalynovskyi faf07af718 Revert "Adding encryption of"
This reverts commit 6ffde8fa17dcecd4243be076340a29a3c807f6e0.

Reason for revert: it seems like this commit introduced breaking changes, reverting to see if this helps with toos/deployment/30_* script

Change-Id: Ib67babfd3683489e1c3afe1264784758791fe44d
2021-02-02 00:28:37 -06:00

32 lines
919 B
Plaintext

apiVersion: v1
clusters:
- cluster:
certificate-authority-data: ${EPHEMERAL_CONFIG_CA_DATA}
server: https://${EPHEMERAL_IP}:6443
name: ephemeral-cluster_ephemeral
- cluster:
certificate-authority-data: ${TARGET_CONFIG_CA_DATA}
server: https://${TARGET_IP}:6443
name: target-cluster_target
contexts:
- context:
cluster: ephemeral-cluster_ephemeral
user: ephemeral-cluster-admin
name: ephemeral-cluster
- context:
cluster: target-cluster_target
user: target-cluster-admin
name: target-cluster
current-context: ephemeral-cluster
kind: Config
preferences: {}
users:
- name: ephemeral-cluster-admin
user:
client-certificate-data: ${EPHEMERAL_CONFIG_CLIENT_CERT_DATA}
client-key-data: ${EPHEMERAL_CONFIG_CLIENT_KEY_DATA}
- name: target-cluster-admin
user:
client-certificate-data: ${TARGET_CONFIG_CLIENT_CERT_DATA}
client-key-data: ${TARGET_CONFIG_CLIENT_KEY_DATA}