diff --git a/roles/kubernetes/secrets/files/make-ssl.sh b/roles/kubernetes/secrets/files/make-ssl.sh index 5383e7adb..e8574cc6b 100755 --- a/roles/kubernetes/secrets/files/make-ssl.sh +++ b/roles/kubernetes/secrets/files/make-ssl.sh @@ -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