183e7f60a7349e235b7ac3a397ee33e1d644d5c7
[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 flavor: small
52 resources:
53   small:
54     limits:
55       memory: 1Gi
56       cpu: 1
57     requests:
58       memory: 1Gi
59       cpu: 0.5
60   large:
61     limits:
62       memory: 2Gi
63       cpu: 2
64     requests:
65       memory: 2Gi
66       cpu: 1
67   unlimited: {}
68 livenessProbe:
69   port: 9098
70   initialDelaySeconds: 600
71   periodSeconds: 60
72   timeoutSeconds: 10
73   successThreshold: 1
74   failureThreshold: 3
75 nodeSelector: {}
76 tolerations: []
77 affinity: {}
78
79 serviceMesh:
80   authorizationPolicy:
81     authorizedPrincipals:
82       - serviceAccount: so-read
83
84 #Pods Service Account
85 serviceAccount:
86   nameOverride: so-ve-vnfm-adapter
87   roles:
88     - read