blob: ddd82c9696d24c106d980005df810945941a1a86 [file] [log] [blame]
yangyanyjb6ad3cb2019-05-05 23:54:08 +08001# Copyright © 2017 Amdocs, Bell Canada
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#################################################################
18global:
19 nodePortPrefix: 302
yangyanyjb6ad3cb2019-05-05 23:54:08 +080020
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010021 persistence:
22 mountPath: /dockerdata-nfs
23
dengyh9cb24cf2020-09-01 08:53:59 +080024 mariadbGalera:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010025 # flag to enable the DB creation via mariadb-operator
26 useOperator: true
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020027 #This flag allows SO to instantiate its own mariadb-galera cluster
28 #When changing it to "true", also set "globalCluster: false"
29 #as the dependency check will not work otherwise (Chart.yaml)
dengyh9cb24cf2020-09-01 08:53:59 +080030 localCluster: false
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020031 globalCluster: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020032 service: mariadb-galera
dengyh9cb24cf2020-09-01 08:53:59 +080033 internalPort: 3306
34 nameOverride: mariadb-galera
35
Maciej Wereski172c0862021-11-15 11:34:06 +010036 centralizedLoggingEnabled: true
37
dengyh9cb24cf2020-09-01 08:53:59 +080038readinessCheck:
39 wait_for:
40 msb:
41 name: msb
42 containers:
43 - msb-iag
44
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010045#################################################################
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010046# Secrets metaconfig
47#################################################################
48secrets:
dengyh9cb24cf2020-09-01 08:53:59 +080049 - uid: modeling-db-secret
50 name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret'
51 type: basicAuth
52 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
53 login: '{{ .Values.config.db.userName }}'
54 password: '{{ .Values.config.db.userPassword }}'
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010055
56#################################################################
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010057# Dependencies configuration
58#################################################################
59
60mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010061 db:
Andreas Geissler72caf092023-12-14 13:37:39 +010062 user: &dbUser etsicatalog
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010063 externalSecret: *dbSecretName
64 name: &mysqlDbName etsicatalog
65 nameOverride: &modeling-db modeling-db
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010066 service:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010067 name: *modeling-db
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010068 internalPort: 3306
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010069 nfsprovisionerPrefix: modeling
70 persistence:
71 mountSubPath: modeling/data
72 enabled: true
73 disableNfsProvisioner: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010074 serviceAccount:
75 nameOverride: *modeling-db
Andreas Geisslercfd84342023-08-16 17:18:49 +020076 replicaCount: 1
77 mariadbOperator:
78 galera:
79 enabled: false
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010080
dengyh9cb24cf2020-09-01 08:53:59 +080081mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010082 config:
83 userCredentialsExternalSecret: *dbSecretName
84 mysqlDatabase: *mysqlDbName
dengyh9cb24cf2020-09-01 08:53:59 +080085 # nameOverride should be the same with common.name
vladimir turokd8044182023-07-27 16:28:36 +020086 nameOverride: etsicatalog-db
87 serviceAccount:
88 nameOverride: etsicatalog-db
dengyh9cb24cf2020-09-01 08:53:59 +080089
yangyanyjb6ad3cb2019-05-05 23:54:08 +080090#################################################################
91# Application configuration defaults.
92#################################################################
dengyh9cb24cf2020-09-01 08:53:59 +080093config:
94 #application configuration about msb
95 ssl_enabled: false
dengyhd64fec42020-10-26 15:23:42 +080096 msb_enabled: false
AndrewLamb08eb9fa2022-07-06 15:51:19 +010097 msbProtocol: http
dengyh9cb24cf2020-09-01 08:53:59 +080098 msbServiceName: msb-iag
99 msbPort: 443
AndrewLamb08eb9fa2022-07-06 15:51:19 +0100100 msbPlainPort: 80
101 sdcProtocol: http
dengyhd64fec42020-10-26 15:23:42 +0800102 sdcServiceName: sdc-be
103 sdcPort: 8443
AndrewLamb08eb9fa2022-07-06 15:51:19 +0100104 sdcPlainPort: 8080
dengyhd64fec42020-10-26 15:23:42 +0800105 dmaap_enabled: false
AndrewLamb08eb9fa2022-07-06 15:51:19 +0100106 dmaapProtocol: http
dengyhd64fec42020-10-26 15:23:42 +0800107 dmaapServiceName: message-router-external
108 dmaapPort: 3905
109
dengyh9cb24cf2020-09-01 08:53:59 +0800110 #application configuration user password about mariadb
111 db:
Andreas Geissler72caf092023-12-14 13:37:39 +0100112 userName: *dbUser
dengyh9cb24cf2020-09-01 08:53:59 +0800113 # userPassword: password
114 # userCredentialsExternalSecret: some-secret
115
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800116# application image
117flavor: small
118
dengyh8e291342022-04-13 08:59:48 +0800119image: onap/modeling/etsicatalog:1.0.14
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800120pullPolicy: Always
121
122#Istio sidecar injection policy
123istioSidecar: true
124
125# flag to enable debugging - application support required
126debugEnabled: false
127
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800128# default number of instances
129replicaCount: 1
130
131nodeSelector: {}
132
133affinity: {}
134
135# probe configuration parameters
136liveness:
137 initialDelaySeconds: 120
138 periodSeconds: 10
139 # necessary to disable liveness probe when setting breakpoints
140 # in debugger so K8s doesn't restart unresponsive container
141 enabled: true
142
143readiness:
144 initialDelaySeconds: 10
145 periodSeconds: 10
146
147## Persist data to a persitent volume
148persistence:
149 enabled: true
150 ## A manually managed Persistent Volume and Claim
151 ## Requires persistence.enabled: true
152 ## If defined, PVC must be created manually before volume will be bound
153 # existingClaim:
154 volumeReclaimPolicy: Retain
155 ## database data Persistent Volume Storage Class
156 ## If defined, storageClassName: <storageClass>
157 ## If set to "-", storageClassName: "", which disables dynamic provisioning
158 ## If undefined (the default) or set to null, no storageClassName spec is
159 ## set, choosing the default provisioner. (gp2 on AWS, standard on
160 ## GKE, AWS & OpenStack)
161 ##
162 # storageClass: "-"
Sylvain Desbureaux3bcc5102019-09-02 15:03:59 +0200163 accessMode: ReadWriteOnce
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800164 size: 2Gi
165 mountPath: /dockerdata-nfs
dyh7d604452019-09-23 15:54:48 +0800166 mountSubPath: modeling/etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800167
168service:
169 type: ClusterIP
dyh7d604452019-09-23 15:54:48 +0800170 name: modeling-etsicatalog
AndrewLamb08eb9fa2022-07-06 15:51:19 +0100171 portName: http
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800172 externalPort: 8806
173 internalPort: 8806
174# nodePort: 30806
175
176ingress:
177 enabled: false
178
179# Configure resource requests and limits
180resources:
181 small:
182 limits:
183 cpu: 200m
184 memory: 500Mi
185 requests:
186 cpu: 100m
187 memory: 250Mi
188 large:
189 limits:
190 cpu: 400m
191 memory: 1000Mi
192 requests:
193 cpu: 200m
194 memory: 500Mi
195 unlimited: {}
farida azmy24f41432021-10-11 11:45:25 +0200196
197#Pods Service Account
198serviceAccount:
199 nameOverride: modeling-etsicatalog
200 roles:
201 - read
Maciej Wereski172c0862021-11-15 11:34:06 +0100202
203#Log configuration
204log:
205 path: /var/log/onap