Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / so / components / so-ve-vnfm-adapter / values.yaml
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.
14 #################################################################
15 # Global configuration defaults.
16 #################################################################
17 global:
18   persistence:
19     mountPath: /dockerdata-nfs
20
21 readinessCheck:
22   wait_for:
23     - aai
24     - message-router
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 image: onap/so/ve-vnfm-adapter:1.6.4
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",
43           "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}",
44           "visualRange": "1"
45         }
46       ]{{ end }}
47   ports:
48     - name: http
49       port: 9098
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
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: {}
87
88 #Pods Service Account
89 serviceAccount:
90   nameOverride: so-ve-vnfm-adapter
91   roles:
92     - read