node identified as system:node:<node-name>
This commit is contained in:
parent
0ee229488e
commit
765a5ce1ab
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ fi
|
|||
if [ -n "$HOSTS" ]; then
|
||||
for host in $HOSTS; do
|
||||
cn="${host%%.*}"
|
||||
gen_key_and_cert "node-${host}" "/CN=kube-node-${cn}/O=system:nodes"
|
||||
gen_key_and_cert "node-${host}" "/CN=system:node:${cn}/O=system:nodes"
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue