Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 1 | # Copyright © 2020 Samsung |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 17 | global: |
| 18 | repository: nexus3.onap.org:10001 |
| 19 | readinessRepository: oomk8s |
| 20 | readinessImage: readiness-check:2.0.2 |
| 21 | persistence: |
| 22 | mountPath: /dockerdata-nfs |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 23 | |
| 24 | ################################################################# |
| 25 | # Secrets metaconfig |
| 26 | ################################################################# |
| 27 | secrets: |
| 28 | - uid: "so-onap-certs" |
| 29 | externalSecret: '{{ tpl (default "" .Values.certSecret) . }}' |
| 30 | type: generic |
| 31 | filePaths: '{{ .Values.secretsFilePaths }}' |
| 32 | |
| 33 | #secretsFilePaths: | |
| 34 | # - 'my file 1' |
| 35 | # - '{{ include "templateThatGeneratesFileName" . }}' |
| 36 | |
| 37 | ################################################################# |
| 38 | # Application configuration defaults. |
| 39 | ################################################################# |
seshukm | e08a006 | 2020-05-11 13:04:26 +0530 | [diff] [blame] | 40 | image: onap/so/ve-vnfm-adapter:1.6.1 |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 41 | pullPolicy: Always |
| 42 | replicaCount: 1 |
| 43 | service: |
| 44 | name: ve-vnfm-adapter |
| 45 | type: ClusterIP |
| 46 | annotations: |
| 47 | msb.onap.org/service-info: | |
| 48 | {{ if not .Values.global.msbDisabled -}}[ |
| 49 | { |
| 50 | "serviceName": "{{ include "common.servicename" . }}", |
| 51 | "version": "v1", |
| 52 | "url": "/", |
| 53 | "protocol": "REST", |
| 54 | "port": "{{ (index .Values.service.ports 0).port }}", |
| 55 | "visualRange": "1" |
| 56 | } |
| 57 | ]{{ end }} |
| 58 | ports: |
| 59 | - name: http |
| 60 | port: 9098 |
| 61 | flavor: small |
| 62 | resources: |
| 63 | small: |
| 64 | limits: |
| 65 | memory: 512Mi |
| 66 | cpu: 500m |
| 67 | requests: |
| 68 | memory: 256Mi |
| 69 | cpu: 250m |
| 70 | large: |
| 71 | limits: |
| 72 | memory: 8Gi |
| 73 | cpu: 4000m |
| 74 | requests: |
| 75 | memory: 2Gi |
| 76 | cpu: 1000m |
| 77 | unlimited: {} |
| 78 | livenessProbe: |
| 79 | port: 9098 |
| 80 | initialDelaySeconds: 600 |
| 81 | periodSeconds: 60 |
| 82 | timeoutSeconds: 10 |
| 83 | successThreshold: 1 |
| 84 | failureThreshold: 3 |
| 85 | nodeSelector: {} |
| 86 | tolerations: [] |
| 87 | affinity: {} |