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 #################################################################
55 externalSecret: *dbSecretName
56 name: &mysqlDbName etsicatalog
57 nameOverride: &modeling-db modeling-db
61 nfsprovisionerPrefix: modeling
63 mountSubPath: modeling/data
65 disableNfsProvisioner: true
67 nameOverride: *modeling-db
71 userCredentialsExternalSecret: *dbSecretName
72 mysqlDatabase: *mysqlDbName
73 # nameOverride should be the same with common.name
74 nameOverride: modeling-etsicatalog
76 #################################################################
77 # Application configuration defaults.
78 #################################################################
80 #application configuration about msb
84 msbServiceName: msb-iag
87 sdcServiceName: sdc-be
91 dmaapServiceName: message-router-external
94 #application configuration user password about mariadb
97 # userPassword: password
98 # userCredentialsExternalSecret: some-secret
103 image: onap/modeling/etsicatalog:1.0.11
106 #Istio sidecar injection policy
109 # flag to enable debugging - application support required
112 # default number of instances
119 # probe configuration parameters
121 initialDelaySeconds: 120
123 # necessary to disable liveness probe when setting breakpoints
124 # in debugger so K8s doesn't restart unresponsive container
128 initialDelaySeconds: 10
131 ## Persist data to a persitent volume
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
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)
147 accessMode: ReadWriteOnce
149 mountPath: /dockerdata-nfs
150 mountSubPath: modeling/etsicatalog
154 name: modeling-etsicatalog
155 portName: modeling-etsicatalog
163 # Configure resource requests and limits
181 #Pods Service Account
183 nameOverride: modeling-etsicatalog