blob: c2b0dcff7d025c0bb83324faa5b99b4b54152193 [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 Geisslerf51bbef2023-03-31 12:07:23 +020025 #This flag allows SO to instantiate its own mariadb-galera cluster
26 #When changing it to "true", also set "globalCluster: false"
27 #as the dependency check will not work otherwise (Chart.yaml)
dengyh9cb24cf2020-09-01 08:53:59 +080028 localCluster: false
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020029 globalCluster: true
dengyh9cb24cf2020-09-01 08:53:59 +080030 service: mariadb-galera
31 internalPort: 3306
32 nameOverride: mariadb-galera
33
Maciej Wereski172c0862021-11-15 11:34:06 +010034 centralizedLoggingEnabled: true
35
dengyh9cb24cf2020-09-01 08:53:59 +080036readinessCheck:
37 wait_for:
38 msb:
39 name: msb
40 containers:
41 - msb-iag
42
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010043#################################################################
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010044# Secrets metaconfig
45#################################################################
46secrets:
dengyh9cb24cf2020-09-01 08:53:59 +080047 - uid: modeling-db-secret
48 name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret'
49 type: basicAuth
50 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
51 login: '{{ .Values.config.db.userName }}'
52 password: '{{ .Values.config.db.userPassword }}'
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010053
54#################################################################
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010055# Dependencies configuration
56#################################################################
57
58mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010059 db:
60 externalSecret: *dbSecretName
61 name: &mysqlDbName etsicatalog
62 nameOverride: &modeling-db modeling-db
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010063 service:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010064 name: *modeling-db
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010065 internalPort: 3306
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010066 nfsprovisionerPrefix: modeling
67 persistence:
68 mountSubPath: modeling/data
69 enabled: true
70 disableNfsProvisioner: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010071 serviceAccount:
72 nameOverride: *modeling-db
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010073
dengyh9cb24cf2020-09-01 08:53:59 +080074mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010075 config:
76 userCredentialsExternalSecret: *dbSecretName
77 mysqlDatabase: *mysqlDbName
dengyh9cb24cf2020-09-01 08:53:59 +080078 # nameOverride should be the same with common.name
79 nameOverride: modeling-etsicatalog
80
yangyanyjb6ad3cb2019-05-05 23:54:08 +080081#################################################################
82# Application configuration defaults.
83#################################################################
dengyh9cb24cf2020-09-01 08:53:59 +080084config:
85 #application configuration about msb
86 ssl_enabled: false
dengyhd64fec42020-10-26 15:23:42 +080087 msb_enabled: false
AndrewLamb08eb9fa2022-07-06 15:51:19 +010088 msbProtocol: http
dengyh9cb24cf2020-09-01 08:53:59 +080089 msbServiceName: msb-iag
90 msbPort: 443
AndrewLamb08eb9fa2022-07-06 15:51:19 +010091 msbPlainPort: 80
92 sdcProtocol: http
dengyhd64fec42020-10-26 15:23:42 +080093 sdcServiceName: sdc-be
94 sdcPort: 8443
AndrewLamb08eb9fa2022-07-06 15:51:19 +010095 sdcPlainPort: 8080
dengyhd64fec42020-10-26 15:23:42 +080096 dmaap_enabled: false
AndrewLamb08eb9fa2022-07-06 15:51:19 +010097 dmaapProtocol: http
dengyhd64fec42020-10-26 15:23:42 +080098 dmaapServiceName: message-router-external
99 dmaapPort: 3905
100
dengyh9cb24cf2020-09-01 08:53:59 +0800101 #application configuration user password about mariadb
102 db:
103 userName: etsicatalog
104 # userPassword: password
105 # userCredentialsExternalSecret: some-secret
106
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800107# application image
108flavor: small
109
dengyh8e291342022-04-13 08:59:48 +0800110image: onap/modeling/etsicatalog:1.0.14
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800111pullPolicy: Always
112
113#Istio sidecar injection policy
114istioSidecar: true
115
116# flag to enable debugging - application support required
117debugEnabled: false
118
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800119# default number of instances
120replicaCount: 1
121
122nodeSelector: {}
123
124affinity: {}
125
126# probe configuration parameters
127liveness:
128 initialDelaySeconds: 120
129 periodSeconds: 10
130 # necessary to disable liveness probe when setting breakpoints
131 # in debugger so K8s doesn't restart unresponsive container
132 enabled: true
133
134readiness:
135 initialDelaySeconds: 10
136 periodSeconds: 10
137
138## Persist data to a persitent volume
139persistence:
140 enabled: true
141 ## A manually managed Persistent Volume and Claim
142 ## Requires persistence.enabled: true
143 ## If defined, PVC must be created manually before volume will be bound
144 # existingClaim:
145 volumeReclaimPolicy: Retain
146 ## database data Persistent Volume Storage Class
147 ## If defined, storageClassName: <storageClass>
148 ## If set to "-", storageClassName: "", which disables dynamic provisioning
149 ## If undefined (the default) or set to null, no storageClassName spec is
150 ## set, choosing the default provisioner. (gp2 on AWS, standard on
151 ## GKE, AWS & OpenStack)
152 ##
153 # storageClass: "-"
Sylvain Desbureaux3bcc5102019-09-02 15:03:59 +0200154 accessMode: ReadWriteOnce
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800155 size: 2Gi
156 mountPath: /dockerdata-nfs
dyh7d604452019-09-23 15:54:48 +0800157 mountSubPath: modeling/etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800158
159service:
160 type: ClusterIP
dyh7d604452019-09-23 15:54:48 +0800161 name: modeling-etsicatalog
AndrewLamb08eb9fa2022-07-06 15:51:19 +0100162 portName: http
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800163 externalPort: 8806
164 internalPort: 8806
165# nodePort: 30806
166
167ingress:
168 enabled: false
169
170# Configure resource requests and limits
171resources:
172 small:
173 limits:
174 cpu: 200m
175 memory: 500Mi
176 requests:
177 cpu: 100m
178 memory: 250Mi
179 large:
180 limits:
181 cpu: 400m
182 memory: 1000Mi
183 requests:
184 cpu: 200m
185 memory: 500Mi
186 unlimited: {}
farida azmy24f41432021-10-11 11:45:25 +0200187
188#Pods Service Account
189serviceAccount:
190 nameOverride: modeling-etsicatalog
191 roles:
192 - read
Maciej Wereski172c0862021-11-15 11:34:06 +0100193
194#Log configuration
195log:
196 path: /var/log/onap