blob: 61df057fdbe711d0c966e8f7d7bdfcbae0bfb0f1 [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:
25 #This flag allows Modeling to instantiate its own mariadb-galera cluster
26 localCluster: false
27 service: mariadb-galera
28 internalPort: 3306
29 nameOverride: mariadb-galera
30
Maciej Wereski172c0862021-11-15 11:34:06 +010031 centralizedLoggingEnabled: true
32
dengyh9cb24cf2020-09-01 08:53:59 +080033readinessCheck:
34 wait_for:
35 msb:
36 name: msb
37 containers:
38 - msb-iag
39
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010040#################################################################
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010041# Secrets metaconfig
42#################################################################
43secrets:
dengyh9cb24cf2020-09-01 08:53:59 +080044 - uid: modeling-db-secret
45 name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret'
46 type: basicAuth
47 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
48 login: '{{ .Values.config.db.userName }}'
49 password: '{{ .Values.config.db.userPassword }}'
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010050
51#################################################################
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010052# Dependencies configuration
53#################################################################
54
55mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010056 db:
57 externalSecret: *dbSecretName
58 name: &mysqlDbName etsicatalog
59 nameOverride: &modeling-db modeling-db
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010060 service:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010061 name: *modeling-db
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010062 internalPort: 3306
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010063 nfsprovisionerPrefix: modeling
64 persistence:
65 mountSubPath: modeling/data
66 enabled: true
67 disableNfsProvisioner: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010068 serviceAccount:
69 nameOverride: *modeling-db
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010070
dengyh9cb24cf2020-09-01 08:53:59 +080071mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010072 config:
73 userCredentialsExternalSecret: *dbSecretName
74 mysqlDatabase: *mysqlDbName
dengyh9cb24cf2020-09-01 08:53:59 +080075 # nameOverride should be the same with common.name
76 nameOverride: modeling-etsicatalog
77
yangyanyjb6ad3cb2019-05-05 23:54:08 +080078#################################################################
79# Application configuration defaults.
80#################################################################
dengyh9cb24cf2020-09-01 08:53:59 +080081config:
82 #application configuration about msb
83 ssl_enabled: false
dengyhd64fec42020-10-26 15:23:42 +080084 msb_enabled: false
dengyh9cb24cf2020-09-01 08:53:59 +080085 msbProtocol: https
86 msbServiceName: msb-iag
87 msbPort: 443
dengyhd64fec42020-10-26 15:23:42 +080088 sdcProtocol: https
89 sdcServiceName: sdc-be
90 sdcPort: 8443
91 dmaap_enabled: false
92 dmaapProtocol: https
93 dmaapServiceName: message-router-external
94 dmaapPort: 3905
95
dengyh9cb24cf2020-09-01 08:53:59 +080096 #application configuration user password about mariadb
97 db:
98 userName: etsicatalog
99 # userPassword: password
100 # userCredentialsExternalSecret: some-secret
101
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800102# application image
103flavor: small
104
dengyh8e291342022-04-13 08:59:48 +0800105image: onap/modeling/etsicatalog:1.0.14
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800106pullPolicy: Always
107
108#Istio sidecar injection policy
109istioSidecar: true
110
111# flag to enable debugging - application support required
112debugEnabled: false
113
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800114# default number of instances
115replicaCount: 1
116
117nodeSelector: {}
118
119affinity: {}
120
121# probe configuration parameters
122liveness:
123 initialDelaySeconds: 120
124 periodSeconds: 10
125 # necessary to disable liveness probe when setting breakpoints
126 # in debugger so K8s doesn't restart unresponsive container
127 enabled: true
128
129readiness:
130 initialDelaySeconds: 10
131 periodSeconds: 10
132
133## Persist data to a persitent volume
134persistence:
135 enabled: true
136 ## A manually managed Persistent Volume and Claim
137 ## Requires persistence.enabled: true
138 ## If defined, PVC must be created manually before volume will be bound
139 # existingClaim:
140 volumeReclaimPolicy: Retain
141 ## database data Persistent Volume Storage Class
142 ## If defined, storageClassName: <storageClass>
143 ## If set to "-", storageClassName: "", which disables dynamic provisioning
144 ## If undefined (the default) or set to null, no storageClassName spec is
145 ## set, choosing the default provisioner. (gp2 on AWS, standard on
146 ## GKE, AWS & OpenStack)
147 ##
148 # storageClass: "-"
Sylvain Desbureaux3bcc5102019-09-02 15:03:59 +0200149 accessMode: ReadWriteOnce
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800150 size: 2Gi
151 mountPath: /dockerdata-nfs
dyh7d604452019-09-23 15:54:48 +0800152 mountSubPath: modeling/etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800153
154service:
155 type: ClusterIP
dyh7d604452019-09-23 15:54:48 +0800156 name: modeling-etsicatalog
157 portName: modeling-etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800158 externalPort: 8806
159 internalPort: 8806
160# nodePort: 30806
161
162ingress:
163 enabled: false
164
165# Configure resource requests and limits
166resources:
167 small:
168 limits:
169 cpu: 200m
170 memory: 500Mi
171 requests:
172 cpu: 100m
173 memory: 250Mi
174 large:
175 limits:
176 cpu: 400m
177 memory: 1000Mi
178 requests:
179 cpu: 200m
180 memory: 500Mi
181 unlimited: {}
farida azmy24f41432021-10-11 11:45:25 +0200182
183#Pods Service Account
184serviceAccount:
185 nameOverride: modeling-etsicatalog
186 roles:
187 - read
Maciej Wereski172c0862021-11-15 11:34:06 +0100188
189#Log configuration
190log:
191 path: /var/log/onap