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
efee9825
Commit
efee9825
authored
Jul 03, 2018
by
Jing Ai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove echo cmd when overwriting a file from an Env var.
parent
e3fa9133
Show 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 @
efee9825
...
@@ -2252,7 +2252,7 @@ function setup-kube-dns-manifest {
...
@@ -2252,7 +2252,7 @@ function setup-kube-dns-manifest {
if
[
-n
"
${
CUSTOM_KUBE_DNS_YAML
:-}
"
]
;
then
if
[
-n
"
${
CUSTOM_KUBE_DNS_YAML
:-}
"
]
;
then
# Replace with custom GKE kube-dns deployment.
# Replace with custom GKE kube-dns deployment.
cat
>
"
${
kubedns_file
}
"
<<
EOF
cat
>
"
${
kubedns_file
}
"
<<
EOF
$
(
echo
"
$CUSTOM_KUBE_DNS_YAML
"
)
$
CUSTOM_KUBE_DNS_YAML
EOF
EOF
update-prometheus-to-sd-parameters
${
kubedns_file
}
update-prometheus-to-sd-parameters
${
kubedns_file
}
fi
fi
...
@@ -2275,7 +2275,7 @@ function setup-netd-manifest {
...
@@ -2275,7 +2275,7 @@ function setup-netd-manifest {
if
[
-n
"
${
CUSTOM_NETD_YAML
:-}
"
]
;
then
if
[
-n
"
${
CUSTOM_NETD_YAML
:-}
"
]
;
then
# Replace with custom GCP netd deployment.
# Replace with custom GCP netd deployment.
cat
>
"
${
netd_file
}
"
<<
EOF
cat
>
"
${
netd_file
}
"
<<
EOF
$
(
echo
"
$CUSTOM_NETD_YAML
"
)
$
CUSTOM_NETD_YAML
EOF
EOF
fi
fi
}
}
...
@@ -2323,7 +2323,7 @@ function start-kube-addons {
...
@@ -2323,7 +2323,7 @@ function start-kube-addons {
if
[
-n
"
${
CUSTOM_KUBE_PROXY_YAML
:-}
"
]
;
then
if
[
-n
"
${
CUSTOM_KUBE_PROXY_YAML
:-}
"
]
;
then
# Replace with custom GKE kube proxy.
# Replace with custom GKE kube proxy.
cat
>
"
$src_dir
/kube-proxy/kube-proxy-ds.yaml"
<<
EOF
cat
>
"
$src_dir
/kube-proxy/kube-proxy-ds.yaml"
<<
EOF
$
(
echo
"
$CUSTOM_KUBE_PROXY_YAML
"
)
$
CUSTOM_KUBE_PROXY_YAML
EOF
EOF
update-prometheus-to-sd-parameters
"
$src_dir
/kube-proxy/kube-proxy-ds.yaml"
update-prometheus-to-sd-parameters
"
$src_dir
/kube-proxy/kube-proxy-ds.yaml"
fi
fi
...
...
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