blob: 5926584ef9d9f3674ff429b4ce9e0343509ef298 [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020020 readinessImage: onap/oom/readiness:3.0.1
yangyanyjb6ad3cb2019-05-05 23:54:08 +080021 loggingRepository: docker.elastic.co
22 loggingImage: beats/filebeat:5.5.0
23
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010024 persistence:
25 mountPath: /dockerdata-nfs
26
dengyh9cb24cf2020-09-01 08:53:59 +080027 mariadbGalera:
28 #This flag allows Modeling to instantiate its own mariadb-galera cluster
29 localCluster: false
30 service: mariadb-galera
31 internalPort: 3306
32 nameOverride: mariadb-galera
33
34readinessCheck:
35 wait_for:
36 msb:
37 name: msb
38 containers:
39 - msb-iag
40
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010041#################################################################
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010042# Secrets metaconfig
43#################################################################
44secrets:
dengyh9cb24cf2020-09-01 08:53:59 +080045 - uid: modeling-db-secret
46 name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret'
47 type: basicAuth
48 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
49 login: '{{ .Values.config.db.userName }}'
50 password: '{{ .Values.config.db.userPassword }}'
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010051
52#################################################################
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010053# Dependencies configuration
54#################################################################
55
56mariadb-galera:
dengyh9cb24cf2020-09-01 08:53:59 +080057 config: &mariadbConfig
58 userCredentialsExternalSecret: *dbSecretName
59 mysqlDatabase: etsicatalog
60 nameOverride: modeling-db
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010061 service:
62 name: modeling-db
63 portName: modeling-db
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010064 internalPort: 3306
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010065 nfsprovisionerPrefix: modeling
66 persistence:
67 mountSubPath: modeling/data
68 enabled: true
69 disableNfsProvisioner: true
70
dengyh9cb24cf2020-09-01 08:53:59 +080071mariadb-init:
72 config: *mariadbConfig
73 # 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
82 msbProtocol: https
83 msbServiceName: msb-iag
84 msbPort: 443
85 #application configuration user password about mariadb
86 db:
87 userName: etsicatalog
88 # userPassword: password
89 # userCredentialsExternalSecret: some-secret
90
yangyanyjb6ad3cb2019-05-05 23:54:08 +080091# application image
92flavor: small
93
94repository: nexus3.onap.org:10001
dengyh9cb24cf2020-09-01 08:53:59 +080095image: onap/modeling/etsicatalog:1.0.7
dengyhb1056822020-07-13 14:30:34 +080096initImage: busybox:latest
yangyanyjb6ad3cb2019-05-05 23:54:08 +080097pullPolicy: Always
98
99#Istio sidecar injection policy
100istioSidecar: true
101
102# flag to enable debugging - application support required
103debugEnabled: false
104
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800105# default number of instances
106replicaCount: 1
107
108nodeSelector: {}
109
110affinity: {}
111
112# probe configuration parameters
113liveness:
114 initialDelaySeconds: 120
115 periodSeconds: 10
116 # necessary to disable liveness probe when setting breakpoints
117 # in debugger so K8s doesn't restart unresponsive container
118 enabled: true
119
120readiness:
121 initialDelaySeconds: 10
122 periodSeconds: 10
123
124## Persist data to a persitent volume
125persistence:
126 enabled: true
127 ## A manually managed Persistent Volume and Claim
128 ## Requires persistence.enabled: true
129 ## If defined, PVC must be created manually before volume will be bound
130 # existingClaim:
131 volumeReclaimPolicy: Retain
132 ## database data Persistent Volume Storage Class
133 ## If defined, storageClassName: <storageClass>
134 ## If set to "-", storageClassName: "", which disables dynamic provisioning
135 ## If undefined (the default) or set to null, no storageClassName spec is
136 ## set, choosing the default provisioner. (gp2 on AWS, standard on
137 ## GKE, AWS & OpenStack)
138 ##
139 # storageClass: "-"
Sylvain Desbureaux3bcc5102019-09-02 15:03:59 +0200140 accessMode: ReadWriteOnce
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800141 size: 2Gi
142 mountPath: /dockerdata-nfs
dyh7d604452019-09-23 15:54:48 +0800143 mountSubPath: modeling/etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800144
145service:
146 type: ClusterIP
dyh7d604452019-09-23 15:54:48 +0800147 name: modeling-etsicatalog
148 portName: modeling-etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800149 externalPort: 8806
150 internalPort: 8806
151# nodePort: 30806
152
153ingress:
154 enabled: false
155
156# Configure resource requests and limits
157resources:
158 small:
159 limits:
160 cpu: 200m
161 memory: 500Mi
162 requests:
163 cpu: 100m
164 memory: 250Mi
165 large:
166 limits:
167 cpu: 400m
168 memory: 1000Mi
169 requests:
170 cpu: 200m
171 memory: 500Mi
172 unlimited: {}