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