Merge "[AAI] Add model-loader tracing config"
[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     services:
24       - aai
25       - message-router
26
27 #################################################################
28 # Application configuration defaults.
29 #################################################################
30 image: onap/so/ve-vnfm-adapter:1.6.4
31 pullPolicy: Always
32 replicaCount: 1
33 service:
34   name: ve-vnfm-adapter
35   type: ClusterIP
36   annotations:
37     msb.onap.org/service-info: |
38       {{ if not .Values.global.msbDisabled -}}[
39         {
40           "serviceName": "{{ include "common.servicename" . }}",
41           "version": "v1",
42           "url": "/",
43           "protocol": "REST",
44           "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}",
45           "visualRange": "1"
46         }
47       ]{{ end }}
48   ports:
49     - name: http
50       port: 9098
51
52 flavor: small
53 resources:
54   small:
55     limits:
56       cpu: "1"
57       memory: "1Gi"
58     requests:
59       cpu: "0.5"
60       memory: "1Gi"
61   large:
62     limits:
63       cpu: "2"
64       memory: "2Gi"
65     requests:
66       cpu: "1"
67       memory: "2Gi"
68   unlimited: {}
69 livenessProbe:
70   port: 9098
71   initialDelaySeconds: 600
72   periodSeconds: 60
73   timeoutSeconds: 10
74   successThreshold: 1
75   failureThreshold: 3
76 nodeSelector: {}
77 tolerations: []
78 affinity: {}
79
80 serviceMesh:
81   authorizationPolicy:
82     authorizedPrincipals:
83       - serviceAccount: so-read
84
85 #Pods Service Account
86 serviceAccount:
87   nameOverride: so-ve-vnfm-adapter
88   roles:
89     - read