Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / multicloud / components / multicloud-fcaps / values.yaml
1 # Copyright (c) 2019, CMCC Technologies Co., Ltd.
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 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefixExt: 304
20
21 #################################################################
22 # Application configuration defaults.
23 #################################################################
24 # application image
25 image: onap/multicloud/openstack-fcaps:1.5.7
26 pullPolicy: Always
27
28 #Istio sidecar injection policy
29 istioSidecar: true
30
31 # application configuration
32 config:
33   msbgateway: msb-iag
34   msbPort: 80
35   aai:
36     aaiPort: 80
37     schemaVersion: v13
38     username: AAI
39     password: AAI
40
41 # default number of instances
42 replicaCount: 1
43
44 nodeSelector: {}
45
46 affinity: {}
47
48 # probe configuration parameters
49 liveness:
50   initialDelaySeconds: 30
51   periodSeconds: 10
52   timeoutSeconds: 10
53   successThreshold: 1
54   failureThreshold: 5
55   enabled: true
56
57 service:
58   type: NodePort
59   internalPort: 9011
60   ports:
61     - name: http
62       port: 9011
63       nodePort: '87'
64       useNodePortExt: true
65   annotations:
66     msb.onap.org/service-info: |
67       {{ if .Values.global.msbEnabled -}}[
68         {
69           "serviceName": "multicloud-fcaps",
70           "version": "v0",
71           "url": "/api/multicloud-fcaps/v0",
72           "protocol": "REST",
73           "port": "{{ .Values.service.internalPort }}",
74           "enable_ssl": false,
75           "visualRange": "1"
76         },
77         {
78           "serviceName": "multicloud-fcaps",
79           "version": "v1",
80           "url": "/api/multicloud-fcaps/v1",
81           "protocol": "REST",
82           "port": "{{ .Values.service.internalPort }}",
83           "enable_ssl": false,
84           "visualRange": "1"
85         }
86       ]{{ end }}
87
88 ingress:
89   enabled: false
90   service:
91     - baseaddr: 'multicloud-fcaps-api'
92       name: 'multicloud-fcaps'
93       port: 9011
94
95 # Resource Limit flavor -By Default using small
96 flavor: small
97 # Segregation for Different environment (Small and Large)
98 resources:
99   small:
100     limits:
101       cpu: "1"
102       memory: "4Gi"
103     requests:
104       cpu: "10m"
105       memory: "1Gi"
106   large:
107     limits:
108       cpu: "2"
109       memory: "8Gi"
110     requests:
111       cpu: "20m"
112       memory: "2Gi"
113   unlimited: {}
114
115 # rabbit-mq image resource
116 rabbitmq: rabbitmq:alpine
117
118 # memcached image resource
119 memcached: memcached:alpine3.15
120
121 #Pods Service Account
122 serviceAccount:
123   nameOverride: multicloud-fcaps
124   roles:
125     - read
126
127 #Log configuration
128 log:
129   path: /var/log/onap
130 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'