kubeasz/roles/kube-master/templates/kubernetes-csr.json.j2

31 lines
555 B
Plaintext
Raw Normal View History

2017-11-11 19:14:21 +08:00
{
"CN": "kubernetes",
"hosts": [
"127.0.0.1",
"{{ MASTER_IP }}",
"{{ inventory_hostname }}",
2017-11-11 19:14:21 +08:00
"{{ CLUSTER_KUBERNETES_SVC_IP }}",
{% for HOST in MASTER_CERT_HOSTS %}
"{{ HOST }}",
{% endfor %}
2017-11-11 19:14:21 +08:00
"kubernetes",
"kubernetes.default",
"kubernetes.default.svc",
"kubernetes.default.svc.cluster",
"kubernetes.default.svc.cluster.local"
],
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
"C": "CN",
"ST": "HangZhou",
"L": "XS",
"O": "k8s",
"OU": "System"
}
]
}