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
4966faab
Unverified
Commit
4966faab
authored
Oct 09, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 09, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69522 from wojtek-t/fix_env_setup
Fix overwriting env variables in kube-apiserver manifest
parents
9ba74cb5
3fdb5b92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
configure-helper.sh
cluster/gce/gci/configure-helper.sh
+3
-3
No files found.
cluster/gce/gci/configure-helper.sh
View file @
4966faab
...
@@ -1763,16 +1763,16 @@ function start-kube-apiserver {
...
@@ -1763,16 +1763,16 @@ function start-kube-apiserver {
local
container_env
=
""
local
container_env
=
""
if
[[
-n
"
${
ENABLE_CACHE_MUTATION_DETECTOR
:-}
"
]]
;
then
if
[[
-n
"
${
ENABLE_CACHE_MUTATION_DETECTOR
:-}
"
]]
;
then
container_env
=
"
\"
name
\"
:
\"
KUBE_CACHE_MUTATION_DETECTOR
\"
,
\"
value
\"
:
\"
${
ENABLE_CACHE_MUTATION_DETECTOR
}
\"
"
container_env
+
=
"{
\"
name
\"
:
\"
KUBE_CACHE_MUTATION_DETECTOR
\"
,
\"
value
\"
:
\"
${
ENABLE_CACHE_MUTATION_DETECTOR
}
\"
}
"
fi
fi
if
[[
-n
"
${
ENABLE_PATCH_CONVERSION_DETECTOR
:-}
"
]]
;
then
if
[[
-n
"
${
ENABLE_PATCH_CONVERSION_DETECTOR
:-}
"
]]
;
then
if
[[
-n
"
${
container_env
}
"
]]
;
then
if
[[
-n
"
${
container_env
}
"
]]
;
then
container_env
=
"
${
container_env
}
, "
container_env
=
"
${
container_env
}
, "
fi
fi
container_env
=
"
\"
name
\"
:
\"
KUBE_PATCH_CONVERSION_DETECTOR
\"
,
\"
value
\"
:
\"
${
ENABLE_PATCH_CONVERSION_DETECTOR
}
\"
"
container_env
+
=
"{
\"
name
\"
:
\"
KUBE_PATCH_CONVERSION_DETECTOR
\"
,
\"
value
\"
:
\"
${
ENABLE_PATCH_CONVERSION_DETECTOR
}
\"
}
"
fi
fi
if
[[
-n
"
${
container_env
}
"
]]
;
then
if
[[
-n
"
${
container_env
}
"
]]
;
then
container_env
=
"
\"
env
\"
:[
{
${
container_env
}
}],"
container_env
=
"
\"
env
\"
:[
${
container_env
}
],"
fi
fi
local
-r
src_file
=
"
${
src_dir
}
/kube-apiserver.manifest"
local
-r
src_file
=
"
${
src_dir
}
/kube-apiserver.manifest"
...
...
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