[DCAEMOD] Update runtime-api image 84/118584/7
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>
Fri, 26 Feb 2021 09:57:27 +0000 (10:57 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Sun, 21 Mar 2021 16:48:28 +0000 (16:48 +0000)
Update BPGenerator 1.7.3:
- Update default k8splugin import
- Externalize resource limits defaults for generated blueprints.

Issue-ID: DCAEGEN2-2636
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I5a0ce9ced5ebbe7e48eccd9fdb056d4bf58dc34e

kubernetes/dcaemod/components/dcaemod-runtime-api/templates/deployment.yaml
kubernetes/dcaemod/components/dcaemod-runtime-api/values.yaml

index 735b028..42f596d 100644 (file)
@@ -67,6 +67,10 @@ spec:
               value: {{ .Values.config.importDMaaP }}
             - name: ONAP_USEDMAAPPLUGIN
               value: {{ .Values.config.useDmaapPlugin | quote }}
+            - name: BP_RESOURCES_CPU_LIMIT
+              value: {{ .Values.config.bpResourcesCpuLimit }}
+            - name: BP_RESOURCES_MEMORY_LIMIT
+              value: {{ .Values.config.bpResourcesMemoryLimit }}
       imagePullSecrets:
         - name: "{{ include "common.namespace" . }}-docker-registry-key"
 
index 2482748..521fac0 100644 (file)
@@ -33,11 +33,13 @@ config:
   #dashboardPassword: doesntmatter
   mrTopicURL: http://message-router:3904/events
   importCloudify: https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
-  importK8S: plugin:k8splugin?version=>=3.4.3,<4.0.0
+  importK8S: plugin:k8splugin?version=>=3.5.1,<4.0.0
   importPostgres: plugin:pgaas?version=1.3.0
   importClamp: plugin:clamppolicyplugin?version=1.1.0
   importDMaaP: plugin:dmaap?version=1.5.0
   useDmaapPlugin: false
+  bpResourcesCpuLimit: 250m
+  bpResourcesMemoryLimit: 128Mi
 
 secrets:
   - uid: "dashsecret"
@@ -69,7 +71,7 @@ readiness:
   # Should have a proper readiness endpoint or script
 
 # application image
-image: onap/org.onap.dcaegen2.platform.mod.runtime-web:1.2.2
+image: onap/org.onap.dcaegen2.platform.mod.runtime-web:1.2.3
 
 # Resource Limit flavor -By Default using small
 flavor: small