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 #################################################################
20 readinessImage: onap/oom/readiness:3.0.1
21 loggingRepository: docker.elastic.co
22 loggingImage: beats/filebeat:5.5.0
25 mountPath: /dockerdata-nfs
28 #This flag allows Modeling to instantiate its own mariadb-galera cluster
30 service: mariadb-galera
32 nameOverride: mariadb-galera
41 #################################################################
43 #################################################################
45 - uid: modeling-db-secret
46 name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret'
48 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
49 login: '{{ .Values.config.db.userName }}'
50 password: '{{ .Values.config.db.userPassword }}'
52 #################################################################
53 # Dependencies configuration
54 #################################################################
57 config: &mariadbConfig
58 userCredentialsExternalSecret: *dbSecretName
59 mysqlDatabase: etsicatalog
60 nameOverride: modeling-db
65 nfsprovisionerPrefix: modeling
67 mountSubPath: modeling/data
69 disableNfsProvisioner: true
72 config: *mariadbConfig
73 # nameOverride should be the same with common.name
74 nameOverride: modeling-etsicatalog
76 #################################################################
77 # Application configuration defaults.
78 #################################################################
80 #application configuration about msb
83 msbServiceName: msb-iag
86 #application configuration user password about mariadb
89 # userPassword: password
90 # userCredentialsExternalSecret: some-secret
95 repository: nexus3.onap.org:10001
96 image: onap/modeling/etsicatalog:1.0.7
97 initImage: busybox:latest
100 #Istio sidecar injection policy
103 # flag to enable debugging - application support required
106 # default number of instances
113 # probe configuration parameters
115 initialDelaySeconds: 120
117 # necessary to disable liveness probe when setting breakpoints
118 # in debugger so K8s doesn't restart unresponsive container
122 initialDelaySeconds: 10
125 ## Persist data to a persitent volume
128 ## A manually managed Persistent Volume and Claim
129 ## Requires persistence.enabled: true
130 ## If defined, PVC must be created manually before volume will be bound
132 volumeReclaimPolicy: Retain
133 ## database data Persistent Volume Storage Class
134 ## If defined, storageClassName: <storageClass>
135 ## If set to "-", storageClassName: "", which disables dynamic provisioning
136 ## If undefined (the default) or set to null, no storageClassName spec is
137 ## set, choosing the default provisioner. (gp2 on AWS, standard on
138 ## GKE, AWS & OpenStack)
141 accessMode: ReadWriteOnce
143 mountPath: /dockerdata-nfs
144 mountSubPath: modeling/etsicatalog
148 name: modeling-etsicatalog
149 portName: modeling-etsicatalog
157 # Configure resource requests and limits