[MULTICLOUD] Cleanup charts and add Ingress configs
[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   annotations:
64     msb.onap.org/service-info: |
65       {{ if .Values.global.msbEnabled -}}[
66         {
67           "serviceName": "multicloud-starlingx",
68           "version": "v0",
69           "url": "/api/multicloud-starlingx/v0",
70           "protocol": "REST",
71           "port": "{{ .Values.service.internalPort }}",
72           "enable_ssl": false,
73           "visualRange": "1"
74         },
75         {
76           "serviceName": "multicloud-starlingx",
77           "version": "v1",
78           "url": "/api/multicloud-starlingx/v1",
79           "protocol": "REST",
80           "port": "{{ .Values.service.internalPort }}",
81           "enable_ssl": false,
82           "visualRange": "1"
83         }
84       ]{{ end }}
85
86 ingress:
87   enabled: false
88   service:
89     - baseaddr: 'multicloud-starlingx-api'
90       name: 'multicloud-starlingx'
91       port: 9009
92
93 # Resource Limit flavor -By Default using small
94 flavor: small
95 # Segregation for Different environment (Small and Large)
96 resources:
97   small:
98     limits:
99       cpu: 1
100       memory: 4Gi
101     requests:
102       cpu: 10m
103       memory: 1Gi
104   large:
105     limits:
106       cpu: 2
107       memory: 8Gi
108     requests:
109       cpu: 20m
110       memory: 2Gi
111   unlimited: {}
112
113 # memcached image resource
114 memcached: memcached:alpine3.15
115
116 #Pods Service Account
117 serviceAccount:
118   nameOverride: multicloud-starlingx
119   roles:
120     - read
121
122 #Log configuration
123 log:
124   path: /var/log/onap
125 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'