use a variable for api's 'root' password

This commit is contained in:
Smana 2016-05-04 16:49:25 +02:00
parent 078d27c0f1
commit 59d71740b1

View file

@ -17,13 +17,14 @@ kube_cert_group: kube-cert
kube_log_level: 2 kube_log_level: 2
# Users to create for basic auth in Kubernetes API via HTTP # Users to create for basic auth in Kubernetes API via HTTP
root_api_pwd: "changeme"
kube_users: kube_users:
kube: # kube:
pass: changeme
role: admin
# root:
# pass: changeme # pass: changeme
# role: admin # role: admin
root:
pass: "{{root_api_pwd}}"
role: admin
# Kubernetes cluster name, also will be used as DNS domain # Kubernetes cluster name, also will be used as DNS domain
cluster_name: cluster.local cluster_name: cluster.local