Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / modeling / components / modeling-etsicatalog / values.yaml
1 # 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 #################################################################
18 global:
19   nodePortPrefix: 302
20
21   persistence:
22     mountPath: /dockerdata-nfs
23
24   mariadbGalera:
25     # flag to enable the DB creation via mariadb-operator
26     useOperator: true
27     #This flag allows SO to instantiate its own mariadb-galera cluster
28     #When changing it to "true", also set "globalCluster: false"
29     #as the dependency check will not work otherwise (Chart.yaml)
30     localCluster: false
31     globalCluster: true
32     service: mariadb-galera
33     internalPort: 3306
34     nameOverride: mariadb-galera
35
36   centralizedLoggingEnabled: true
37
38 readinessCheck:
39   wait_for:
40     services:
41       - msb-iag
42
43 #################################################################
44 # Secrets metaconfig
45 #################################################################
46 secrets:
47   - uid: modeling-db-secret
48     name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret'
49     type: basicAuth
50     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
51     login: '{{ .Values.config.db.userName }}'
52     password: '{{ .Values.config.db.userPassword }}'
53
54 #################################################################
55 # Dependencies configuration
56 #################################################################
57
58 mariadb-galera:
59   db:
60     user: &dbUser etsicatalog
61     externalSecret: *dbSecretName
62     name: &mysqlDbName etsicatalog
63   nameOverride: &modeling-db modeling-db
64   service:
65     name: *modeling-db
66     internalPort: 3306
67   nfsprovisionerPrefix: modeling
68   persistence:
69     mountSubPath: modeling/data
70     enabled: true
71   disableNfsProvisioner: true
72   serviceAccount:
73     nameOverride: *modeling-db
74   replicaCount: 1
75   mariadbOperator:
76     galera:
77       enabled: false
78
79 mariadb-init:
80   config:
81     userCredentialsExternalSecret: *dbSecretName
82     mysqlDatabase: *mysqlDbName
83   # nameOverride should be the same with common.name
84   nameOverride: etsicatalog-db
85   serviceAccount:
86     nameOverride: etsicatalog-db
87
88 #################################################################
89 # Application configuration defaults.
90 #################################################################
91 config:
92   #application configuration about  msb
93   ssl_enabled: false
94   msb_enabled: false
95   msbProtocol: http
96   msbServiceName: msb-iag
97   msbPort: 443
98   msbPlainPort: 80
99   sdcProtocol: http
100   sdcServiceName: sdc-be
101   sdcPort: 8443
102   sdcPlainPort: 8080
103   dmaap_enabled: false
104   dmaapProtocol: http
105   dmaapServiceName: message-router-external
106   dmaapPort: 3905
107
108   #application configuration user password about mariadb
109   db:
110     userName: *dbUser
111     # userPassword: password
112     # userCredentialsExternalSecret: some-secret
113
114 # application image
115 flavor: small
116
117 image: onap/modeling/etsicatalog:1.0.14
118 pullPolicy: Always
119
120 #Istio sidecar injection policy
121 istioSidecar: true
122
123 # flag to enable debugging - application support required
124 debugEnabled: false
125
126 # default number of instances
127 replicaCount: 1
128
129 nodeSelector: {}
130
131 affinity: {}
132
133 # probe configuration parameters
134 liveness:
135   initialDelaySeconds: 120
136   periodSeconds: 10
137   # necessary to disable liveness probe when setting breakpoints
138   # in debugger so K8s doesn't restart unresponsive container
139   enabled: true
140
141 readiness:
142   initialDelaySeconds: 10
143   periodSeconds: 10
144
145 ## Persist data to a persitent volume
146 persistence:
147   enabled: true
148   ## A manually managed Persistent Volume and Claim
149   ## Requires persistence.enabled: true
150   ## If defined, PVC must be created manually before volume will be bound
151   # existingClaim:
152   volumeReclaimPolicy: Retain
153   ## database data Persistent Volume Storage Class
154   ## If defined, storageClassName: <storageClass>
155   ## If set to "-", storageClassName: "", which disables dynamic provisioning
156   ## If undefined (the default) or set to null, no storageClassName spec is
157   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
158   ##   GKE, AWS & OpenStack)
159   ##
160   # storageClass: "-"
161   accessMode: ReadWriteOnce
162   size: 2Gi
163   mountPath: /dockerdata-nfs
164   mountSubPath: modeling/etsicatalog
165
166 service:
167   type: ClusterIP
168   name: modeling-etsicatalog
169   portName: http
170   externalPort: 8806
171   internalPort: 8806
172 #  nodePort: 30806
173
174 ingress:
175   enabled: false
176
177 # Configure resource requests and limits
178 resources:
179   small:
180     limits:
181       cpu: "200m"
182       memory: "500Mi"
183     requests:
184       cpu: "100m"
185       memory: "200Mi"
186   large:
187     limits:
188       cpu: "400m"
189       memory: "1Gi"
190     requests:
191       cpu: "200m"
192       memory: "500Mi"
193   unlimited: {}
194
195 #Pods Service Account
196 serviceAccount:
197   nameOverride: modeling-etsicatalog
198   roles:
199     - read
200
201 #Log configuration
202 log:
203   path: /var/log/onap