summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorMunir Ahmad <munir.ahmad@bell.ca>2017-08-23 19:54:40 -0400
committerMunir Ahmad <munir.ahmad@bell.ca>2017-08-23 20:30:38 -0400
commit84a99779c29596dbd5f60491043e228c4c3be5d3 (patch)
tree9736da31efd8f64e46fea7ad8bdccb68239fdfdd /kubernetes
parentd17accd32f4f7851dbe7b023f1997aa4e17938e8 (diff)
apply bug fix to release-1.0.0 its env. agnostic
Issue-ID: OOM-174 Change-Id: Ibbcbd464fc12a0ab10a4a5ab69911f56352865c2 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/oneclick/createAll.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/oneclick/createAll.bash b/kubernetes/oneclick/createAll.bash
index 5e5f2dc76e..47a8c34194 100755
--- a/kubernetes/oneclick/createAll.bash
+++ b/kubernetes/oneclick/createAll.bash
@@ -25,8 +25,8 @@ create_registry_key() {
}
create_service() {
- sed -i -- 's/nodePort: [0-9]\{2\}[02468]\{1\}/nodePort: '"$3"'/g' ../$2/all-services.yaml
- sed -i -- 's/nodePort: [0-9]\{2\}[13579]\{1\}/nodePort: '"$4"'/g' ../$2/all-services.yaml
+ sed -i-- 's/nodePort: [0-9]\{2\}[02468]\{1\}/nodePort: '"$3"'/g' ../$2/all-services.yaml
+ sed -i-- 's/nodePort: [0-9]\{2\}[13579]\{1\}/nodePort: '"$4"'/g' ../$2/all-services.yaml
kubectl --namespace $1-$2 create -f ../$2/all-services.yaml
mv ../$2/all-services.yaml-- ../$2/all-services.yaml
}