Upgrade Rancher and k8s versions 73/74573/1
authorGary Wu <gary.i.wu@huawei.com>
Wed, 12 Dec 2018 14:15:48 +0000 (06:15 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 12 Dec 2018 14:17:11 +0000 (14:17 +0000)
Upgrade Rancher and k8s versions to address k8s vulnerability
CVE-2018-1002105.

Change-Id: I0d6c937f0d30578f2904ccf620fbdae64d8b5d7c
Issue-ID: INT-776
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
deployment/heat/onap-oom/onap-oom.yaml
deployment/heat/onap-oom/parts/onap-oom-1.yaml
deployment/heat/onap-oom/rancher_vm_entrypoint.sh

index 9745f62..c2c08f6 100644 (file)
@@ -73,7 +73,7 @@ parameters:
 
   rancher_version:
     type: string
-    default: "1.6.22"
+    default: "1.6.25"
 
   rancher_agent_version:
     type: string
@@ -81,7 +81,7 @@ parameters:
 
   kubectl_version:
     type: string
-    default: "1.11.2"
+    default: "1.11.5"
 
   helm_version:
     type: string
index 0b7ac43..bff17c0 100644 (file)
@@ -70,7 +70,7 @@ parameters:
 
   rancher_version:
     type: string
-    default: "1.6.22"
+    default: "1.6.25"
 
   rancher_agent_version:
     type: string
@@ -78,7 +78,7 @@ parameters:
 
   kubectl_version:
     type: string
-    default: "1.11.2"
+    default: "1.11.5"
 
   helm_version:
     type: string
index 8e6a36b..f13e639 100644 (file)
@@ -166,7 +166,7 @@ curl -s -u "${CATTLE_ACCESS_KEY}:${CATTLE_SECRET_KEY}" \
 -X PUT \
 -H 'Accept: application/json' \
 -H 'Content-Type: application/json' \
--d '{"stacks":[{"type":"catalogTemplate", "answers":{"CONSTRAINT_TYPE":"required"}, "name":"kubernetes", "templateVersionId":"library:infra*k8s:52"}, {"type":"catalogTemplate", "name":"network-services", "templateId":"library:infra*network-services"}, {"type":"catalogTemplate", "name":"ipsec", "templateId":"library:infra*ipsec", "answers":{"MTU":"__mtu__"}}, {"type":"catalogTemplate", "name":"healthcheck", "templateId":"library:infra*healthcheck"}]}' \
+-d '{"stacks":[{"type":"catalogTemplate", "answers":{"CONSTRAINT_TYPE":"required"}, "name":"kubernetes", "templateVersionId":"library:infra*k8s:53"}, {"type":"catalogTemplate", "name":"network-services", "templateId":"library:infra*network-services"}, {"type":"catalogTemplate", "name":"ipsec", "templateId":"library:infra*ipsec", "answers":{"MTU":"__mtu__"}}, {"type":"catalogTemplate", "name":"healthcheck", "templateId":"library:infra*healthcheck"}]}' \
 "http://$RANCHER_IP:8080/v2-beta/projecttemplates/$TEMPLATE_ID"
 
 curl -s -u "${CATTLE_ACCESS_KEY}:${CATTLE_SECRET_KEY}" -X POST -H 'Content-Type: application/json' -d '{ "name":"oom", "projectTemplateId":"'$TEMPLATE_ID'" }' "http://$RANCHER_IP:8080/v2-beta/projects" > project.json