Add quickstart scripts for easy cluster setup
This commit is contained in:
19
scripts/.template.kubeconfig
Normal file
19
scripts/.template.kubeconfig
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: v1
|
||||
clusters:
|
||||
- cluster:
|
||||
server: https://__VIP_IP__:__VIP_API_PORT__
|
||||
certificate-authority-data: __CA_CERT__
|
||||
name: localconfig
|
||||
contexts:
|
||||
- context:
|
||||
cluster: localconfig
|
||||
namespace: kube-system
|
||||
user: admin
|
||||
name: localconfig
|
||||
current-context: localconfig
|
||||
kind: Config
|
||||
preferences: {}
|
||||
users:
|
||||
- name: admin
|
||||
user:
|
||||
token: __ADM_TOKEN__
|
Reference in New Issue
Block a user