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