Skip to content

Commit

Permalink
skip create initial role binding due to bulit-in RBAC support. (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenwu449 authored Mar 17, 2018
1 parent 7d91a71 commit 1294a58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions parts/k8s/kubernetesmastercustomscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,6 @@ if [[ ! -z "${APISERVER_PRIVATE_KEY}" ]]; then
ensureEtcdDataDir
ensureEtcd
ensureApiserver

/usr/local/bin/kubectl create clusterrolebinding superuser --clusterrole=cluster-admin --user=client
fi

if [[ $OS == $UBUNTU_OS_NAME ]]; then
Expand Down

0 comments on commit 1294a58

Please sign in to comment.