Merge "Fix the issue with pomba srv decomp aai client"
authorAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Tue, 25 Sep 2018 20:28:27 +0000 (20:28 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 25 Sep 2018 20:28:27 +0000 (20:28 +0000)
264 files changed:
kubernetes/aaf/charts/aaf-cm/templates/deployment.yaml
kubernetes/aaf/charts/aaf-cm/values.yaml
kubernetes/aaf/charts/aaf-cs/templates/deployment.yaml
kubernetes/aaf/charts/aaf-cs/values.yaml
kubernetes/aaf/charts/aaf-fs/templates/deployment.yaml
kubernetes/aaf/charts/aaf-fs/values.yaml
kubernetes/aaf/charts/aaf-gui/templates/deployment.yaml
kubernetes/aaf/charts/aaf-hello/templates/deployment.yaml
kubernetes/aaf/charts/aaf-hello/values.yaml
kubernetes/aaf/charts/aaf-locate/templates/deployment.yaml
kubernetes/aaf/charts/aaf-locate/values.yaml
kubernetes/aaf/charts/aaf-oauth/templates/deployment.yaml
kubernetes/aaf/charts/aaf-oauth/values.yaml
kubernetes/aaf/charts/aaf-service/templates/deployment.yaml
kubernetes/aaf/charts/aaf-sms/charts/aaf-sms-quorumclient/templates/statefulset.yaml
kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml
kubernetes/aaf/templates/job.yaml
kubernetes/aaf/values.yaml
kubernetes/aai/charts/aai-babel/templates/deployment.yaml
kubernetes/aai/charts/aai-babel/values.yaml
kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
kubernetes/aai/charts/aai-cassandra/values.yaml
kubernetes/aai/charts/aai-champ/templates/deployment.yaml
kubernetes/aai/charts/aai-champ/values.yaml
kubernetes/aai/charts/aai-data-router/templates/deployment.yaml
kubernetes/aai/charts/aai-data-router/values.yaml
kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml
kubernetes/aai/charts/aai-elasticsearch/values.yaml
kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml
kubernetes/aai/charts/aai-gizmo/templates/service.yaml
kubernetes/aai/charts/aai-gizmo/values.yaml
kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
kubernetes/aai/charts/aai-graphadmin/templates/job.yaml
kubernetes/aai/charts/aai-graphadmin/values.yaml
kubernetes/aai/charts/aai-modelloader/templates/deployment.yaml
kubernetes/aai/charts/aai-modelloader/values.yaml
kubernetes/aai/charts/aai-resources/templates/deployment.yaml
kubernetes/aai/charts/aai-resources/values.yaml
kubernetes/aai/charts/aai-search-data/templates/deployment.yaml
kubernetes/aai/charts/aai-search-data/values.yaml
kubernetes/aai/charts/aai-sparky-be/templates/deployment.yaml
kubernetes/aai/charts/aai-sparky-be/values.yaml
kubernetes/aai/charts/aai-spike/templates/deployment.yaml
kubernetes/aai/charts/aai-spike/values.yaml
kubernetes/aai/charts/aai-traversal/templates/deployment.yaml
kubernetes/aai/charts/aai-traversal/values.yaml
kubernetes/aai/templates/deployment.yaml
kubernetes/aai/values.yaml
kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml
kubernetes/appc/charts/appc-ansible-server/values.yaml
kubernetes/appc/charts/appc-cdt/templates/deployment.yaml
kubernetes/appc/charts/appc-cdt/values.yaml
kubernetes/appc/templates/statefulset.yaml
kubernetes/appc/values.yaml
kubernetes/clamp/charts/clamp-dash-es/templates/deployment.yaml
kubernetes/clamp/charts/clamp-dash-kibana/templates/deployment.yaml
kubernetes/clamp/charts/clamp-dash-kibana/values.yaml
kubernetes/clamp/charts/clamp-dash-logstash/templates/deployment.yaml
kubernetes/clamp/charts/mariadb/templates/deployment.yaml
kubernetes/clamp/charts/mariadb/values.yaml
kubernetes/clamp/templates/deployment.yaml
kubernetes/clamp/values.yaml
kubernetes/cli/templates/deployment.yaml
kubernetes/cli/values.yaml
kubernetes/common/common/templates/_resources.tpl [new file with mode: 0644]
kubernetes/common/controller-blueprints/templates/deployment.yaml
kubernetes/common/dgbuilder/templates/deployment.yaml
kubernetes/common/mariadb-galera/templates/statefulset.yaml
kubernetes/common/mongo/templates/statefulset.yaml
kubernetes/common/mysql/templates/statefulset.yaml
kubernetes/common/mysql/values.yaml
kubernetes/common/network-name-gen/templates/deployment.yaml
kubernetes/common/network-name-gen/values.yaml
kubernetes/common/postgres/templates/statefulset.yaml
kubernetes/common/postgres/values.yaml
kubernetes/contrib/charts/netbox/charts/netbox-app/templates/deployment.yaml
kubernetes/contrib/charts/netbox/charts/netbox-nginx/templates/deployment.yaml
kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/deployment.yaml
kubernetes/dcaegen2/charts/dcae-bootstrap/resources/inputs/k8s-datafile-collector-input.yaml [new file with mode: 0644]
kubernetes/dcaegen2/charts/dcae-bootstrap/templates/deployment.yaml
kubernetes/dcaegen2/charts/dcae-bootstrap/values.yaml
kubernetes/dcaegen2/charts/dcae-cloudify-manager/templates/deployment.yaml
kubernetes/dcaegen2/charts/dcae-cloudify-manager/values.yaml
kubernetes/dcaegen2/charts/dcae-healthcheck/templates/deployment.yaml
kubernetes/dcaegen2/charts/dcae-healthcheck/values.yaml
kubernetes/dcaegen2/charts/dcae-redis/templates/statefulset.yaml
kubernetes/dcaegen2/charts/dcae-redis/values.yaml
kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml
kubernetes/dmaap/charts/dmaap-bus-controller/values.yaml
kubernetes/dmaap/charts/dmaap-data-router/charts/dmaap-dr-db/templates/deployment.yaml
kubernetes/dmaap/charts/dmaap-data-router/charts/dmaap-dr-db/values.yaml
kubernetes/dmaap/charts/dmaap-data-router/charts/dmaap-dr-node/templates/deployment.yaml
kubernetes/dmaap/charts/dmaap-data-router/charts/dmaap-dr-node/values.yaml
kubernetes/dmaap/charts/dmaap-data-router/charts/dmaap-dr-prov/templates/deployment.yaml
kubernetes/dmaap/charts/dmaap-data-router/charts/dmaap-dr-prov/values.yaml
kubernetes/dmaap/charts/message-router/charts/message-router-kafka/templates/deployment.yaml
kubernetes/dmaap/charts/message-router/charts/message-router-kafka/values.yaml
kubernetes/dmaap/charts/message-router/charts/message-router-zookeeper/templates/deployment.yaml
kubernetes/dmaap/charts/message-router/charts/message-router-zookeeper/values.yaml
kubernetes/dmaap/charts/message-router/templates/deployment.yaml
kubernetes/dmaap/charts/message-router/values.yaml
kubernetes/esr/charts/esr-gui/templates/deployment.yaml
kubernetes/esr/charts/esr-server/templates/deployment.yaml
kubernetes/helm/starters/onap-app/templates/deployment.yaml
kubernetes/log/charts/log-elasticsearch/templates/deployment.yaml
kubernetes/log/charts/log-elasticsearch/values.yaml
kubernetes/log/charts/log-kibana/templates/deployment.yaml
kubernetes/log/charts/log-kibana/values.yaml
kubernetes/log/charts/log-logstash/templates/deployment.yaml
kubernetes/log/charts/log-logstash/values.yaml
kubernetes/msb/charts/kube2msb/templates/deployment.yaml
kubernetes/msb/charts/msb-consul/templates/deployment.yaml
kubernetes/msb/charts/msb-discovery/templates/deployment.yaml
kubernetes/msb/charts/msb-eag/templates/deployment.yaml
kubernetes/msb/charts/msb-iag/templates/deployment.yaml
kubernetes/multicloud/charts/multicloud-ocata/templates/deployment.yaml
kubernetes/multicloud/charts/multicloud-ocata/values.yaml
kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml
kubernetes/multicloud/charts/multicloud-vio/values.yaml
kubernetes/multicloud/charts/multicloud-windriver/templates/deployment.yaml
kubernetes/multicloud/charts/multicloud-windriver/values.yaml
kubernetes/multicloud/templates/deployment.yaml
kubernetes/multicloud/values.yaml
kubernetes/nbi/charts/mariadb/templates/deployment.yaml
kubernetes/nbi/charts/mariadb/values.yaml
kubernetes/nbi/templates/deployment.yaml
kubernetes/nbi/values.yaml
kubernetes/onap/values.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-api/templates/deployment.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-api/values.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-cassandra/templates/deployment.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-cassandra/values.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-controller/templates/deployment.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-controller/values.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-data/templates/deployment.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-data/values.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-music/templates/deployment.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-music/values.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-reservation/templates/deployment.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-reservation/values.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-solver/templates/deployment.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-solver/values.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-zookeeper/templates/deployment.yaml
kubernetes/oof/charts/oof-has/charts/oof-has-zookeeper/values.yaml
kubernetes/oof/charts/oof-has/resources/config/conductor.conf
kubernetes/oof/templates/deployment.yaml
kubernetes/oof/values.yaml
kubernetes/policy/charts/brmsgw/templates/deployment.yaml
kubernetes/policy/charts/brmsgw/values.yaml
kubernetes/policy/charts/drools/charts/nexus/templates/deployment.yaml
kubernetes/policy/charts/drools/charts/nexus/values.yaml
kubernetes/policy/charts/drools/templates/statefulset.yaml
kubernetes/policy/charts/drools/values.yaml
kubernetes/policy/charts/mariadb/templates/deployment.yaml
kubernetes/policy/charts/mariadb/values.yaml
kubernetes/policy/charts/pdp/templates/statefulset.yaml
kubernetes/policy/charts/pdp/values.yaml
kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
kubernetes/policy/charts/policy-apex-pdp/values.yaml
kubernetes/policy/charts/policy-common/resources/config/pe/base.conf
kubernetes/policy/charts/policy-distribution/templates/deployment.yaml
kubernetes/policy/templates/deployment.yaml
kubernetes/policy/values.yaml
kubernetes/pomba/charts/pomba-aaictxbuilder/templates/deployment.yaml
kubernetes/pomba/charts/pomba-contextaggregator/resources/config/builders/ndcb.properties [moved from kubernetes/pomba/charts/pomba-contextaggregator/resources/config/builders/networkdiscovery.properties with 100% similarity]
kubernetes/pomba/charts/pomba-contextaggregator/resources/config/builders/sdnc.properties [deleted file]
kubernetes/pomba/charts/pomba-contextaggregator/templates/deployment.yaml
kubernetes/pomba/charts/pomba-contextaggregator/values.yaml
kubernetes/pomba/charts/pomba-elasticsearch/templates/deployment.yaml
kubernetes/pomba/charts/pomba-kibana/templates/deployment.yaml
kubernetes/pomba/charts/pomba-networkdiscovery/templates/deployment.yaml
kubernetes/pomba/charts/pomba-networkdiscovery/values.yaml
kubernetes/pomba/charts/pomba-networkdiscoveryctxbuilder/templates/deployment.yaml
kubernetes/pomba/charts/pomba-sdcctxbuilder/templates/deployment.yaml
kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml
kubernetes/pomba/charts/pomba-servicedecomposition/templates/deployment.yaml
kubernetes/pomba/charts/pomba-servicedecomposition/values.yaml
kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml
kubernetes/portal/charts/portal-app/templates/deployment.yaml
kubernetes/portal/charts/portal-app/values.yaml
kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml
kubernetes/portal/charts/portal-cassandra/values.yaml
kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml
kubernetes/portal/charts/portal-mariadb/values.yaml
kubernetes/portal/charts/portal-sdk/templates/deployment.yaml
kubernetes/portal/charts/portal-sdk/values.yaml
kubernetes/portal/charts/portal-widget/templates/deployment.yaml
kubernetes/portal/charts/portal-widget/values.yaml
kubernetes/portal/charts/portal-zookeeper/templates/deployment.yaml
kubernetes/portal/charts/portal-zookeeper/values.yaml
kubernetes/robot/templates/deployment.yaml
kubernetes/robot/values.yaml
kubernetes/sdc/charts/sdc-be/templates/deployment.yaml
kubernetes/sdc/charts/sdc-be/values.yaml
kubernetes/sdc/charts/sdc-cs/templates/deployment.yaml
kubernetes/sdc/charts/sdc-cs/values.yaml
kubernetes/sdc/charts/sdc-es/templates/deployment.yaml
kubernetes/sdc/charts/sdc-es/values.yaml
kubernetes/sdc/charts/sdc-fe/templates/deployment.yaml
kubernetes/sdc/charts/sdc-fe/values.yaml
kubernetes/sdc/charts/sdc-kb/templates/deployment.yaml
kubernetes/sdc/charts/sdc-kb/values.yaml
kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml
kubernetes/sdc/charts/sdc-onboarding-be/values.yaml
kubernetes/sdc/charts/sdc-wfd-fe/templates/deployment.yaml
kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml
kubernetes/sdnc/charts/dmaap-listener/values.yaml
kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml
kubernetes/sdnc/charts/sdnc-ansible-server/values.yaml
kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml
kubernetes/sdnc/charts/sdnc-portal/values.yaml
kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
kubernetes/sdnc/charts/ueb-listener/values.yaml
kubernetes/sdnc/resources/config/conf/aaiclient.properties
kubernetes/sdnc/sdnc-prom/templates/deployment.yaml
kubernetes/sdnc/templates/statefulset.yaml
kubernetes/sdnc/values.yaml
kubernetes/sniro-emulator/templates/deployment.yaml
kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml
kubernetes/so/charts/so-bpmn-infra/values.yaml
kubernetes/so/charts/so-catalog-db-adapter/templates/deployment.yaml
kubernetes/so/charts/so-catalog-db-adapter/values.yaml
kubernetes/so/charts/so-mariadb/templates/deployment.yaml
kubernetes/so/charts/so-mariadb/values.yaml
kubernetes/so/charts/so-openstack-adapter/templates/deployment.yaml
kubernetes/so/charts/so-openstack-adapter/values.yaml
kubernetes/so/charts/so-request-db-adapter/templates/deployment.yaml
kubernetes/so/charts/so-request-db-adapter/values.yaml
kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml
kubernetes/so/charts/so-sdc-controller/values.yaml
kubernetes/so/charts/so-sdnc-adapter/templates/deployment.yaml
kubernetes/so/charts/so-sdnc-adapter/values.yaml
kubernetes/so/charts/so-vfc-adapter/templates/deployment.yaml
kubernetes/so/charts/so-vfc-adapter/values.yaml
kubernetes/so/templates/deployment.yaml
kubernetes/so/values.yaml
kubernetes/uui/charts/uui-server/templates/deployment.yaml
kubernetes/uui/charts/uui-server/values.yaml
kubernetes/uui/templates/deployment.yaml
kubernetes/uui/values.yaml
kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml
kubernetes/vfc/charts/vfc-db/templates/deployment.yaml
kubernetes/vfc/charts/vfc-ems-driver/templates/deployment.yaml
kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml
kubernetes/vfc/charts/vfc-huawei-vnfm-driver/templates/deployment.yaml
kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/deployment.yaml
kubernetes/vfc/charts/vfc-multivim-proxy/templates/deployment.yaml
kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/templates/deployment.yaml
kubernetes/vfc/charts/vfc-nokia-vnfm-driver/templates/deployment.yaml
kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml
kubernetes/vfc/charts/vfc-resmgr/templates/deployment.yaml
kubernetes/vfc/charts/vfc-vnflcm/templates/deployment.yaml
kubernetes/vfc/charts/vfc-vnfmgr/templates/deployment.yaml
kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml
kubernetes/vfc/charts/vfc-workflow-engine/templates/deployment.yaml
kubernetes/vfc/charts/vfc-workflow/templates/deployment.yaml
kubernetes/vfc/charts/vfc-zte-sdnc-driver/templates/deployment.yaml
kubernetes/vfc/charts/vfc-zte-vnfm-driver/templates/deployment.yaml
kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml
kubernetes/vid/charts/vid-mariadb-galera/values.yaml
kubernetes/vid/templates/deployment.yaml
kubernetes/vid/values.yaml
kubernetes/vnfsdk/templates/deployment.yaml
kubernetes/vnfsdk/values.yaml

index 50c617e..11b0811 100644 (file)
@@ -90,7 +90,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 0f52182..1cd5cb4 100644 (file)
@@ -19,7 +19,7 @@ global:
   nodePortPrefix: 302
   readinessRepository: oomk8s
   readinessImage: readiness-check:2.0.0
-  
+
 #################################################################
 # Application configuration defaults.
 #################################################################
index 893c5ac..cfece70 100644 (file)
@@ -64,7 +64,7 @@ spec:
         lifecycle:
           postStart:
             exec:
-              command: 
+              command:
               - /bin/sh
               - -c
               - >
@@ -74,8 +74,8 @@ spec:
                 cqlsh -u root -p root -f init.cql ;
                 cqlsh -u root -p root -f osaaf.cql ;
                 cqlsh -u root -p root -f temp_identity.cql
-        resources: 
-{{ toYaml .Values.resources | indent 12 }}
+        resources:
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 2131e85..83eaf15 100644 (file)
@@ -60,7 +60,7 @@ service:
   internalPort: 7000
   #port
   externalPort: 7000
-  
+
   internalPort2: 7001
   externalPort2: 7001
   internalPort3: 9042
index b100bc4..d269dc6 100644 (file)
@@ -90,7 +90,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 74fdc68..f484883 100644 (file)
@@ -19,7 +19,7 @@ global:
   nodePortPrefix: 302
   readinessRepository: oomk8s
   readinessImage: readiness-check:2.0.0
-  
+
 #################################################################
 # Application configuration defaults.
 #################################################################
index 1aa632b..b24a008 100644 (file)
@@ -90,7 +90,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index c9c8223..c76c084 100644 (file)
@@ -90,7 +90,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 5a41bb3..27f59d1 100644 (file)
@@ -19,7 +19,7 @@ global:
   nodePortPrefix: 302
   readinessRepository: oomk8s
   readinessImage: readiness-check:2.0.0
-  
+
 #################################################################
 # Application configuration defaults.
 #################################################################
index 2adb92d..6e69f2c 100644 (file)
@@ -88,7 +88,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index f31a2ca..86d67fc 100644 (file)
@@ -19,7 +19,7 @@ global:
   nodePortPrefix: 302
   readinessRepository: oomk8s
   readinessImage: readiness-check:2.0.0
-  
+
 # If mountPath is over NFS (e.g. /dockerdata-nfs is NFS mounted between the nodes), uncomment following lines.
 #  persistence:
 #    mountPath: /dockerdata
index f236185..fd4ae21 100644 (file)
@@ -90,7 +90,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 6ac90e1..c349814 100644 (file)
@@ -19,7 +19,7 @@ global:
   nodePortPrefix: 302
   readinessRepository: oomk8s
   readinessImage: readiness-check:2.0.0
-  
+
 #################################################################
 # Application configuration defaults.
 #################################################################
index cff8fb2..a07d06f 100644 (file)
@@ -90,7 +90,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 281229f..5eb7b33 100644 (file)
@@ -47,7 +47,7 @@ spec:
           - mountPath: /quorumclient/auth
             name: {{ include "common.fullname" . }}-auth
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 58fe72f..189cc0d 100644 (file)
@@ -81,7 +81,7 @@ spec:
           - mountPath: /sms/auth
             name: {{ include "common.fullname" . }}-auth
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 85c0940..719b6dc 100644 (file)
@@ -56,7 +56,7 @@ spec:
         - mountPath: /data
           name: aaf-persistent-data
         - mountPath: /data1/etc
-          name: aaf-etc 
+          name: aaf-etc
         - mountPath: /data1/data
           name: aaf-data
         - mountPath: /data1/public/iframe_denied_test.html
@@ -102,8 +102,8 @@ spec:
           name: aaf-backup
         - mountPath: /share
           name: aaf-public
-        resources: 
-{{ toYaml .Values.resources | indent 12 }}
+        resources:
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 19250d8..c8f0484 100644 (file)
@@ -21,13 +21,13 @@ global:
   readinessImage: readiness-check:2.0.0
   ubuntuInitRepository: registry.hub.docker.com
   ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
-  persistence: 
+  persistence:
     enabled: true
 
 #################################################################
 # Application configuration defaults.
 #################################################################
-config: 
+config:
   serviceServiceName: aaf-service
   locateServiceName: aaf-locate
   cmServiceName: aaf-cm
index 2f8f60f..c2aa6e4 100644 (file)
@@ -85,7 +85,7 @@ spec:
             name: {{ include "common.fullname" . }}-config
             subPath: logback.xml
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 01b4dfc..59c3366 100644 (file)
@@ -78,3 +78,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index 4c4b979..891526b 100644 (file)
@@ -92,7 +92,7 @@ spec:
           - name: cassandra-data
             mountPath: /var/lib/cassandra
         resources:
-{{ toYaml .Values.resources | indent 10 }}
+{{ include "common.resources" . | indent 10 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index 22055d6..1e1d2c1 100644 (file)
@@ -100,7 +100,7 @@ persistence:
   storageType: local
   storageClass: ""
 
-  
+
 resources: {}
   # We usually recommend not to specify default resources and to leave this as a conscious
   # choice for the user. This also increases chances charts run on environments with little
index 4987e4a..0c125b1 100644 (file)
@@ -86,7 +86,7 @@ spec:
           - mountPath: /var/log/onap
             name: {{ include "common.fullname" . }}-logs
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 75ecffb..9e1c9bd 100644 (file)
@@ -77,6 +77,7 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
 
 # XML beans configuration
 event:
index 585cc4f..8ab2d33 100644 (file)
@@ -111,7 +111,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       volumes:
       - name: localtime
         hostPath:
index 06c64c3..ba42582 100644 (file)
@@ -82,23 +82,6 @@ persistence:
   mountPath: /dockerdata-nfs
   mountSubPath: aai/data-router/logs
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
 resources:
   small:
     limits:
@@ -114,3 +97,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
\ No newline at end of file
index e1f3b39..a6c93b8 100644 (file)
@@ -87,7 +87,7 @@ spec:
           - name: elasticsearch-data
             mountPath: /usr/share/elasticsearch/data
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index c6afbb5..a800c4e 100644 (file)
@@ -80,23 +80,6 @@ persistence:
   mountPath: /dockerdata-nfs
   mountSubPath: aai/elasticsearch/data
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
 resources:
   small:
     limits:
@@ -112,3 +95,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index d36ae2f..278a8f5 100644 (file)
@@ -89,7 +89,7 @@ spec:
             name: {{ include "common.fullname" . }}-logback-config
             subPath: logback.xml
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index e78cc73..88948cf 100644 (file)
@@ -29,7 +29,7 @@ spec:
   ports:
     {{if eq .Values.service.type "NodePort" -}}
     - port: {{ .Values.service.internalPort }}
-      nodePort: {{ .Values.global.nodePortPrefix | default "302" }}{{ .Values.service.nodePort }}
+      nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
       name: {{ .Values.service.portName }}
     {{- else -}}
     - port: {{ .Values.service.externalPort }}
index d34ff2b..6ad25c5 100644 (file)
@@ -74,3 +74,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index 69aeb32..5b23fa6 100644 (file)
@@ -123,7 +123,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index 0a8ed5c..fb2ee00 100644 (file)
@@ -111,7 +111,7 @@ spec:
           subPath: {{ . }}
           {{ end }}
         resources:
-{{ toYaml .Values.resources | indent 10 }}
+{{ include "common.resources" . | indent 10 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index 3b7bd60..b7af3d0 100644 (file)
@@ -44,10 +44,10 @@ config:
     limit: 180000
 
   # Default maximum records to fix for the data grooming and dupeTool
-  maxFix: 
+  maxFix:
     dataGrooming: 150
     dupeTool: 25
-    
+
   # Default number of sleep minutes for dataGrooming and dupeTool
   sleepMinutes:
     dataGrooming: 7
@@ -107,23 +107,6 @@ service:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
 resources:
   small:
     limits:
@@ -139,3 +122,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index cee0818..3a81168 100644 (file)
@@ -60,7 +60,7 @@ spec:
         - containerPort: {{ .Values.service.internalPort }}
         - containerPort: {{ .Values.service.internalPort2 }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
 
       # side car containers
       - name: filebeat-onap
index e406443..1617fc0 100644 (file)
@@ -61,23 +61,7 @@ service:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+
 resources:
   small:
     limits:
@@ -93,3 +77,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index 065e130..04549df 100644 (file)
@@ -520,7 +520,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index e9a0063..8e50ba0 100644 (file)
@@ -35,10 +35,10 @@ config:
   # Specifies crud related operation timeouts and overrides
   crud:
     timeout:
-      # Specifies if the timeout for REST GET calls should be enabled 
+      # Specifies if the timeout for REST GET calls should be enabled
       enabled: true
       # Specifies the timeout values for application specific
-      # Its a pipe seperated list where each element before comma represents 
+      # Its a pipe seperated list where each element before comma represents
       # the X-FromAppId and the comma after specifies the timeout limit in ms
       # If the timeout limit is -1 then it means for these apps no timeout
       appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1
@@ -111,3 +111,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index e486143..e68a205 100644 (file)
@@ -93,7 +93,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index bfde398..b58350c 100644 (file)
@@ -61,23 +61,6 @@ service:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
 resources:
   small:
     limits:
@@ -93,3 +76,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index a6414dd..3ecbd80 100644 (file)
@@ -117,7 +117,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index 47b5a1d..a323d29 100644 (file)
@@ -82,23 +82,8 @@ service:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+# Configure resource requests and limits
+# ref: http://kubernetes.io/docs/user-guide/compute-resources/
 resources:
   small:
     limits:
@@ -114,3 +99,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index a6801e1..38c5ac8 100644 (file)
@@ -103,7 +103,7 @@ spec:
           - mountPath: /var/log/onap
             name: {{ include "common.fullname" . }}-logs
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 4fc3a0b..af59f9a 100644 (file)
@@ -75,6 +75,7 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
 
 # XML bean configuration
 event:
index fb07427..68bd018 100644 (file)
@@ -352,7 +352,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index 83bd1a9..4e65125 100644 (file)
@@ -75,23 +75,8 @@ service:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+# Configure resource requests and limits
+# ref: http://kubernetes.io/docs/user-guide/compute-resources/
 resources:
   small:
     limits:
@@ -107,3 +92,4 @@ resources:
     requests:
       cpu: 4
       memory: 8Gi
+  unlimited: {}
index 17ba83b..d32db17 100644 (file)
@@ -80,7 +80,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 2345b3f..bf1602e 100644 (file)
@@ -242,16 +242,6 @@ service:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
 resources:
   small:
     limits:
@@ -267,3 +257,4 @@ resources:
     requests:
       cpu: 2
       memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index b7ef21f..b7dfcf7 100644 (file)
@@ -76,7 +76,7 @@ spec:
             subPath: RestServer_config
           resources:
         {{- if .Values.nodeSelector }}
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
         {{- end -}}
index 0d4a460..d971192 100644 (file)
@@ -85,5 +85,6 @@ resources:
     requests:
       cpu: 1
       memory: 1Gi
+  unlimited: {}
 
 
index 1288183..2192662 100644 (file)
@@ -65,7 +65,7 @@ spec:
             name: localtime
             readOnly: true
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 125241d..8818870 100644 (file)
@@ -61,16 +61,8 @@ service:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
+# Configure resource requests and limits
+# ref: http://kubernetes.io/docs/user-guide/compute-resources/
 resources:
   small:
     limits:
@@ -86,3 +78,4 @@ resources:
     requests:
       cpu: 1
       memory: 1Gi
+  unlimited: {}
index 9453bd9..8ecda88 100644 (file)
@@ -145,7 +145,7 @@ spec:
             name: log-config
             subPath: org.ops4j.pax.logging.cfg
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
        {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 8661bf5..d6a2ddf 100644 (file)
@@ -156,16 +156,8 @@ persistence:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
+# Configure resource requests and limits
+# ref: http://kubernetes.io/docs/user-guide/compute-resources/
 resources:
   small:
     limits:
@@ -181,3 +173,4 @@ resources:
     requests:
       cpu: 2
       memory: 4Gi
+  unlimited: {}
index e933a36..d1504e0 100644 (file)
@@ -90,7 +90,7 @@ spec:
           - mountPath: /usr/share/elasticsearch/data/
             name: {{ include "common.fullname" . }}-data
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index b58be0f..cd8e102 100644 (file)
@@ -93,7 +93,7 @@ spec:
             name: {{ include "common.fullname" . }}
             subPath: kibana.yml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index cac222e..1c32d39 100644 (file)
@@ -95,7 +95,7 @@ ingress:
 resources:
   limits:
     cpu: 1
-    memory: 2Gi 
+    memory: 2Gi
   requests:
     cpu: 10m
     memory: 750Mi
index 5ce7145..433e7ab 100644 (file)
@@ -93,7 +93,7 @@ spec:
             name: {{ include "common.fullname" . }}
             subPath: pipeline.conf
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 06c7cb7..47d37bd 100644 (file)
@@ -73,7 +73,7 @@ spec:
           - mountPath: /var/lib/mysql
             name: clamp-mariadb-data
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 3b09d9a..a419f11 100644 (file)
@@ -46,7 +46,7 @@ liveness:
   # necessary to disable liveness probe when setting breakpoints
   # in debugger so K8s doesn't restart unresponsive container
   enabled: true
+
 readiness:
   initialDelaySeconds: 10
   periodSeconds: 10
index 4dc12c3..4e6d1d1 100644 (file)
@@ -97,7 +97,7 @@ spec:
                   name: {{ template "common.fullname" . }}
                   key: spring_application_json
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 9c6fa51..4dd47a0 100644 (file)
@@ -99,7 +99,7 @@ service:
   # as of 20180904 port 58 is reserved for clamp from log/logdemonode
   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
   nodePort2: 58
+
 
 ingress:
   enabled: false
index 94d475b..5836b66 100644 (file)
@@ -55,7 +55,7 @@ spec:
             - name: OPEN_CLI_MODE
               value: "{{ .Values.config.climode }}"
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 134981c..1c511a3 100644 (file)
@@ -64,16 +64,8 @@ service:
 ingress:
   enabled: false
 
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
+# Configure resource requests and limits
+# ref: http://kubernetes.io/docs/user-guide/compute-resources/
 resources:
   small:
     limits:
@@ -89,3 +81,4 @@ resources:
     requests:
       cpu: 2
       memory: 4Gi
+  unlimited: {}
\ No newline at end of file
diff --git a/kubernetes/common/common/templates/_resources.tpl b/kubernetes/common/common/templates/_resources.tpl
new file mode 100644 (file)
index 0000000..fae7743
--- /dev/null
@@ -0,0 +1,59 @@
+{{- /*
+# Copyright © 2018 Amdocs, Bell Canada
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*/ -}}
+
+{{- /*
+  Resolve the name of the common resource limit/request flavor.
+  The value for .Values.flavor is used by default,
+  unless either override mechanism is used.
+
+  - .Values.global.flavor  : override default flavor for all charts
+  - .Values.flavorOverride : override global and default flavor on a per chart basis
+*/ -}}
+{{- define "common.flavor" -}}
+  {{if .Values.flavorOverride }}
+    {{- printf "%s" .Values.flavorOverride -}}
+  {{else}}
+    {{- default .Values.flavor .Values.global.flavor -}}
+  {{end}}
+{{- end -}}
+
+{{- /*
+  Resolve the resource limit/request flavor using the desired flavor value.
+
+  - .Values.resources  : YAML definition of resource limits.  The flavor key
+                        is computed based on the common.flavor template and
+                        is used as the selected resource limit through the pluck
+  e.g:  resources:
+          small:
+            limits:
+              cpu: 200m
+              memory: 4Gi
+            requests:
+              cpu: 100m
+              memory: 1Gi
+          large:
+            limits:
+              cpu: 400m
+              memory: 8Gi
+            requests:
+              cpu: 200m
+              memory: 2Gi
+          unlimited: {}
+*/ -}}
+{{- define "common.resources" -}}
+{{- $flavor := include "common.flavor" . -}}
+{{- toYaml (pluck $flavor .Values.resources | first) | indent 12 -}}
+{{- end -}}
index 18fb165..15ed32f 100644 (file)
@@ -108,7 +108,7 @@ spec:
             name: {{ include "common.fullname" . }}-config
             subPath: logback.xml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index a191761..353c231 100644 (file)
@@ -86,7 +86,7 @@ spec:
             mountPath: /opt/onap/ccsdk/dgbuilder/releases/sdnc1.0/customSettings.js
             subPath: customSettings.js
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 8b2aafb..d3bad4f 100644 (file)
@@ -95,7 +95,7 @@ spec:
             timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
       {{- end }}
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           volumeMounts:
         {{- if .Values.externalConfig }}
           - mountPath: /etc/config
index 8b33f61..c79739f 100644 (file)
@@ -82,7 +82,7 @@ spec:
           - mountPath: /var/lib/mongo
             name: {{ include "common.fullname" . }}-data
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 0f340f0..1744940 100644 (file)
@@ -147,7 +147,7 @@ spec:
           - mountPath: /etc/mysql/conf.d
             name: conf
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 6805aa5..9fd67fc 100644 (file)
@@ -59,7 +59,7 @@ readiness:
 ## Persist data to a persitent volume
 persistence:
   enabled: true
-  
+
   ## A manually managed Persistent Volume and Claim
   ## Requires persistence.enabled: true
   ## If defined, PVC must be created manually before volume will be bound
@@ -103,8 +103,8 @@ resources: {}
   # Example:
   # Configure resource requests and limits
   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory 
-  # Minimum memory for production is 4 CPU cores and 8GB memory 
+  # Minimum memory for development is 2 CPU cores and 4GB memory
+  # Minimum memory for production is 4 CPU cores and 8GB memory
 #resources:
 #  limits:
 #    cpu: 2
index 96b3c79..743c8be 100644 (file)
@@ -78,7 +78,7 @@ spec:
         - name: AAI_URI
           value: "{{ .Values.config.aaiUri }}"
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index c992bea..b40ac91 100644 (file)
-# Copyright (C) 2018  AT&T Intellectual Property.\r
-#\r
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-#\r
-#       http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
-#\r
-# Global configuration default values that can be inherited by\r
-# all subcharts.\r
-#################################################################\r
-global:\r
-\r
-  # Change to an unused port prefix range to prevent port conflicts\r
-  # with other instances running within the same k8s cluster\r
-  nodePortPrefix: 302\r
-\r
-  # image repositories\r
-  repository: nexus3.onap.org:10001\r
-\r
-\r
-  # readiness check\r
-  readinessRepository: oomk8s\r
-  readinessImage: readiness-check:2.0.0\r
-\r
-  # image pull policy\r
-  pullPolicy: IfNotPresent\r
-\r
-# sub-chart config\r
-mariadb-galera:\r
-  config:\r
-      userName: nenguser\r
-      userPassword: nenguser123\r
-      mariadbRootPassword: nenguser123\r
-      mysqlDatabase: nengdb\r
-  nameOverride: nengdb\r
-  service:\r
-    name: nengdb\r
-    portName: nengdbport\r
-  replicaCount: 1\r
-  persistence:\r
-    enabled: true\r
-    mountSubPath: network-name-gen/data\r
-\r
-\r
-#################################################################\r
-# Application configuration defaults.\r
-#################################################################\r
-# application image\r
-repository: nexus3.onap.org:10001\r
-image: onap/ccsdk-apps-ms-neng:latest\r
-pullPolicy: IfNotPresent\r
-\r
-# application configuration\r
-config:\r
-  dbUrl: jdbc:mysql://nengdb:3306/nengdb\r
-  springProfile: live\r
-  polClientAuth: TBD\r
-  polBasicAuth: TBD\r
-  polUrl: TBD\r
-  polEnv: TEST\r
-  polReqId: xx\r
-  aaiCertPass: TBD\r
-  aaiCertPath: TBD\r
-  aaiUri: TBD\r
-\r
-# default number of instances\r
-replicaCount: 1\r
-\r
-nodeSelector: {}\r
-\r
-affinity: {}\r
-\r
-# probe configuration parameters\r
-liveness:\r
-  initialDelaySeconds: 10\r
-  periodSeconds: 10\r
-  # necessary to disable liveness probe when setting breakpoints\r
-  # in debugger so K8s doesn't restart unresponsive container\r
-  enabled: false\r
-\r
-readiness:\r
-  initialDelaySeconds: 10\r
-  periodSeconds: 10\r
-\r
-service:\r
-  type: ClusterIP\r
-  name: neng-serv\r
-  portName: neng-serv-port\r
-  internalPort: 8080\r
-  externalPort: 8080\r
-\r
-ingress:\r
-  enabled: false\r
-\r
-resources: {}\r
+# Copyright (C) 2018  AT&T Intellectual Property.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# Global configuration default values that can be inherited by
+# all subcharts.
+#################################################################
+global:
+
+  # Change to an unused port prefix range to prevent port conflicts
+  # with other instances running within the same k8s cluster
+  nodePortPrefix: 302
+
+  # image repositories
+  repository: nexus3.onap.org:10001
+
+
+  # readiness check
+  readinessRepository: oomk8s
+  readinessImage: readiness-check:2.0.0
+
+  # image pull policy
+  pullPolicy: IfNotPresent
+
+# sub-chart config
+mariadb-galera:
+  config:
+      userName: nenguser
+      userPassword: nenguser123
+      mariadbRootPassword: nenguser123
+      mysqlDatabase: nengdb
+  nameOverride: nengdb
+  service:
+    name: nengdb
+    portName: nengdbport
+  replicaCount: 1
+  persistence:
+    enabled: true
+    mountSubPath: network-name-gen/data
+
+
+#################################################################
+# Application configuration defaults.
+#################################################################
+# application image
+repository: nexus3.onap.org:10001
+image: onap/ccsdk-apps-ms-neng:latest
+pullPolicy: IfNotPresent
+
+# application configuration
+config:
+  dbUrl: jdbc:mysql://nengdb:3306/nengdb
+  springProfile: live
+  polClientAuth: TBD
+  polBasicAuth: TBD
+  polUrl: TBD
+  polEnv: TEST
+  polReqId: xx
+  aaiCertPass: TBD
+  aaiCertPath: TBD
+  aaiUri: TBD
+
+# default number of instances
+replicaCount: 1
+
+nodeSelector: {}
+
+affinity: {}
+
+# probe configuration parameters
+liveness:
+  initialDelaySeconds: 10
+  periodSeconds: 10
+  # necessary to disable liveness probe when setting breakpoints
+  # in debugger so K8s doesn't restart unresponsive container
+  enabled: false
+
+readiness:
+  initialDelaySeconds: 10
+  periodSeconds: 10
+
+service:
+  type: ClusterIP
+  name: neng-serv
+  portName: neng-serv-port
+  internalPort: 8080
+  externalPort: 8080
+
+ingress:
+  enabled: false
+
+resources: {}
index 57bfdbf..3c7ae65 100644 (file)
@@ -116,7 +116,7 @@ spec:
           name: {{ include "common.fullname" . }}-backup
           readOnly: true
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 28ee64b..8dd5d0a 100644 (file)
@@ -55,10 +55,10 @@ pgpool:
   credentials:
     pgusername: testuser
     pgpassword: password
-  service: 
-    name: pgpool 
+  service:
+    name: pgpool
+
 
 # default number of instances
 replicaCount: 2
 
index 3d4932b..5215ca8 100755 (executable)
@@ -128,7 +128,7 @@ spec:
         - name: {{ include "common.fullname" . }}
           mountPath: /opt/netbox/netbox/static
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 73ac78b..a3f07ca 100755 (executable)
@@ -49,7 +49,7 @@ spec:
         - name: {{ include "common.fullname" . }}-config
           mountPath: /etc/netbox-nginx
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 2bebd11..803163b 100755 (executable)
@@ -52,7 +52,7 @@ spec:
         - name: {{ include "common.fullname" . }}-data
           mountPath: /var/lib/postgresql/data
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
diff --git a/kubernetes/dcaegen2/charts/dcae-bootstrap/resources/inputs/k8s-datafile-collector-input.yaml b/kubernetes/dcaegen2/charts/dcae-bootstrap/resources/inputs/k8s-datafile-collector-input.yaml
new file mode 100644 (file)
index 0000000..ce7aa1e
--- /dev/null
@@ -0,0 +1,32 @@
+#============LICENSE_START========================================================
+#=================================================================================
+# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
+# Modifications Copyright © 2018 Amdocs, Bell Canada
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=========================================================
+
+{{ if .Values.componentImages.datafile_collector }}
+tag_version: {{ include "common.repository" . }}/{{ .Values.componentImages.datafile_collector }}
+{{ end }}
+host_port: 30223
+host_port_secure: 30224
+dmaap_mr_host: "{{ .Values.config.address.message_router }}"
+dmaap_mr_port: 3904
+dmaap_mr_user: "admin"
+dmaap_mr_passwd: "admin"
+dmaap_dr_host: "{{ .Values.config.address.dmaap_dr_prov }}"
+dmaap_dr_port: 8443
+dmaap_dr_user: "dradmin"
+dmaap_dr_passwd: "dradmin"
+replicas: 1
index 801c132..a26307d 100644 (file)
@@ -61,6 +61,8 @@ spec:
         - name: {{ include "common.name" . }}\r
           image: "{{ include "common.repository" . }}/{{ .Values.image }}"\r
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}\r
+          resources:\r
+{{ include "common.resources" . | indent 12 }}\r
           volumeMounts:\r
             - mountPath: /inputs\r
               name: {{ include "common.fullname" . }}-dcae-inputs\r
@@ -94,4 +96,4 @@ spec:
           hostPath:\r
             path: /etc/localtime\r
       imagePullSecrets:\r
-        - name: "{{ include "common.namespace" . }}-docker-registry-key"
\ No newline at end of file
+        - name: "{{ include "common.namespace" . }}-docker-registry-key"\r
index 9189e69..9c45b9f 100644 (file)
@@ -35,6 +35,7 @@ config:
       host: consul-server
       port: 8500
     cm: dcae-cloudify-manager
+    dmaap_dr_prov: dmaap-dr-prov
     message_router: message-router
     msb_discovery: msb-discovery
     policy_pdp: pdp
@@ -68,6 +69,7 @@ image: onap/org.onap.dcaegen2.deployments.k8s-bootstrap-container:1.4.2
 # Use to override default setting in blueprints
 componentImages:
   config_binding_service: onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.3
+  datafile_collector: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
   deployment_handler: onap/org.onap.dcaegen2.platform.deployment-handler:3.0.2
   holmes_rules: onap/holmes/rule-management:1.2.0-STAGING-latest
   holmes_engine: onap/holmes/engine-management:1.2.0-STAGING-latest
@@ -80,6 +82,25 @@ componentImages:
   prh: onap/org.onap.dcaegen2.services.prh.prh-app-server:1.0.0
   hv_ves: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.0.0-SNAPSHOT
 
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2
+      memory: 2Gi
+    requests:
+      cpu: 1
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4
+      memory: 4Gi
+    requests:
+      cpu: 2
+      memory: 2Gi
+  unlimited: {}
 # Kubernetes namespace for components deployed via Cloudify manager
 # If empty, use the common namespace
 # dcae_ns: "onap"
index 5fb8470..79bd896 100644 (file)
@@ -38,6 +38,8 @@ spec:
         - name: {{ include "common.name" . }}
           image: "{{ include "common.repository" . }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+          resources:
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
           # disable liveness probe when breakpoints set in debugger
index 1d1f729..cd1b833 100644 (file)
@@ -64,6 +64,25 @@ service:
   externalPort: 80
   internalPort: 80
 
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2
+      memory: 2Gi
+    requests:
+      cpu: 1
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4
+      memory: 4Gi
+    requests:
+      cpu: 2
+      memory: 2Gi
+  unlimited: {}
 # Kubernetes namespace for components deployed via Cloudify manager
 # If empty, use the common namespace
 # dcae_ns: "dcae"
index 21e9856..d38681d 100644 (file)
@@ -38,6 +38,8 @@ spec:
         - name: {{ include "common.name" . }}
           image: "{{ include "common.repository" . }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+          resources:
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
           # disable liveness probe when breakpoints set in debugger
index ff6b254..9c89b8c 100644 (file)
@@ -25,13 +25,13 @@ global:
   readinessImage: readiness-check:2.0.0
   loggingRepository: docker.elastic.co
   loggingImage: beats/filebeat:5.5.0
+
 service:
   name: dcae-healthcheck
   internalPort: 80
   externalPort: 80
   type: ClusterIP
+
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
@@ -47,6 +47,25 @@ readiness:
 repository: nexus3.onap.org:10001
 image: onap/org.onap.dcaegen2.deployments.healthcheck-container:1.1.0
 
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2
+      memory: 2Gi
+    requests:
+      cpu: 1
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4
+      memory: 4Gi
+    requests:
+      cpu: 2
+      memory: 2Gi
+  unlimited: {}
 # Kubernetes namespace for components deployed via Cloudify manager
 # If empty, use the common namespace
 # dcae_ns: "onap"
index f72e540..3e20e37 100644 (file)
@@ -77,7 +77,7 @@ spec:
           - mountPath: /opt/scripts
             name: {{ include "common.fullname" . }}-scripts
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 6ccab9c..40812f2 100644 (file)
@@ -94,21 +94,22 @@ persistence:
 ingress:
   enabled: false
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2
+      memory: 2Gi
+    requests:
+      cpu: 1
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4
+      memory: 4Gi
+    requests:
+      cpu: 2
+      memory: 2Gi
+  unlimited: {}
index ae90a9f..778005d 100644 (file)
@@ -87,7 +87,7 @@ spec:
           - name: {{ include "common.name" . }}-feeds
             mountPath: /opt/app/config/feeds/
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 85361d8..768f295 100644 (file)
@@ -96,21 +96,22 @@ postgres:
 ingress:
   enabled: false
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2
+      memory: 4Gi
+    requests:
+      cpu: 1
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4
+      memory: 8Gi
+    requests:
+      cpu: 2
+      memory: 2Gi
+  unlimited: {}
index 6b19804..bf54491 100644 (file)
@@ -77,7 +77,7 @@ spec:
           - mountPath: /var/lib/mysql
             name: mariadb-data
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index cf61c49..03a46ac 100644 (file)
@@ -59,21 +59,22 @@ persistence:
 ingress:
   enabled: false
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory 
-  # Minimum memory for production is 4 CPU cores and 8GB memory 
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2000m
+      memory: 4Gi
+    requests:
+      cpu: 500m
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4000m
+      memory: 8Gi
+    requests:
+      cpu: 1000m
+      memory: 2Gi
+  unlimited: {}
index 2aae2d0..8488758 100644 (file)
@@ -83,7 +83,7 @@ spec:
                 command:
                 - /opt/app/datartr/etc/createFeed.sh
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 601dcb9..9a48dbe 100644 (file)
@@ -60,21 +60,22 @@ persistence:
 ingress:
   enabled: false
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
\ No newline at end of file
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2000m
+      memory: 4Gi
+    requests:
+      cpu: 500m
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4000m
+      memory: 8Gi
+    requests:
+      cpu: 1000m
+      memory: 2Gi
+  unlimited: {}
index d956581..7fd60ea 100644 (file)
@@ -72,7 +72,7 @@ spec:
             subPath: provserver.properties
             name: prov-props
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 5103525..855a64f 100644 (file)
@@ -61,21 +61,22 @@ persistence:
 ingress:
   enabled: false
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
\ No newline at end of file
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2000m
+      memory: 4Gi
+    requests:
+      cpu: 500m
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4000m
+      memory: 8Gi
+    requests:
+      cpu: 1000m
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index ee695f9..d6daf3e 100644 (file)
@@ -68,6 +68,8 @@ spec:
       - name: {{ include "common.name" .  }}
         image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         imagePullPolicy:  {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+        resources:
+{{ include "common.resources" . | indent 12 }}
         ports:
         - containerPort: {{ .Values.service.internalPort }}
         {{ if eq .Values.liveness.enabled true }}
index 3f1aa52..7f26ce2 100644 (file)
@@ -101,21 +101,22 @@ service:
 ingress:
   enabled: false
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2000m
+      memory: 4Gi
+    requests:
+      cpu: 500m
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4000m
+      memory: 8Gi
+    requests:
+      cpu: 1000m
+      memory: 2Gi
+  unlimited: {}
index 883b8c5..6c1f762 100644 (file)
@@ -54,6 +54,8 @@ spec:
       - name: {{ include "common.name" . }}
         image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         imagePullPolicy:  {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+        resources:
+{{ include "common.resources" . | indent 12 }}
         ports:
         - containerPort: {{ .Values.service.internalPort }}
         {{ if eq .Values.liveness.enabled true }}
index f63a133..6e61206 100644 (file)
@@ -95,21 +95,22 @@ service:
 ingress:
   enabled: false
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2000m
+      memory: 4Gi
+    requests:
+      cpu: 500m
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4000m
+      memory: 8Gi
+    requests:
+      cpu: 1000m
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index 63534e8..1798092 100644 (file)
@@ -79,6 +79,8 @@ spec:
           - mountPath: /appl/dmaapMR1/etc/keyfile
             subPath: mykey
             name: mykey
+          resources:
+{{ include "common.resources" . | indent 12 }}
       volumes:
         - name: localtime
           hostPath:
index 098ffe1..94b7a44 100644 (file)
@@ -75,21 +75,22 @@ service:
 ingress:
   enabled: false
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as a conscious
-  # choice for the user. This also increases chances charts run on environments with little
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-  #
-  # Example:
-  # Configure resource requests and limits
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
-  # Minimum memory for development is 2 CPU cores and 4GB memory
-  # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-#  limits:
-#    cpu: 2
-#    memory: 4Gi
-#  requests:
-#    cpu: 2
-#    memory: 4Gi
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      cpu: 2000m
+      memory: 4Gi
+    requests:
+      cpu: 500m
+      memory: 1Gi
+  large:
+    limits:
+      cpu: 4000m
+      memory: 8Gi
+    requests:
+      cpu: 1000m
+      memory: 2Gi
+  unlimited: {}
index b44b4d2..225f1f4 100644 (file)
@@ -55,7 +55,7 @@ spec:
             - name: MSB_ADDR
               value: {{ tpl .Values.msbaddr . }}
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 486d67b..896d885 100644 (file)
@@ -61,7 +61,7 @@ spec:
           - mountPath: /home/esr/works/logs
             name: {{ include "common.fullname" . }}-logs
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index a787954..1518c5f 100644 (file)
@@ -79,7 +79,7 @@ spec:
 #            name: {{ include "common.name" . }}-config
 #            subPath: application.properties
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 5ff01b8..fcbe643 100644 (file)
@@ -60,7 +60,7 @@ spec:
           image: "{{ .Values.global.loggingRepository | default .Values.loggingRepository }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
             name: {{ .Values.service.name }}
index 3a621f9..9c3525a 100644 (file)
@@ -95,7 +95,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -112,4 +112,5 @@ resources:
       memory: 8Gi
     requests:
       cpu: 1
-      memory: 4Gi
\ No newline at end of file
+      memory: 4Gi
+  unlimited: {}
\ No newline at end of file
index a39dfe6..ac52f62 100644 (file)
@@ -51,7 +51,7 @@ spec:
           image: "{{ .Values.global.loggingRepository | default .Values.loggingRepository }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
             name: {{ .Values.service.name }}
index 81d0241..8a56151 100644 (file)
@@ -76,7 +76,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -93,4 +93,5 @@ resources:
       memory: 8Gi
     requests:
       cpu: 2
-      memory: 4Gi
\ No newline at end of file
+      memory: 4Gi
+  unlimited: {}
\ No newline at end of file
index 7d0fc6e..86b1a8c 100644 (file)
@@ -50,7 +50,7 @@ spec:
           image: "{{ .Values.global.loggingRepository| default .Values.loggingRepository }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
             name: {{ .Values.service.name }}
index ce227d9..7779ffe 100644 (file)
@@ -73,7 +73,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -90,4 +90,5 @@ resources:
       memory: 4Gi
     requests:
       cpu: 2
-      memory: 4Gi
\ No newline at end of file
+      memory: 4Gi
+  unlimited: {}
\ No newline at end of file
index 7f55dcc..455eae0 100644 (file)
@@ -61,7 +61,7 @@ spec:
             name: localtime
             readOnly: true
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 86e401e..5b8ceae 100644 (file)
@@ -58,7 +58,7 @@ spec:
             name: localtime
             readOnly: true
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 4c349ef..eb99c94 100644 (file)
@@ -77,7 +77,7 @@ spec:
           - mountPath: /usr/local/discover-works/logs
             name: {{ include "common.fullname" . }}-logs
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 423cb99..6cfcef2 100644 (file)
@@ -84,7 +84,7 @@ spec:
           - mountPath: /usr/local/apiroute-works/logs
             name: {{ include "common.fullname" . }}-logs
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 5b9b6b7..21d5d00 100644 (file)
@@ -84,7 +84,7 @@ spec:
           - mountPath: /usr/local/apiroute-works/logs
             name: {{ include "common.fullname" . }}-logs
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 1c91e8a..c2d966a 100644 (file)
@@ -63,7 +63,7 @@ spec:
          name: ocata-logconfig
          subPath: log.yml
        resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
        image: "{{ include "common.repository" . }}/{{ .Values.image }}"
        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
        ports:
index e6486a2..699b908 100644 (file)
@@ -84,3 +84,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index b555d46..1a737d6 100644 (file)
@@ -63,7 +63,7 @@ spec:
          name: vio-logconfig
          subPath: log.yml
        resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
        image: "{{ include "common.repository" . }}/{{ .Values.image }}"
        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
        ports:
index bc207ef..810646d 100644 (file)
@@ -28,7 +28,7 @@ image: onap/multicloud/vio:1.1.2
 pullPolicy: Always
 
 #Istio sidecar injection policy
-istioSidecar: true 
+istioSidecar: true
 
 # application configuration
 config:
@@ -84,3 +84,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index 3dfe72c..99b1ea9 100644 (file)
@@ -63,7 +63,7 @@ spec:
          name: windriver-logconfig
          subPath: log.yml
        resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
        image: "{{ include "common.repository" . }}/{{ .Values.image }}"
        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
        ports:
index 91d2d2e..4ebf843 100644 (file)
@@ -84,3 +84,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index 5c524fb..c3e6e51 100644 (file)
@@ -54,7 +54,7 @@ spec:
        - name: AAI_PASSWORD
          value: "{{ .Values.config.aai.password }}"
        resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
        image: "{{ include "common.repository" . }}/{{ .Values.image }}"
        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
        name: {{ include "common.name" . }}
index f7a3db3..3f1da7e 100644 (file)
@@ -88,3 +88,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index fee00ba..b432d0e 100644 (file)
@@ -75,7 +75,7 @@ spec:
           - mountPath: /var/lib/mysql
             name: mariadb-data
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 525c6a1..dd93b92 100644 (file)
@@ -92,4 +92,4 @@ resources:
     requests:
       cpu: 2
       memory: 4Gi
-
+  unlimited: {}
index a7be329..de260e3 100644 (file)
@@ -105,7 +105,7 @@ spec:
               name: localtime
               readOnly: true
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 9f9c0fa..703398d 100644 (file)
@@ -120,4 +120,5 @@ resources:
       memory: 4Gi
     requests:
       cpu: 200m
-      memory: 2Gi
\ No newline at end of file
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index 9b56c7b..3ce3bcc 100644 (file)
@@ -50,6 +50,9 @@ global:
   # flag to enable debugging - application support required
   debugEnabled: false
 
+  # override default resource limit flavor for all charts
+  flavor: unlimited
+
 # Repository for creation of nexus3.onap.org secret
 repository: nexus3.onap.org:10001
 
index 690bb74..12bbeef 100755 (executable)
@@ -85,7 +85,7 @@ spec:
             name: {{ .Values.global.commonConfigPrefix  }}-config
             subPath: log.conf
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index ea83587..c1f18ef 100755 (executable)
@@ -42,6 +42,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index f16b09f..aed92e5 100644 (file)
@@ -78,7 +78,7 @@ spec:
         - name: {{ include "common.fullname" . }}-data
           mountPath: /var/lib/cassandra/data
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 1268bad..38d2d18 100644 (file)
@@ -56,6 +56,7 @@ resources:
     requests:
       memory: 16Gi
       cpu: 8000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index 3a32129..00f2625 100755 (executable)
@@ -88,7 +88,7 @@ spec:
             name: {{ .Values.global.commonConfigPrefix }}-config
             subPath: healthy.sh
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 659128d..0090742 100755 (executable)
@@ -35,6 +35,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index d5f619e..3f64923 100755 (executable)
@@ -97,7 +97,7 @@ spec:
             name: {{ .Values.global.commonConfigPrefix }}-config
             subPath: AAF_RootCA.cer
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 659128d..0090742 100755 (executable)
@@ -35,6 +35,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index 7883340..9dc160f 100644 (file)
@@ -47,7 +47,7 @@ spec:
           image: "{{ include "common.repository" . }}/{{ .Values.image }}"   #"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
           # disable liveness probe when breakpoints set in debugger
index dda1c0f..f848162 100644 (file)
@@ -66,6 +66,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index d90943c..a967bb5 100755 (executable)
@@ -88,7 +88,7 @@ spec:
             name: {{ .Values.global.commonConfigPrefix }}-config
             subPath: healthy.sh
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 659128d..0090742 100755 (executable)
@@ -35,6 +35,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index ad1e1c5..26ed7c7 100755 (executable)
@@ -88,7 +88,7 @@ spec:
             name: {{ .Values.global.commonConfigPrefix }}-config
             subPath: healthy.sh
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 659128d..0090742 100755 (executable)
@@ -35,6 +35,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index 43f0680..888bfd0 100644 (file)
@@ -54,7 +54,7 @@ spec:
             name: localtime
             readOnly: true
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index e61eda0..64e0550 100644 (file)
@@ -48,6 +48,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index 17d5f28..00a65ce 100755 (executable)
@@ -153,7 +153,7 @@ complex_cache_refresh_interval = 60
 server_url = https://{{.Values.config.aai.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.aai.port}}/aai
 
 # The version of A&AI in v# format. (string value)
-server_url_version = v13
+server_url_version = v14
 
 # SSL/TLS certificate file in pem format. This certificate must be registered
 # with the A&AI endpoint. (string value)
index 3341505..ed64166 100644 (file)
@@ -77,7 +77,7 @@ spec:
             name: {{ include "common.fullname" . }}-config
             subPath: osdf_config.yaml
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 5aa462f..c249f26 100644 (file)
@@ -93,6 +93,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
index 7b40dbe..7535d54 100644 (file)
@@ -85,7 +85,7 @@ spec:
           name: pe-scripts
           subPath: do-start.sh
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 4028356..32059d6 100644 (file)
@@ -85,4 +85,5 @@ resources:
       memory: 4Gi
     requests:
       cpu: 20m
-      memory: 1Gi
\ No newline at end of file
+      memory: 1Gi
+  unlimited: {}
\ No newline at end of file
index d04f8f8..140e7f3 100644 (file)
@@ -65,7 +65,7 @@ spec:
           - mountPath: /sonatype-work
             name: nexus-data
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 91089aa..e837baf 100644 (file)
@@ -94,4 +94,5 @@ resources:
       memory: 2Gi
     requests:
       cpu: 2m
-      memory: 1Gi
\ No newline at end of file
+      memory: 1Gi
+  unlimited: {}
\ No newline at end of file
index 417ab7e..6564e79 100644 (file)
@@ -116,7 +116,7 @@ spec:
               exec:
                 command: ["/bin/sh", "-c", "export LOG=wait_logback.log; touch $LOG; export SRC=/tmp/logback.xml; export DST=/opt/app/policy/config/; while [ ! -e $DST ]; do echo 'Waiting for $DST...' >> $LOG; sleep 5; done; sleep 2; /bin/cp -f $SRC $DST; echo 'Done' >> $LOG"]
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         - image: "{{ .Values.global.loggingRepository | default .Values.loggingRepository }}/{{ .Values.loggingImage }}"
           imagePullPolicy: {{ .Values.pullPolicy }}
index 0a05719..b4a848a 100644 (file)
@@ -86,4 +86,5 @@ resources:
       memory: 8Gi
     requests:
       cpu: 200m
-      memory: 2Gi
\ No newline at end of file
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index 17662c1..c64fb9a 100644 (file)
@@ -76,7 +76,7 @@ spec:
           - mountPath: /var/lib/mysql
             name: mariadb-data
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index b2a848b..90f5be4 100644 (file)
@@ -91,4 +91,5 @@ resources:
       memory: 4Gi
     requests:
       cpu: 20m
-      memory: 1Gi
\ No newline at end of file
+      memory: 1Gi
+  unlimited: {}
\ No newline at end of file
index 5bc7b55..a3a8f6a 100644 (file)
@@ -59,7 +59,7 @@ spec:
         image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         ports:
         - containerPort: {{ .Values.service.externalPort }}
         {{- if eq .Values.liveness.enabled true }}
index 45ab96d..6559b42 100644 (file)
@@ -84,4 +84,5 @@ resources:
       memory: 8Gi
     requests:
       cpu: 20m
-      memory: 2Gi
\ No newline at end of file
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index 8063c83..29a24e6 100644 (file)
@@ -72,7 +72,7 @@ spec:
           - mountPath: /home/apexuser/config
             name: apexconfig
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index ef90c91..5d7a4d6 100644 (file)
@@ -82,4 +82,5 @@ resources:
       memory: 8Gi
     requests:
       cpu: 20m
-      memory: 2Gi
\ No newline at end of file
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index be18e55..93dad89 100644 (file)
@@ -33,6 +33,9 @@ max_fpc_update_interval=60
 test_via_jmx=false
 jmx_fqdn=
 
+AAF_NAMESPACE=org.onap.policy
+AAF_HOST=aaf-locate.{{.Release.Namespace}}
+
 ENVIRONMENT=TEST
 
 #Micro Service Model Properties
index 12029f3..8722e03 100644 (file)
@@ -45,7 +45,7 @@ spec:
           - mountPath: /opt/app/policy/distribution/etc/mounted
             name: distributionconfig
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index bcd2551..ea177e4 100644 (file)
@@ -55,7 +55,7 @@ spec:
           image: "{{ include "common.repository" . }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.externalPort }}
           - containerPort: {{ .Values.service.externalPort2 }}
index 6583045..0813f4c 100644 (file)
@@ -99,7 +99,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -116,4 +116,5 @@ resources:
       memory: 8Gi
     requests:
       cpu: 20m
-      memory: 2Gi
\ No newline at end of file
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index 99b1150..6d46e9d 100644 (file)
@@ -66,7 +66,7 @@ spec:
             readOnly: true
 
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
diff --git a/kubernetes/pomba/charts/pomba-contextaggregator/resources/config/builders/sdnc.properties b/kubernetes/pomba/charts/pomba-contextaggregator/resources/config/builders/sdnc.properties
deleted file mode 100755 (executable)
index f06d335..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright © 2018 Amdocs
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-server.host={{ .Values.config.sdncCtxBuilderHost }}
-basicauth.username={{ .Values.config.sdncCtxBuilderUsername }}
-basicauth.password={{ .Values.config.sdncCtxBuilderPassword }}
-server.port={{ .Values.config.ctxBuilderExternalPort }}
-server.protocol=http
-trust.store.path=/auth/tomcat_keystore
-key.store.path=/auth/aai-client-cert.p12
-key.store.password=70c87528c88dcd9f9c2558d30e817868
-key.store.type=PKCS12
-key.manager.factory.algorithm=SunX509
-security.protocol=TLS
-connection.timeout.ms=15000
-read.timeout.ms=10000
-base.uri=/sdnccontextbuilder/service/context
-
index 4dffd6e..44268db 100755 (executable)
@@ -64,7 +64,7 @@ spec:
             name: {{ include "common.fullname" . }}-config-builders
             readOnly: true
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{- toYaml .Values.nodeSelector | indent 10 }}
index 072357f..905ea87 100755 (executable)
@@ -33,16 +33,16 @@ debugEnabled: false
 config:
   aaiCtxBuilderHost: pomba-aaictxbuilder
   aaiCtxBuilderUsername: admin
-  aaiCtxBuilderPassword: admin
+  aaiCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30
   sdcCtxBuilderHost: pomba-sdcctxbuilder
   sdcCtxBuilderUsername: admin
-  sdcCtxBuilderPassword: admin
+  sdcCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30
   sdncCtxBuilderHost: pomba-sdncctxbuilder
   sdncCtxBuilderUsername: admin
-  sdncCtxBuilderPassword: admin
+  sdncCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30
   networkdiscoveryCtxBuilderHost: pomba-networkdiscoveryctxbuilder
   networkdiscoveryCtxBuilderUsername: admin
-  networkdiscoveryCtxBuilderPassword: admin
+  networkdiscoveryCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30
   ctxBuilderExternalPort: 9530
 
 # default number of instances
index c4491b9..93b5539 100644 (file)
@@ -88,7 +88,7 @@ spec:
           - mountPath: /usr/share/elasticsearch/data/
             name: {{ include "common.fullname" . }}-data
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 694f501..e87a04f 100644 (file)
@@ -146,7 +146,7 @@ spec:
           - mountPath: /usr/share/kibana/config/
             name: {{ include "common.fullname" . }}
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 1bd0309..7f44106 100644 (file)
@@ -70,7 +70,7 @@ spec:
             readOnly: true\r
 \r
           resources:\r
-{{ toYaml .Values.resources | indent 12 }}\r
+{{ include "common.resources" . | indent 12 }}\r
         {{- if .Values.nodeSelector }}\r
         nodeSelector:\r
 {{ toYaml .Values.nodeSelector | indent 10 }}\r
index b65f3be..e10b6db 100644 (file)
@@ -1,96 +1,96 @@
-# Copyright © 2018 Amdocs\r
-#\r
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-#\r
-#       http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
-\r
-#################################################################\r
-# Global configuration defaults.\r
-#################################################################\r
-global:\r
-  nodePortPrefix: 302\r
-  repository: nexus3.onap.org:10001\r
-\r
-#################################################################\r
-# Application configuration defaults.\r
-#################################################################\r
-# application image\r
-repository: nexus3.onap.org:10001\r
-image:  onap/network-discovery:latest\r
-pullPolicy: Always\r
-\r
-# flag to enable debugging - application support required\r
-debugEnabled: false\r
-\r
-# application configuration\r
-# Example:\r
-config:\r
-  # Network Discovery Micro Service REST Client Configuration\r
-  # Basic Authorization credentials for Network Discovery Micro Service Rest Service\r
-  networkDiscoveryUserId: admin\r
-  networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30\r
-\r
-# default number of instances\r
-replicaCount: 1\r
-\r
-nodeSelector: {}\r
-\r
-affinity: {}\r
-\r
-# probe configuration parameters\r
-liveness:\r
-  initialDelaySeconds: 10\r
-  periodSeconds: 10\r
-  # necessary to disable liveness probe when setting breakpoints\r
-  # in debugger so K8s doesn't restart unresponsive container\r
-  enabled: true\r
-\r
-readiness:\r
-  initialDelaySeconds: 10\r
-  periodSeconds: 10\r
-\r
-#Example service definition with external, internal and node ports.\r
-service:\r
-  # The default service name (exposed in the service.yaml) will be the same\r
-  # name as the chart. If the service name needs to be overriden (such as\r
-  # when a subchart is shared), uncomment the value below.\r
-  #name: <service-name-override>\r
-\r
-  #Services may use any combination of ports depending on the 'type' of\r
-  #service being defined.\r
-  type: ClusterIP\r
-  externalPort: 9531\r
-  internalPort: 8080\r
-#  nodePort: <replace with unused node port suffix eg. 23>\r
-  # optional port name override - default can be defined in service.yaml\r
-  #portName: http\r
-\r
-ingress:\r
-  enabled: false\r
-\r
-resources: {}\r
-  # We usually recommend not to specify default resources and to leave this as a conscious\r
-  # choice for the user. This also increases chances charts run on environments with little\r
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following\r
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.\r
-  #\r
-  # Example:\r
-  # Configure resource requests and limits\r
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/\r
-  # Minimum memory for development is 2 CPU cores and 4GB memory\r
-  # Minimum memory for production is 4 CPU cores and 8GB memory\r
-#resources:\r
-#  limits:\r
-#    cpu: 2\r
-#    memory: 4Gi\r
-#  requests:\r
-#    cpu: 2\r
-#    memory: 4Gi\r
+# Copyright © 2018 Amdocs
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#################################################################
+# Global configuration defaults.
+#################################################################
+global:
+  nodePortPrefix: 302
+  repository: nexus3.onap.org:10001
+
+#################################################################
+# Application configuration defaults.
+#################################################################
+# application image
+repository: nexus3.onap.org:10001
+image:  onap/network-discovery:latest
+pullPolicy: Always
+
+# flag to enable debugging - application support required
+debugEnabled: false
+
+# application configuration
+# Example:
+config:
+  # Network Discovery Micro Service REST Client Configuration
+  # Basic Authorization credentials for Network Discovery Micro Service Rest Service
+  networkDiscoveryUserId: admin
+  networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30
+
+# default number of instances
+replicaCount: 1
+
+nodeSelector: {}
+
+affinity: {}
+
+# probe configuration parameters
+liveness:
+  initialDelaySeconds: 10
+  periodSeconds: 10
+  # necessary to disable liveness probe when setting breakpoints
+  # in debugger so K8s doesn't restart unresponsive container
+  enabled: true
+
+readiness:
+  initialDelaySeconds: 10
+  periodSeconds: 10
+
+#Example service definition with external, internal and node ports.
+service:
+  # The default service name (exposed in the service.yaml) will be the same
+  # name as the chart. If the service name needs to be overriden (such as
+  # when a subchart is shared), uncomment the value below.
+  #name: <service-name-override>
+
+  #Services may use any combination of ports depending on the 'type' of
+  #service being defined.
+  type: ClusterIP
+  externalPort: 9531
+  internalPort: 8080
+#  nodePort: <replace with unused node port suffix eg. 23>
+  # optional port name override - default can be defined in service.yaml
+  #portName: http
+
+ingress:
+  enabled: false
+
+resources: {}
+  # We usually recommend not to specify default resources and to leave this as a conscious
+  # choice for the user. This also increases chances charts run on environments with little
+  # resources, such as Minikube. If you do want to specify resources, uncomment the following
+  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
+  #
+  # Example:
+  # Configure resource requests and limits
+  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
+  # Minimum memory for development is 2 CPU cores and 4GB memory
+  # Minimum memory for production is 4 CPU cores and 8GB memory
+#resources:
+#  limits:
+#    cpu: 2
+#    memory: 4Gi
+#  requests:
+#    cpu: 2
+#    memory: 4Gi
index 2b53154..462ee68 100644 (file)
@@ -66,7 +66,7 @@ spec:
             subPath: application.properties
 
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 32119f7..f2c7ec7 100644 (file)
@@ -60,7 +60,7 @@ spec:
             subPath: application.properties
             readOnly: true
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index c0e2568..fd03c6c 100644 (file)
@@ -92,7 +92,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 10 }}
+{{ include "common.resources" . | indent 10 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}
index 14513f3..7c6d4ba 100644 (file)
@@ -66,7 +66,7 @@ spec:
             readOnly: true
 
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 3de087e..f43eea1 100644 (file)
@@ -1,96 +1,96 @@
-# Copyright © 2018 Amdocs\r
-#\r
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-#\r
-#       http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
-\r
-#################################################################\r
-# Global configuration defaults.\r
-#################################################################\r
-global:\r
-  nodePortPrefix: 302\r
-  repository: nexus3.onap.org:10001\r
-\r
-#################################################################\r
-# Application configuration defaults.\r
-#################################################################\r
-# application image\r
-repository: nexus3.onap.org:10001\r
-image:  onap/service-decomposition:latest\r
-pullPolicy: Always\r
-\r
-# flag to enable debugging - application support required\r
-debugEnabled: false\r
-\r
-# application configuration\r
-# Example:\r
-config:\r
-  # Service Decomposition REST Client Configuration\r
-  # Basic Authorization Client credentials for Service Decomposition REST service\r
-  serviceDecompositionUserId: admin\r
-  serviceDecompositionPassword: OBF:1u2a1toa1w8v1tok1u30\r
-\r
-# default number of instances\r
-replicaCount: 1\r
-\r
-nodeSelector: {}\r
-\r
-affinity: {}\r
-\r
-# probe configuration parameters\r
-liveness:\r
-  initialDelaySeconds: 10\r
-  periodSeconds: 10\r
-  # necessary to disable liveness probe when setting breakpoints\r
-  # in debugger so K8s doesn't restart unresponsive container\r
-  enabled: true\r
-\r
-readiness:\r
-  initialDelaySeconds: 10\r
-  periodSeconds: 10\r
-\r
-#Example service definition with external, internal and node ports.\r
-service:\r
-  # The default service name (exposed in the service.yaml) will be the same\r
-  # name as the chart. If the service name needs to be overriden (such as\r
-  # when a subchart is shared), uncomment the value below.\r
-  #name: <service-name-override>\r
-\r
-  #Services may use any combination of ports depending on the 'type' of\r
-  #service being defined.\r
-  type: ClusterIP\r
-  externalPort: 9532\r
-  internalPort: 8080\r
-#  nodePort: <replace with unused node port suffix eg. 23>\r
-  # optional port name override - default can be defined in service.yaml\r
-  #portName: http\r
-\r
-ingress:\r
-  enabled: false\r
-\r
-resources: {}\r
-  # We usually recommend not to specify default resources and to leave this as a conscious\r
-  # choice for the user. This also increases chances charts run on environments with little\r
-  # resources, such as Minikube. If you do want to specify resources, uncomment the following\r
-  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.\r
-  #\r
-  # Example:\r
-  # Configure resource requests and limits\r
-  # ref: http://kubernetes.io/docs/user-guide/compute-resources/\r
-  # Minimum memory for development is 2 CPU cores and 4GB memory\r
-  # Minimum memory for production is 4 CPU cores and 8GB memory\r
-#resources:\r
-#  limits:\r
-#    cpu: 2\r
-#    memory: 4Gi\r
-#  requests:\r
-#    cpu: 2\r
-#    memory: 4Gi\r
+# Copyright © 2018 Amdocs
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#################################################################
+# Global configuration defaults.
+#################################################################
+global:
+  nodePortPrefix: 302
+  repository: nexus3.onap.org:10001
+
+#################################################################
+# Application configuration defaults.
+#################################################################
+# application image
+repository: nexus3.onap.org:10001
+image:  onap/service-decomposition:latest
+pullPolicy: Always
+
+# flag to enable debugging - application support required
+debugEnabled: false
+
+# application configuration
+# Example:
+config:
+  # Service Decomposition REST Client Configuration
+  # Basic Authorization Client credentials for Service Decomposition REST service
+  serviceDecompositionUserId: admin
+  serviceDecompositionPassword: OBF:1u2a1toa1w8v1tok1u30
+
+# default number of instances
+replicaCount: 1
+
+nodeSelector: {}
+
+affinity: {}
+
+# probe configuration parameters
+liveness:
+  initialDelaySeconds: 10
+  periodSeconds: 10
+  # necessary to disable liveness probe when setting breakpoints
+  # in debugger so K8s doesn't restart unresponsive container
+  enabled: true
+
+readiness:
+  initialDelaySeconds: 10
+  periodSeconds: 10
+
+#Example service definition with external, internal and node ports.
+service:
+  # The default service name (exposed in the service.yaml) will be the same
+  # name as the chart. If the service name needs to be overriden (such as
+  # when a subchart is shared), uncomment the value below.
+  #name: <service-name-override>
+
+  #Services may use any combination of ports depending on the 'type' of
+  #service being defined.
+  type: ClusterIP
+  externalPort: 9532
+  internalPort: 8080
+#  nodePort: <replace with unused node port suffix eg. 23>
+  # optional port name override - default can be defined in service.yaml
+  #portName: http
+
+ingress:
+  enabled: false
+
+resources: {}
+  # We usually recommend not to specify default resources and to leave this as a conscious
+  # choice for the user. This also increases chances charts run on environments with little
+  # resources, such as Minikube. If you do want to specify resources, uncomment the following
+  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
+  #
+  # Example:
+  # Configure resource requests and limits
+  # ref: http://kubernetes.io/docs/user-guide/compute-resources/
+  # Minimum memory for development is 2 CPU cores and 4GB memory
+  # Minimum memory for production is 4 CPU cores and 8GB memory
+#resources:
+#  limits:
+#    cpu: 2
+#    memory: 4Gi
+#  requests:
+#    cpu: 2
+#    memory: 4Gi
index 5faa453..f802245 100644 (file)
@@ -75,7 +75,7 @@ spec:
           - mountPath: {{ .Values.config.rulesDir }}/
             name: rules
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index f22bc48..2ab570a 100644 (file)
@@ -98,7 +98,7 @@ spec:
         - name: var-log-onap
           mountPath: /var/log/onap
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index c8aa81f..a71e0c4 100644 (file)
@@ -86,7 +86,7 @@ messageRouter:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -104,3 +104,4 @@ resources:
     requests:
       cpu: 2
       memory: 8Gi
+  unlimited: {}
index 38c6028..0adf4e1 100644 (file)
@@ -83,7 +83,7 @@ spec:
         - name: {{ include "common.fullname" . }}-data
           mountPath: /var/lib/cassandra/data
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 6c55391..c46ca42 100644 (file)
@@ -73,7 +73,7 @@ persistence:
   size: 2Gi
   mountPath: /dockerdata-nfs
   mountSubPath: portal/cassandra/data
-  
+
 service:
   type: ClusterIP
   name: portal-cassandra
@@ -92,7 +92,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -110,3 +110,4 @@ resources:
     requests:
       cpu: 2
       memory: 6Gi
+  unlimited: {}
index 951f00b..20fa9ce 100644 (file)
@@ -66,7 +66,7 @@ spec:
             name: localtime
             readOnly: true
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 3085588..bd68f9a 100644 (file)
@@ -121,7 +121,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -139,3 +139,4 @@ resources:
     requests:
       cpu: 800m
       memory: 1Gi
+  unlimited: {}
index 4a9f4a0..f59a16a 100644 (file)
@@ -90,7 +90,7 @@ spec:
         - name: var-log-onap
           mountPath: /var/log/onap
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 22a0b2f..89d2e77 100644 (file)
@@ -82,7 +82,7 @@ messageRouter:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -100,3 +100,4 @@ resources:
     requests:
       cpu: 4
       memory: 10Gi
+  unlimited: {}
index 8c16974..fdf9915 100644 (file)
@@ -77,7 +77,7 @@ spec:
           mountPath: "/application.yml"
           subPath: application.yml
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 5264938..0724653 100644 (file)
@@ -68,7 +68,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -86,3 +86,4 @@ resources:
     requests:
       cpu: 1
       memory: 4Gi
+  unlimited: {}
index 598d5ff..73056be 100644 (file)
@@ -54,7 +54,7 @@ spec:
             name: localtime
             readOnly: true
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index b8e93c4..c7c8030 100644 (file)
@@ -56,7 +56,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -74,3 +74,4 @@ resources:
     requests:
       cpu: 500m
       memory: 600Mi
+  unlimited: {}
index 319ef59..e50620f 100644 (file)
@@ -57,7 +57,7 @@ spec:
         - name: robot-logs
           mountPath: /share/logs
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 146c0be..4d320dd 100755 (executable)
@@ -84,7 +84,7 @@ nodeSelector: {}
 
 affinity: {}
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -102,6 +102,7 @@ resources:
     requests:
       cpu: 1000m
       memory: 2Gi
+  unlimited: {}
 
 # probe configuration parameters
 liveness:
index 82a1b43..e3e9781 100644 (file)
@@ -81,7 +81,7 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           env:
           - name: ENVNAME
             value: {{ .Values.global.env.name }}
index 24c7140..f262525 100644 (file)
@@ -88,3 +88,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
index 5552515..4731edf 100644 (file)
@@ -52,7 +52,7 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           env:
           - name: ENVNAME
             value: {{ .Values.global.env.name }}
index c35617a..949b47f 100644 (file)
@@ -111,3 +111,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
index 9fd394b..c3d9600 100644 (file)
@@ -53,7 +53,7 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           env:
           - name: ENVNAME
             value: {{ .Values.global.env.name }}
index f0beda9..763fa40 100644 (file)
@@ -115,4 +115,5 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
 
index 7544d46..9a34263 100644 (file)
@@ -80,7 +80,7 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           env:
           - name: ENVNAME
             value: {{ .Values.global.env.name }}
index 38efb27..df3d689 100644 (file)
@@ -88,3 +88,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
index 397f707..ef27978 100644 (file)
@@ -65,7 +65,7 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           env:
           - name: ENVNAME
             value: {{ .Values.global.env.name }}
index 15bb72c..541ab99 100644 (file)
@@ -86,3 +86,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
index bc34246..ee5f78b 100644 (file)
@@ -67,7 +67,7 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           env:
           - name: ENVNAME
             value: {{ .Values.global.env.name }}
index a1a1411..f5f7c3a 100644 (file)
@@ -111,3 +111,4 @@ resources:
     requests:
       cpu: 20m
       memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index 0dfc61a..c284f2d 100644 (file)
@@ -75,7 +75,7 @@ spec:
             mountPath: /etc/localtime
             readOnly: true
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index d69d67d..7a5b1f2 100644 (file)
@@ -77,7 +77,7 @@ spec:
           name: properties
           subPath: aai.properties
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 2520fb1..a0ac529 100644 (file)
@@ -90,4 +90,5 @@ resources:
       memory: 4Gi
     requests:
       cpu: 1
-      memory: 2Gi
\ No newline at end of file
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index fe9d302..55c3811 100644 (file)
@@ -75,7 +75,7 @@ spec:
             name: config
             subPath: RestServer_config
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index aba6870..35dffee 100644 (file)
@@ -97,7 +97,7 @@ spec:
             name: properties
             subPath: svclogic.properties.sdnctldb02
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 1fba2a1..1d56d84 100644 (file)
@@ -96,3 +96,4 @@ resources:
     requests:
       cpu: 1
       memory: 1Gi
+  unlimited: {}
index 2258d4a..1c5f917 100644 (file)
@@ -73,7 +73,7 @@ spec:
           name: properties
           subPath: ueb-listener.properties
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index c1dafbc..3560216 100644 (file)
@@ -92,3 +92,4 @@ resources:
     requests:
       cpu: 1
       memory: 2Gi
+  unlimited: {}
index c925bfd..035942b 100755 (executable)
@@ -30,8 +30,8 @@ org.onap.ccsdk.sli.adaptors.aai.ssl.trust=/opt/onap/sdnc/data/stores/truststoreO
 org.onap.ccsdk.sli.adaptors.aai.ssl.trust.psswd=changeit
 org.onap.ccsdk.sli.adaptors.aai.host.certificate.ignore=true
 
-org.onap.ccsdk.sli.adaptors.aai.client.name=SDNC
-org.onap.ccsdk.sli.adaptors.aai.client.psswd=SDNC
+org.onap.ccsdk.sli.adaptors.aai.client.name=sdnc@sdnc.onap.org
+org.onap.ccsdk.sli.adaptors.aai.client.psswd=demo123456!
 
 org.onap.ccsdk.sli.adaptors.aai.application=openECOMP
 #
index 76f722c..d457bd8 100644 (file)
@@ -68,7 +68,7 @@ spec:
           mountPath: /app/config/coredns
 
         resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 784bc69..32d9884 100644 (file)
@@ -134,7 +134,7 @@ spec:
           - mountPath: /var/log/onap
             name: logs
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 800cd0d..8560166 100644 (file)
@@ -216,3 +216,4 @@ resources:
     requests:
       cpu: 2
       memory: 4Gi
+  unlimited: {}
index da5266a..2b0eaec 100644 (file)
@@ -49,7 +49,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 43ca1d9..20068a8 100755 (executable)
@@ -38,7 +38,7 @@ spec:
       - name: {{ include "common.name" . }}
         image: {{ include "common.repository" . }}/{{ .Values.image }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: DB_HOST
           valueFrom:
index fd7451e..6f301b9 100755 (executable)
@@ -46,6 +46,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 livenessProbe:
     path: /manage/health
     scheme: HTTP
index 43ca1d9..20068a8 100755 (executable)
@@ -38,7 +38,7 @@ spec:
       - name: {{ include "common.name" . }}
         image: {{ include "common.repository" . }}/{{ .Values.image }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: DB_HOST
           valueFrom:
index 9eccf4b..2083633 100755 (executable)
@@ -1,62 +1,63 @@
-# Copyright © 2018 AT&T USA\r
-#\r
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-#\r
-#       http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
-repository: nexus3.onap.org:10001\r
+# Copyright © 2018 AT&T USA
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+repository: nexus3.onap.org:10001
 image: onap/so/catalog-db-adapter:1.3.0-STAGING-latest
-pullPolicy: IfNotPresent\r
-replicaCount: 1\r
-minReadySeconds: 10\r
-containerPort: 8082\r
-logPath: ./logs/catdb/\r
-app: catalog-db-adapter\r
-service:\r
-    type: ClusterIP\r
-    internalPort: 8082\r
-    externalPort: 8082\r
-    portName: so-catdb-port\r
-updateStrategy:\r
-    type: RollingUpdate\r
-    maxUnavailable: 1\r
-    maxSurge: 1\r
-# Resource Limit flavor -By Default using small\r
-flavor: small\r
-# Segregation for Different environment (Small and Large)\r
-resources:\r
-  small:\r
-    limits:\r
-      memory: 4Gi\r
-      cpu: 2000m\r
-    requests:\r
-      memory: 1Gi\r
-      cpu: 500m\r
-  large:\r
-    limits:\r
-      memory: 8Gi\r
-      cpu: 4000m\r
-    requests:\r
-      memory: 2Gi\r
-      cpu: 1000m\r
-livenessProbe:\r
-    path: /manage/health\r
-    port: 8082\r
-    scheme: HTTP\r
-    initialDelaySeconds: 600\r
-    periodSeconds: 60\r
-    timeoutSeconds: 10\r
-    successThreshold: 1\r
-    failureThreshold: 3\r
-ingress:\r
-  enabled: false\r
-nodeSelector: {}\r
-tolerations: []\r
-affinity: {}\r
+pullPolicy: IfNotPresent
+replicaCount: 1
+minReadySeconds: 10
+containerPort: 8082
+logPath: ./logs/catdb/
+app: catalog-db-adapter
+service:
+    type: ClusterIP
+    internalPort: 8082
+    externalPort: 8082
+    portName: so-catdb-port
+updateStrategy:
+    type: RollingUpdate
+    maxUnavailable: 1
+    maxSurge: 1
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      memory: 4Gi
+      cpu: 2000m
+    requests:
+      memory: 1Gi
+      cpu: 500m
+  large:
+    limits:
+      memory: 8Gi
+      cpu: 4000m
+    requests:
+      memory: 2Gi
+      cpu: 1000m
+  unlimited: {}
+livenessProbe:
+    path: /manage/health
+    port: 8082
+    scheme: HTTP
+    initialDelaySeconds: 600
+    periodSeconds: 60
+    timeoutSeconds: 10
+    successThreshold: 1
+    failureThreshold: 3
+ingress:
+  enabled: false
+nodeSelector: {}
+tolerations: []
+affinity: {}
index 07feb4a..6c7b85f 100755 (executable)
@@ -81,7 +81,7 @@ spec:
         - name: docker-entrypoint-initdb-d
           mountPath: "/docker-entrypoint-initdb.d"
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 427257d..9545899 100755 (executable)
@@ -89,3 +89,4 @@ resources:
     requests:
       cpu: 2
       memory: 4Gi
+  unlimited: {}
index 43ca1d9..20068a8 100755 (executable)
@@ -38,7 +38,7 @@ spec:
       - name: {{ include "common.name" . }}
         image: {{ include "common.repository" . }}/{{ .Values.image }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: DB_HOST
           valueFrom:
index 3883ae0..867e599 100755 (executable)
@@ -45,6 +45,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 livenessProbe:
     path: /manage/health
     port: 8087
index 43ca1d9..20068a8 100755 (executable)
@@ -38,7 +38,7 @@ spec:
       - name: {{ include "common.name" . }}
         image: {{ include "common.repository" . }}/{{ .Values.image }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: DB_HOST
           valueFrom:
index a0f7279..50eb7ba 100755 (executable)
@@ -1,61 +1,62 @@
-# Copyright © 2018 AT&T USA\r
-#\r
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-#\r
-#       http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
+# Copyright © 2018 AT&T USA
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 image: onap/so/request-db-adapter:1.3.0-STAGING-latest
-pullPolicy: IfNotPresent\r
-replicaCount: 1\r
-minReadySeconds: 10\r
-containerPort: 8083\r
-logPath: ./logs/reqdb/\r
-app: request-db-adapter\r
-service:\r
-    type: ClusterIP\r
-    internalPort: 8083\r
-    externalPort: 8083\r
-    portName: so-reqdb-port\r
-updateStrategy:\r
-    type: RollingUpdate\r
-    maxUnavailable: 1\r
-    maxSurge: 1\r
-# Resource Limit flavor -By Default using small\r
-flavor: small\r
-# Segregation for Different environment (Small and Large)\r
-resources:\r
-  small:\r
-    limits:\r
-      memory: 4Gi\r
-      cpu: 2000m\r
-    requests:\r
-      memory: 1Gi\r
-      cpu: 500m\r
-  large:\r
-    limits:\r
-      memory: 8Gi\r
-      cpu: 4000m\r
-    requests:\r
-      memory: 2Gi\r
-      cpu: 1000m\r
-livenessProbe:\r
-    path: /manage/health\r
-    port: 8083\r
-    scheme: HTTP\r
-    initialDelaySeconds: 600\r
-    periodSeconds: 60\r
-    timeoutSeconds: 10\r
-    successThreshold: 1\r
-    failureThreshold: 3\r
-ingress:\r
-  enabled: false\r
-nodeSelector: {}\r
-tolerations: []\r
-affinity: {}\r
+pullPolicy: IfNotPresent
+replicaCount: 1
+minReadySeconds: 10
+containerPort: 8083
+logPath: ./logs/reqdb/
+app: request-db-adapter
+service:
+    type: ClusterIP
+    internalPort: 8083
+    externalPort: 8083
+    portName: so-reqdb-port
+updateStrategy:
+    type: RollingUpdate
+    maxUnavailable: 1
+    maxSurge: 1
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+  small:
+    limits:
+      memory: 4Gi
+      cpu: 2000m
+    requests:
+      memory: 1Gi
+      cpu: 500m
+  large:
+    limits:
+      memory: 8Gi
+      cpu: 4000m
+    requests:
+      memory: 2Gi
+      cpu: 1000m
+  unlimited: {}
+livenessProbe:
+    path: /manage/health
+    port: 8083
+    scheme: HTTP
+    initialDelaySeconds: 600
+    periodSeconds: 60
+    timeoutSeconds: 10
+    successThreshold: 1
+    failureThreshold: 3
+ingress:
+  enabled: false
+nodeSelector: {}
+tolerations: []
+affinity: {}
index 43ca1d9..20068a8 100755 (executable)
@@ -38,7 +38,7 @@ spec:
       - name: {{ include "common.name" . }}
         image: {{ include "common.repository" . }}/{{ .Values.image }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: DB_HOST
           valueFrom:
index 50ff616..2981a82 100755 (executable)
@@ -45,6 +45,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 livenessProbe:
     path: /manage/health
     port: 8085
index 43ca1d9..20068a8 100755 (executable)
@@ -38,7 +38,7 @@ spec:
       - name: {{ include "common.name" . }}
         image: {{ include "common.repository" . }}/{{ .Values.image }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: DB_HOST
           valueFrom:
index b56c415..4bab856 100755 (executable)
@@ -45,6 +45,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 livenessProbe:
     path: /manage/health
     port: 8086
index 43ca1d9..20068a8 100755 (executable)
@@ -38,7 +38,7 @@ spec:
       - name: {{ include "common.name" . }}
         image: {{ include "common.repository" . }}/{{ .Values.image }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: DB_HOST
           valueFrom:
index 0b6f136..b0c3b01 100755 (executable)
@@ -45,6 +45,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 livenessProbe:
     path: /manage/health
     port: 8084
index 43ca1d9..20068a8 100755 (executable)
@@ -38,7 +38,7 @@ spec:
       - name: {{ include "common.name" . }}
         image: {{ include "common.repository" . }}/{{ .Values.image }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: DB_HOST
           valueFrom:
index 03154ae..60d0424 100755 (executable)
@@ -46,6 +46,7 @@ resources:
     requests:
       cpu: 1000m
       memory: 2Gi
+  unlimited: {}
 livenessProbe:
     path: /manage/health
     scheme: HTTP
index 0a73fff..f0d5d29 100644 (file)
@@ -46,7 +46,7 @@ spec:
             periodSeconds: {{ .Values.liveness.periodSeconds }}
           {{ end -}}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           readinessProbe:
             tcpSocket:
               port: {{ .Values.service.internalPort }}
index ecc93c0..268c6f3 100644 (file)
@@ -90,3 +90,4 @@ resources:
     requests:
       cpu: 500m
       memory: 500Mi
+  unlimited: {}
index 5d564cf..6c09924 100644 (file)
@@ -58,7 +58,7 @@ spec:
           - name: MSB_ADDR
             value: {{ tpl .Values.msbaddr . }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 95be04b..266d17b 100644 (file)
@@ -90,3 +90,4 @@ resources:
     requests:
       cpu: 500m
       memory: 1Gi
+  unlimited: {}
index 6533911..e33d749 100644 (file)
@@ -82,7 +82,7 @@ spec:
             mountPath: /opt/vfc/catalog/config/log.yml
             subPath: log.yml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 6fc4a6d..1b4b31e 100644 (file)
@@ -55,7 +55,7 @@ spec:
             - name: MSB_ADDR
               value: "{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 9949157..dbad6a7 100644 (file)
@@ -76,7 +76,7 @@ spec:
             - name: VES_AUTHINFO
               value: "{{ .Values.config.vescollectorUser }}:{{ .Values.config.vescollectorPassword }}"
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index e8f0858..a25a497 100644 (file)
@@ -81,7 +81,7 @@ spec:
             mountPath: /opt/vfc/gvnfmdriver/config/log.yml
             subPath: log.yml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index ff307eb..8046512 100644 (file)
@@ -82,7 +82,7 @@ spec:
             mountPath: /opt/vfc/hwvnfmdriver/config/log4j.properties
             subPath: log4j.properties
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 7f7a6e8..e41378b 100644 (file)
@@ -81,7 +81,7 @@ spec:
             mountPath: /opt/vfc/jujudriver/config/log4j.properties
             subPath: log4j.properties
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 0bb774a..dd61e65 100644 (file)
@@ -72,7 +72,7 @@ spec:
             - name: MSB_ADDR
               value: "{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 0bb774a..dd61e65 100644 (file)
@@ -72,7 +72,7 @@ spec:
             - name: MSB_ADDR
               value: "{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index cab3230..eb0885a 100644 (file)
@@ -81,7 +81,7 @@ spec:
             mountPath: /opt/vfc/nokiavnfmdriver/config/logback.xml
             subPath: logback.xml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 6c499aa..184ceb5 100644 (file)
@@ -82,7 +82,7 @@ spec:
             mountPath: /opt/vfc/nslcm/config/log.yml
             subPath: log.yml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index c42d22e..e4dc3c2 100644 (file)
@@ -81,7 +81,7 @@ spec:
             mountPath: /opt/vfc/resmgr/config/log4j.properties
             subPath: log4j.properties
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index d2974c6..95e90a1 100644 (file)
@@ -82,7 +82,7 @@ spec:
             mountPath: /opt/vfc/gvnfm-vnflcm/config/log.yml
             subPath: log.yml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 807bb8b..219f2f2 100644 (file)
@@ -83,7 +83,7 @@ spec:
             mountPath: /opt/vfc/gvnfm-vnfmgr/config/log.yml
             subPath: log.yml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 767b709..9f9f1b3 100644 (file)
@@ -82,7 +82,7 @@ spec:
             mountPath: /opt/vfc/gvnfm-vnfres/config/log.yml
             subPath: log.yml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index a25cace..208329a 100644 (file)
@@ -80,7 +80,7 @@ spec:
             - name: OPENPALETTE_MSB_PORT
               value: "{{ .Values.global.config.msbPort | default 80 }}"
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 0bbfd75..a42769b 100644 (file)
@@ -80,7 +80,7 @@ spec:
             - name: OPENPALETTE_MSB_PORT
               value: "{{ .Values.global.config.msbPort | default 80 }}"
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 0bb774a..dd61e65 100644 (file)
@@ -72,7 +72,7 @@ spec:
             - name: MSB_ADDR
               value: "{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 8125215..bdaf139 100644 (file)
@@ -81,7 +81,7 @@ spec:
             mountPath: /opt/vfc/ztevnfmdriver/config/log.yml
             subPath: log.yml
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 8ddcb4a..0c77a17 100644 (file)
@@ -97,7 +97,7 @@ spec:
             timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
       {{- end }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           volumeMounts:
         {{- if .Values.externalConfig }}
           - mountPath: /etc/config
index 10509d9..d5ed703 100644 (file)
@@ -42,7 +42,7 @@ config:
   mysqlDatabase: vid_openecomp_epsdk
 
 
-# default number of instances in the StatefulSet 
+# default number of instances in the StatefulSet
 # keep in mind that if the number is increased you need to update vid-galera-config-job.yaml so that the job will know to wait for all pods.
 replicaCount: 1
 
@@ -106,7 +106,7 @@ ingress:
 #externalConfig: {}
 externalConfig: |-
   lower_case_table_names = 1
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -124,6 +124,7 @@ resources:
     requests:
       cpu: 20m
       memory: 1Gi
+  unlimited: {}
 # Name for mariadb-galera cluster - should be unique accross all projects or other clusters
 nameOverride: vid-mariadb-galera
 
index 9b9ee8d..9a23c1d 100644 (file)
@@ -118,7 +118,7 @@ spec:
             name: vid-logback
             subPath: logback.xml
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
index 4b0f38c..79e9440 100644 (file)
@@ -91,7 +91,7 @@ service:
 ingress:
   enabled: false
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -108,4 +108,5 @@ resources:
       memory: 4Gi
     requests:
       cpu: 200m
-      memory: 2Gi
\ No newline at end of file
+      memory: 2Gi
+  unlimited: {}
\ No newline at end of file
index ee779f4..b53b920 100644 (file)
@@ -53,7 +53,7 @@ spec:
         imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
         name: {{ include "common.name" . }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         env:
         - name: POSTGRES_SERVICE_HOST
           value: "$(VNFSDK_DBSET_SERVICE_HOST)"
index 89630c9..b9b9016 100644 (file)
@@ -61,7 +61,7 @@ nodeSelector: {}
 
 affinity: {}
 
-# Resource Limit flavor -By Default using small 
+# Resource Limit flavor -By Default using small
 flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
@@ -79,6 +79,7 @@ resources:
     requests:
       cpu: 1000m
       memory: 2Gi
+  unlimited: {}
 
 # probe configuration parameters
 liveness: