kubeasz/roles/kube-node/templates/kubelet-csr.json.j2

23 lines
342 B
Plaintext
Raw Normal View History

2018-09-11 20:46:46 +08:00
{
"CN": "system:node:{{ inventory_hostname }}",
"hosts": [
2020-12-30 11:25:54 +08:00
{% for host in groups['kube-node'] %}
"{{ host }}",
{% endfor %}
"127.0.0.1"
2018-09-11 20:46:46 +08:00
],
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
"C": "CN",
"ST": "HangZhou",
"L": "XS",
"O": "system:nodes",
"OU": "System"
}
]
}