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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 19 | readinessImage: onap/oom/readiness:3.0.1 |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 20 | persistence: |
| 21 | mountPath: /dockerdata-nfs |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 22 | |
| 23 | ################################################################# |
| 24 | # Secrets metaconfig |
| 25 | ################################################################# |
| 26 | secrets: |
| 27 | - uid: "so-onap-certs" |
| 28 | externalSecret: '{{ tpl (default "" .Values.certSecret) . }}' |
| 29 | type: generic |
| 30 | filePaths: '{{ .Values.secretsFilePaths }}' |
| 31 | |
| 32 | #secretsFilePaths: | |
| 33 | # - 'my file 1' |
| 34 | # - '{{ include "templateThatGeneratesFileName" . }}' |
| 35 | |
| 36 | ################################################################# |
| 37 | # Application configuration defaults. |
| 38 | ################################################################# |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 39 | image: onap/so/ve-vnfm-adapter:1.6.4 |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 40 | pullPolicy: Always |
| 41 | replicaCount: 1 |
| 42 | service: |
| 43 | name: ve-vnfm-adapter |
| 44 | type: ClusterIP |
| 45 | annotations: |
| 46 | msb.onap.org/service-info: | |
| 47 | {{ if not .Values.global.msbDisabled -}}[ |
| 48 | { |
| 49 | "serviceName": "{{ include "common.servicename" . }}", |
| 50 | "version": "v1", |
| 51 | "url": "/", |
| 52 | "protocol": "REST", |
Krzysztof Opasiak | 28d372a | 2020-09-09 13:14:27 +0200 | [diff] [blame] | 53 | "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}", |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 54 | "visualRange": "1" |
| 55 | } |
| 56 | ]{{ end }} |
| 57 | ports: |
| 58 | - name: http |
| 59 | port: 9098 |
| 60 | flavor: small |
| 61 | resources: |
| 62 | small: |
| 63 | limits: |
| 64 | memory: 512Mi |
| 65 | cpu: 500m |
| 66 | requests: |
| 67 | memory: 256Mi |
| 68 | cpu: 250m |
| 69 | large: |
| 70 | limits: |
| 71 | memory: 8Gi |
| 72 | cpu: 4000m |
| 73 | requests: |
| 74 | memory: 2Gi |
| 75 | cpu: 1000m |
| 76 | unlimited: {} |
| 77 | livenessProbe: |
| 78 | port: 9098 |
| 79 | initialDelaySeconds: 600 |
| 80 | periodSeconds: 60 |
| 81 | timeoutSeconds: 10 |
| 82 | successThreshold: 1 |
| 83 | failureThreshold: 3 |
| 84 | nodeSelector: {} |
| 85 | tolerations: [] |
| 86 | affinity: {} |