node identified as system:node:<node-name>
This commit is contained in:
parent
4fa142be0b
commit
4a1a7bd078
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ fi
|
||||||
if [ -n "$HOSTS" ]; then
|
if [ -n "$HOSTS" ]; then
|
||||||
for host in $HOSTS; do
|
for host in $HOSTS; do
|
||||||
cn="${host%%.*}"
|
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
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue