1 # Copyright © 2017 Amdocs, Bell Canada
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
22 mountPath: /dockerdata-nfs
25 #This flag allows Modeling to instantiate its own mariadb-galera cluster
27 service: mariadb-galera
29 nameOverride: mariadb-galera
38 #################################################################
40 #################################################################
42 - uid: modeling-db-secret
43 name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret'
45 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
46 login: '{{ .Values.config.db.userName }}'
47 password: '{{ .Values.config.db.userPassword }}'
49 #################################################################
50 # Dependencies configuration
51 #################################################################
54 config: &mariadbConfig
55 userCredentialsExternalSecret: *dbSecretName
56 mysqlDatabase: etsicatalog
57 nameOverride: modeling-db
62 nfsprovisionerPrefix: modeling
64 mountSubPath: modeling/data
66 disableNfsProvisioner: true
69 config: *mariadbConfig
70 # nameOverride should be the same with common.name
71 nameOverride: modeling-etsicatalog
73 #################################################################
74 # Application configuration defaults.
75 #################################################################
77 #application configuration about msb
81 msbServiceName: msb-iag
84 sdcServiceName: sdc-be
88 dmaapServiceName: message-router-external
91 #application configuration user password about mariadb
94 # userPassword: password
95 # userCredentialsExternalSecret: some-secret
100 image: onap/modeling/etsicatalog:1.0.9
103 #Istio sidecar injection policy
106 # flag to enable debugging - application support required
109 # default number of instances
116 # probe configuration parameters
118 initialDelaySeconds: 120
120 # necessary to disable liveness probe when setting breakpoints
121 # in debugger so K8s doesn't restart unresponsive container
125 initialDelaySeconds: 10
128 ## Persist data to a persitent volume
131 ## A manually managed Persistent Volume and Claim
132 ## Requires persistence.enabled: true
133 ## If defined, PVC must be created manually before volume will be bound
135 volumeReclaimPolicy: Retain
136 ## database data Persistent Volume Storage Class
137 ## If defined, storageClassName: <storageClass>
138 ## If set to "-", storageClassName: "", which disables dynamic provisioning
139 ## If undefined (the default) or set to null, no storageClassName spec is
140 ## set, choosing the default provisioner. (gp2 on AWS, standard on
141 ## GKE, AWS & OpenStack)
144 accessMode: ReadWriteOnce
146 mountPath: /dockerdata-nfs
147 mountSubPath: modeling/etsicatalog
151 name: modeling-etsicatalog
152 portName: modeling-etsicatalog
160 # Configure resource requests and limits