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
b4189f96
Commit
b4189f96
authored
Jan 02, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #19136 from gmarek/cleanup
Auto commit by PR queue bot
parents
4f65f68a
d776a331
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
configure-vm.sh
cluster/gce/configure-vm.sh
+5
-5
No files found.
cluster/gce/configure-vm.sh
View file @
b4189f96
...
@@ -279,14 +279,14 @@ dns_replicas: '$(echo "$DNS_REPLICAS" | sed -e "s/'/''/g")'
...
@@ -279,14 +279,14 @@ dns_replicas: '$(echo "$DNS_REPLICAS" | sed -e "s/'/''/g")'
dns_server: '
$(
echo
"
$DNS_SERVER_IP
"
|
sed
-e
"s/'/''/g"
)
'
dns_server: '
$(
echo
"
$DNS_SERVER_IP
"
|
sed
-e
"s/'/''/g"
)
'
dns_domain: '
$(
echo
"
$DNS_DOMAIN
"
|
sed
-e
"s/'/''/g"
)
'
dns_domain: '
$(
echo
"
$DNS_DOMAIN
"
|
sed
-e
"s/'/''/g"
)
'
admission_control: '
$(
echo
"
$ADMISSION_CONTROL
"
|
sed
-e
"s/'/''/g"
)
'
admission_control: '
$(
echo
"
$ADMISSION_CONTROL
"
|
sed
-e
"s/'/''/g"
)
'
network_provider: '
$(
echo
"
$NETWORK_PROVIDER
"
)
'
network_provider: '
$(
echo
"
$NETWORK_PROVIDER
"
|
sed
-e
"s/'/''/g"
)
'
opencontrail_tag: '
$(
echo
"
$OPENCONTRAIL_TAG
"
)
'
opencontrail_tag: '
$(
echo
"
$OPENCONTRAIL_TAG
"
|
sed
-e
"s/'/''/g"
)
'
opencontrail_kubernetes_tag: '
$(
echo
"
$OPENCONTRAIL_KUBERNETES_TAG
"
)
'
opencontrail_kubernetes_tag: '
$(
echo
"
$OPENCONTRAIL_KUBERNETES_TAG
"
)
'
opencontrail_public_subnet: '
$(
echo
"
$OPENCONTRAIL_PUBLIC_SUBNET
"
)
'
opencontrail_public_subnet: '
$(
echo
"
$OPENCONTRAIL_PUBLIC_SUBNET
"
)
'
enable_manifest_url: '
$(
echo
"
$ENABLE_MANIFEST_URL
"
|
sed
-e
"s/'/''/g"
)
'
enable_manifest_url: '
$(
echo
"
$ENABLE_MANIFEST_URL
"
|
sed
-e
"s/'/''/g"
)
'
manifest_url: '
$(
echo
"
$MANIFEST_URL
"
|
sed
-e
"s/'/''/g"
)
'
manifest_url: '
$(
echo
"
$MANIFEST_URL
"
|
sed
-e
"s/'/''/g"
)
'
manifest_url_header: '
$(
echo
"
$MANIFEST_URL_HEADER
"
|
sed
-e
"s/'/''/g"
)
'
manifest_url_header: '
$(
echo
"
$MANIFEST_URL_HEADER
"
|
sed
-e
"s/'/''/g"
)
'
num_nodes:
$(
echo
"
${
NUM_NODES
}
"
)
num_nodes:
$(
echo
"
${
NUM_NODES
}
"
|
sed
-e
"s/'/''/g"
)
e2e_storage_test_environment: '
$(
echo
"
$E2E_STORAGE_TEST_ENVIRONMENT
"
|
sed
-e
"s/'/''/g"
)
'
e2e_storage_test_environment: '
$(
echo
"
$E2E_STORAGE_TEST_ENVIRONMENT
"
|
sed
-e
"s/'/''/g"
)
'
EOF
EOF
if
[
-n
"
${
KUBELET_PORT
:-}
"
]
;
then
if
[
-n
"
${
KUBELET_PORT
:-}
"
]
;
then
...
@@ -349,8 +349,8 @@ EOF
...
@@ -349,8 +349,8 @@ EOF
if
[[
"
${
ENABLE_CLUSTER_REGISTRY
}
"
==
true
&&
-n
"
${
CLUSTER_REGISTRY_DISK
}
"
]]
;
then
if
[[
"
${
ENABLE_CLUSTER_REGISTRY
}
"
==
true
&&
-n
"
${
CLUSTER_REGISTRY_DISK
}
"
]]
;
then
cat
<<
EOF
>>/srv/salt-overlay/pillar/cluster-params.sls
cat
<<
EOF
>>/srv/salt-overlay/pillar/cluster-params.sls
cluster_registry_disk_type: gce
cluster_registry_disk_type: gce
cluster_registry_disk_size:
$(
convert-bytes-gce-kube
${
CLUSTER_REGISTRY_DISK_SIZE
}
)
cluster_registry_disk_size:
$(
echo
$(
convert-bytes-gce-kube
${
CLUSTER_REGISTRY_DISK_SIZE
})
|
sed
-e
"s/'/''/g"
)
cluster_registry_disk_name:
$
{
CLUSTER_REGISTRY_DISK
}
cluster_registry_disk_name:
$
(
echo
${
CLUSTER_REGISTRY_DISK
}
|
sed
-e
"s/'/''/g"
)
EOF
EOF
fi
fi
if
[
-n
"
${
TERMINATED_POD_GC_THRESHOLD
:-}
"
]
;
then
if
[
-n
"
${
TERMINATED_POD_GC_THRESHOLD
:-}
"
]
;
then
...
...
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