blob: c9e24fc07b833471544ad839bdb30ef6cbffeee1 [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
31readinessCheck:
32 wait_for:
33 msb:
34 name: msb
35 containers:
36 - msb-iag
37
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010038#################################################################
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010039# Secrets metaconfig
40#################################################################
41secrets:
dengyh9cb24cf2020-09-01 08:53:59 +080042 - uid: modeling-db-secret
43 name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret'
44 type: basicAuth
45 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
46 login: '{{ .Values.config.db.userName }}'
47 password: '{{ .Values.config.db.userPassword }}'
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010048
49#################################################################
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010050# Dependencies configuration
51#################################################################
52
53mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010054 db:
55 externalSecret: *dbSecretName
56 name: &mysqlDbName etsicatalog
57 nameOverride: &modeling-db modeling-db
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010058 service:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010059 name: *modeling-db
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010060 internalPort: 3306
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010061 nfsprovisionerPrefix: modeling
62 persistence:
63 mountSubPath: modeling/data
64 enabled: true
65 disableNfsProvisioner: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010066 serviceAccount:
67 nameOverride: *modeling-db
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010068
dengyh9cb24cf2020-09-01 08:53:59 +080069mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010070 config:
71 userCredentialsExternalSecret: *dbSecretName
72 mysqlDatabase: *mysqlDbName
dengyh9cb24cf2020-09-01 08:53:59 +080073 # nameOverride should be the same with common.name
74 nameOverride: modeling-etsicatalog
75
yangyanyjb6ad3cb2019-05-05 23:54:08 +080076#################################################################
77# Application configuration defaults.
78#################################################################
dengyh9cb24cf2020-09-01 08:53:59 +080079config:
80 #application configuration about msb
81 ssl_enabled: false
dengyhd64fec42020-10-26 15:23:42 +080082 msb_enabled: false
dengyh9cb24cf2020-09-01 08:53:59 +080083 msbProtocol: https
84 msbServiceName: msb-iag
85 msbPort: 443
dengyhd64fec42020-10-26 15:23:42 +080086 sdcProtocol: https
87 sdcServiceName: sdc-be
88 sdcPort: 8443
89 dmaap_enabled: false
90 dmaapProtocol: https
91 dmaapServiceName: message-router-external
92 dmaapPort: 3905
93
dengyh9cb24cf2020-09-01 08:53:59 +080094 #application configuration user password about mariadb
95 db:
96 userName: etsicatalog
97 # userPassword: password
98 # userCredentialsExternalSecret: some-secret
99
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800100# application image
101flavor: small
102
dyh8cd7c442021-03-03 18:08:47 +0800103image: onap/modeling/etsicatalog:1.0.10
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800104pullPolicy: Always
105
106#Istio sidecar injection policy
107istioSidecar: true
108
109# flag to enable debugging - application support required
110debugEnabled: false
111
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800112# default number of instances
113replicaCount: 1
114
115nodeSelector: {}
116
117affinity: {}
118
119# probe configuration parameters
120liveness:
121 initialDelaySeconds: 120
122 periodSeconds: 10
123 # necessary to disable liveness probe when setting breakpoints
124 # in debugger so K8s doesn't restart unresponsive container
125 enabled: true
126
127readiness:
128 initialDelaySeconds: 10
129 periodSeconds: 10
130
131## Persist data to a persitent volume
132persistence:
133 enabled: true
134 ## A manually managed Persistent Volume and Claim
135 ## Requires persistence.enabled: true
136 ## If defined, PVC must be created manually before volume will be bound
137 # existingClaim:
138 volumeReclaimPolicy: Retain
139 ## database data Persistent Volume Storage Class
140 ## If defined, storageClassName: <storageClass>
141 ## If set to "-", storageClassName: "", which disables dynamic provisioning
142 ## If undefined (the default) or set to null, no storageClassName spec is
143 ## set, choosing the default provisioner. (gp2 on AWS, standard on
144 ## GKE, AWS & OpenStack)
145 ##
146 # storageClass: "-"
Sylvain Desbureaux3bcc5102019-09-02 15:03:59 +0200147 accessMode: ReadWriteOnce
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800148 size: 2Gi
149 mountPath: /dockerdata-nfs
dyh7d604452019-09-23 15:54:48 +0800150 mountSubPath: modeling/etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800151
152service:
153 type: ClusterIP
dyh7d604452019-09-23 15:54:48 +0800154 name: modeling-etsicatalog
155 portName: modeling-etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800156 externalPort: 8806
157 internalPort: 8806
158# nodePort: 30806
159
160ingress:
161 enabled: false
162
163# Configure resource requests and limits
164resources:
165 small:
166 limits:
167 cpu: 200m
168 memory: 500Mi
169 requests:
170 cpu: 100m
171 memory: 250Mi
172 large:
173 limits:
174 cpu: 400m
175 memory: 1000Mi
176 requests:
177 cpu: 200m
178 memory: 500Mi
179 unlimited: {}