Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
e095f8c3
Commit
e095f8c3
authored
Apr 11, 2016
by
Mike Danese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't source the kube-env in addon-manager
parent
d01939e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
master.yaml
cluster/gce/trusty/master.yaml
+0
-2
kube-addons.sh
cluster/saltbase/salt/kube-addons/kube-addons.sh
+0
-13
No files found.
cluster/gce/trusty/master.yaml
View file @
e095f8c3
...
@@ -202,8 +202,6 @@ script
...
@@ -202,8 +202,6 @@ script
. /etc/kube-env
. /etc/kube-env
export HOME="/root"
export HOME="/root"
export KUBECTL_BIN="/usr/bin/kubectl"
export KUBECTL_BIN="/usr/bin/kubectl"
export TOKEN_DIR="/etc/srv/kubernetes"
export kubelet_kubeconfig_file="/var/lib/kubelet/kubeconfig"
export TRUSTY_MASTER="true"
export TRUSTY_MASTER="true"
if [ -n "${TEST_ADDON_CHECK_INTERVAL_SEC:-}" ]; then
if [ -n "${TEST_ADDON_CHECK_INTERVAL_SEC:-}" ]; then
export TEST_ADDON_CHECK_INTERVAL_SEC=${TEST_ADDON_CHECK_INTERVAL_SEC}
export TEST_ADDON_CHECK_INTERVAL_SEC=${TEST_ADDON_CHECK_INTERVAL_SEC}
...
...
cluster/saltbase/salt/kube-addons/kube-addons.sh
View file @
e095f8c3
...
@@ -76,19 +76,6 @@ echo "== Kubernetes addon manager started at $(date -Is) with ADDON_CHECK_INTERV
...
@@ -76,19 +76,6 @@ echo "== Kubernetes addon manager started at $(date -Is) with ADDON_CHECK_INTERV
ensure_python
ensure_python
# Load the kube-env, which has all the environment variables we care
# about, in a flat yaml format.
kube_env_yaml
=
"/var/cache/kubernetes-install/kube_env.yaml"
if
[
!
-e
"
${
kubelet_kubeconfig_file
}
"
]
;
then
eval
$(${
PYTHON
}
-c
'''
import pipes,sys,yaml
for k,v in yaml.load(sys.stdin).iteritems():
print("readonly {var}={value}".format(var = k, value = pipes.quote(str(v))))
'''
<
"
${
kube_env_yaml
}
"
)
fi
# Create the namespace that will be used to host the cluster-level add-ons.
# Create the namespace that will be used to host the cluster-level add-ons.
start_addon /etc/kubernetes/addons/namespace.yaml 100 10
""
&
start_addon /etc/kubernetes/addons/namespace.yaml 100 10
""
&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment