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

22 lines
325 B
Plaintext
Raw Normal View History

2018-09-11 20:46:46 +08:00
{
2023-01-15 21:41:45 +08:00
"CN": "system:node:{{ K8S_NODENAME }}",
2018-09-11 20:46:46 +08:00
"hosts": [
2021-01-12 11:01:19 +08:00
"127.0.0.1",
"{{ inventory_hostname }}",
"{{ K8S_NODENAME }}"
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"
}
]
}