Code Review
/
eliot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add scripts to install opc-ua
[eliot.git]
/
scripts
/
k8smaster.sh
diff --git
a/scripts/k8smaster.sh
b/scripts/k8smaster.sh
index
8fd511d
..
49e72be
100644
(file)
--- a/
scripts/k8smaster.sh
+++ b/
scripts/k8smaster.sh
@@
-45,6
+45,7
@@
if ! kubectl get nodes; then
--service-cidr="${K8s_SVC_CIDR}"
if [ "$(id -u)" = 0 ]; then
+ KUBECONFIG=/etc/kubernetes/admin.conf
echo "export KUBECONFIG=/etc/kubernetes/admin.conf" | \
tee -a "${HOME}/.profile"
source "${HOME}/.profile"