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: |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 18 | persistence: |
| 19 | mountPath: /dockerdata-nfs |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 20 | |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 21 | readinessCheck: |
| 22 | wait_for: |
| 23 | - aai |
| 24 | - message-router |
| 25 | |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 26 | ################################################################# |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 27 | # Application configuration defaults. |
| 28 | ################################################################# |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 29 | image: onap/so/ve-vnfm-adapter:1.6.4 |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | replicaCount: 1 |
| 32 | service: |
| 33 | name: ve-vnfm-adapter |
| 34 | type: ClusterIP |
| 35 | annotations: |
| 36 | msb.onap.org/service-info: | |
| 37 | {{ if not .Values.global.msbDisabled -}}[ |
| 38 | { |
| 39 | "serviceName": "{{ include "common.servicename" . }}", |
| 40 | "version": "v1", |
| 41 | "url": "/", |
| 42 | "protocol": "REST", |
Krzysztof Opasiak | 28d372a | 2020-09-09 13:14:27 +0200 | [diff] [blame] | 43 | "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}", |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 44 | "visualRange": "1" |
| 45 | } |
| 46 | ]{{ end }} |
| 47 | ports: |
| 48 | - name: http |
| 49 | port: 9098 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 50 | |
| 51 | ################################################################# |
| 52 | # soHelpers part |
| 53 | ################################################################# |
| 54 | soHelpers: |
| 55 | nameOverride: so-vevnfm-cert-init |
| 56 | certInitializer: |
| 57 | nameOverride: so-vevnfm-cert-init |
| 58 | credsPath: /opt/app/osaaf/local |
| 59 | |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 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: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 87 | |
| 88 | #Pods Service Account |
| 89 | serviceAccount: |
| 90 | nameOverride: so-ve-vnfm-adapter |
| 91 | roles: |
| 92 | - read |