blob: 21abce3ddaf040afdbe3094e0b4d540facdc04da [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
AndrewLamb08eb9fa2022-07-06 15:51:19 +010085 msbProtocol: http
dengyh9cb24cf2020-09-01 08:53:59 +080086 msbServiceName: msb-iag
87 msbPort: 443
AndrewLamb08eb9fa2022-07-06 15:51:19 +010088 msbPlainPort: 80
89 sdcProtocol: http
dengyhd64fec42020-10-26 15:23:42 +080090 sdcServiceName: sdc-be
91 sdcPort: 8443
AndrewLamb08eb9fa2022-07-06 15:51:19 +010092 sdcPlainPort: 8080
dengyhd64fec42020-10-26 15:23:42 +080093 dmaap_enabled: false
AndrewLamb08eb9fa2022-07-06 15:51:19 +010094 dmaapProtocol: http
dengyhd64fec42020-10-26 15:23:42 +080095 dmaapServiceName: message-router-external
96 dmaapPort: 3905
97
dengyh9cb24cf2020-09-01 08:53:59 +080098 #application configuration user password about mariadb
99 db:
100 userName: etsicatalog
101 # userPassword: password
102 # userCredentialsExternalSecret: some-secret
103
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800104# application image
105flavor: small
106
dengyh8e291342022-04-13 08:59:48 +0800107image: onap/modeling/etsicatalog:1.0.14
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800108pullPolicy: Always
109
110#Istio sidecar injection policy
111istioSidecar: true
112
113# flag to enable debugging - application support required
114debugEnabled: false
115
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800116# default number of instances
117replicaCount: 1
118
119nodeSelector: {}
120
121affinity: {}
122
123# probe configuration parameters
124liveness:
125 initialDelaySeconds: 120
126 periodSeconds: 10
127 # necessary to disable liveness probe when setting breakpoints
128 # in debugger so K8s doesn't restart unresponsive container
129 enabled: true
130
131readiness:
132 initialDelaySeconds: 10
133 periodSeconds: 10
134
135## Persist data to a persitent volume
136persistence:
137 enabled: true
138 ## A manually managed Persistent Volume and Claim
139 ## Requires persistence.enabled: true
140 ## If defined, PVC must be created manually before volume will be bound
141 # existingClaim:
142 volumeReclaimPolicy: Retain
143 ## database data Persistent Volume Storage Class
144 ## If defined, storageClassName: <storageClass>
145 ## If set to "-", storageClassName: "", which disables dynamic provisioning
146 ## If undefined (the default) or set to null, no storageClassName spec is
147 ## set, choosing the default provisioner. (gp2 on AWS, standard on
148 ## GKE, AWS & OpenStack)
149 ##
150 # storageClass: "-"
Sylvain Desbureaux3bcc5102019-09-02 15:03:59 +0200151 accessMode: ReadWriteOnce
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800152 size: 2Gi
153 mountPath: /dockerdata-nfs
dyh7d604452019-09-23 15:54:48 +0800154 mountSubPath: modeling/etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800155
156service:
157 type: ClusterIP
dyh7d604452019-09-23 15:54:48 +0800158 name: modeling-etsicatalog
AndrewLamb08eb9fa2022-07-06 15:51:19 +0100159 portName: http
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800160 externalPort: 8806
161 internalPort: 8806
162# nodePort: 30806
163
164ingress:
165 enabled: false
166
167# Configure resource requests and limits
168resources:
169 small:
170 limits:
171 cpu: 200m
172 memory: 500Mi
173 requests:
174 cpu: 100m
175 memory: 250Mi
176 large:
177 limits:
178 cpu: 400m
179 memory: 1000Mi
180 requests:
181 cpu: 200m
182 memory: 500Mi
183 unlimited: {}
farida azmy24f41432021-10-11 11:45:25 +0200184
185#Pods Service Account
186serviceAccount:
187 nameOverride: modeling-etsicatalog
188 roles:
189 - read
Maciej Wereski172c0862021-11-15 11:34:06 +0100190
191#Log configuration
192log:
193 path: /var/log/onap