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