Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / multicloud / components / multicloud-vio / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/multicloud/vio:1.4.2
27 pullPolicy: Always
28
29 # application configuration
30 config:
31   msbgateway: msb-iag
32   msbPort: 80
33   aai:
34     aaiPort: 80
35     schemaVersion: v13
36     username: AAI
37     password: AAI
38
39 # default number of instances
40 replicaCount: 1
41
42 nodeSelector: {}
43
44 affinity: {}
45
46 # probe configuration parameters
47 liveness:
48   initialDelaySeconds: 30
49   periodSeconds: 10
50   timeoutSeconds: 10
51   successThreshold: 1
52   failureThreshold: 5
53   enabled: true
54
55 service:
56   type: NodePort
57   internalPort: 9004
58   ports:
59     - name: http
60       port: 9004
61       nodePort: '92'
62   annotations:
63     msb.onap.org/service-info: |
64       {{ if .Values.global.msbEnabled -}}[
65         {
66           "serviceName": "multicloud-vio",
67           "version": "v0",
68           "url": "/api/multicloud-vio/v0",
69           "protocol": "REST",
70           "port": "{{ .Values.service.internalPort }}",
71           "enable_ssl": false,
72           "visualRange": "1"
73         },
74         {
75           "serviceName": "multicloud-vio",
76           "version": "v1",
77           "url": "/api/multicloud-vio/v1",
78           "protocol": "REST",
79           "port": "{{ .Values.service.internalPort }}",
80           "enable_ssl": false,
81           "visualRange": "1"
82         }
83       ]{{ end }}
84
85 ingress:
86   enabled: false
87   service:
88     - baseaddr: 'multicloud-vio-api'
89       name: 'multicloud-vio'
90       port: 9004
91
92 # Resource Limit flavor -By Default using small
93 flavor: small
94 # Segregation for Different environment (Small and Large)
95 resources:
96   small:
97     limits:
98       cpu: "1"
99       memory: "4Gi"
100     requests:
101       cpu: "10m"
102       memory: "1Gi"
103   large:
104     limits:
105       cpu: "2"
106       memory: "8Gi"
107     requests:
108       cpu: "20m"
109       memory: "2Gi"
110   unlimited: {}
111
112 #Pods Service Account
113 serviceAccount:
114   nameOverride: multicloud-vio
115   roles:
116     - read
117
118 #Log configuration
119 log:
120   path: /var/log/onap
121 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'