Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #845 from ericchiang/conformance-kubeconfig
Browse files Browse the repository at this point in the history
conformance: use admin kubeconfig
  • Loading branch information
rphillips authored Jan 19, 2018
2 parents a68a250 + e45708e commit 8286d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hack/quickstart/init-master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function init_master_node() {
chown -R ${REMOTE_USER}:${REMOTE_USER} /home/${REMOTE_USER}/assets
mkdir -p /etc/kubernetes
cp /home/${REMOTE_USER}/assets/auth/kubeconfig-kubelet /etc/kubernetes/kubeconfig
cp /home/${REMOTE_USER}/assets/auth/kubeconfig /etc/kubernetes/kubeconfig-admin
cp /home/${REMOTE_USER}/assets/tls/ca.crt /etc/kubernetes/ca.crt

# Start etcd.
Expand Down
2 changes: 1 addition & 1 deletion hack/tests/conformance-gce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if [ "${IN_CONTAINER}" == true ]; then
init
add_master
add_workers
KUBECONFIG=/etc/kubernetes/kubeconfig WORKER_COUNT=${WORKER_COUNT} /build/bootkube/hack/tests/conformance-test.sh ${MASTER_IP} 22 /root/.ssh/id_rsa
KUBECONFIG=/etc/kubernetes/kubeconfig-admin WORKER_COUNT=${WORKER_COUNT} /build/bootkube/hack/tests/conformance-test.sh ${MASTER_IP} 22 /root/.ssh/id_rsa
else
BUILD_ROOT=${BUILD_ROOT:-}
if [ -z "$BUILD_ROOT" ]; then
Expand Down

0 comments on commit 8286d0e

Please sign in to comment.