Merge "[Modeling] Move mariadb-galera to etsicatalog"
[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   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25   config:
26     msbServiceName: msb-iag
27     msbPort: 80
28     redisServiceName: vfc-redis
29     redisPort: 6379
30
31   persistence:
32     mountPath: /dockerdata-nfs
33
34 #################################################################
35 # Dependencies configuration
36 #################################################################
37
38 mariadb-galera:
39   config:
40     mariadbRootPassword: secretpassword
41   nameOverride: modeling-mariadb
42   service:
43     name: modeling-db
44     portName: modeling-db
45   nfsprovisionerPrefix: modeling
46   persistence:
47     mountSubPath: modeling/data
48     enabled: true
49   disableNfsProvisioner: true
50
51 #################################################################
52 # Application configuration defaults.
53 #################################################################
54 # application image
55 flavor: small
56
57 repository: nexus3.onap.org:10001
58 image: onap/modeling/etsicatalog:1.0.4
59 pullPolicy: Always
60
61 #Istio sidecar injection policy
62 istioSidecar: true
63
64 # flag to enable debugging - application support required
65 debugEnabled: false
66
67 # application configuration
68 config:
69   dbServiceName: modeling-db
70   dbPort: 3306
71   dbUser: root
72
73 # default number of instances
74 replicaCount: 1
75
76 nodeSelector: {}
77
78 affinity: {}
79
80 # probe configuration parameters
81 liveness:
82   initialDelaySeconds: 120
83   periodSeconds: 10
84   # necessary to disable liveness probe when setting breakpoints
85   # in debugger so K8s doesn't restart unresponsive container
86   enabled: true
87
88 readiness:
89   initialDelaySeconds: 10
90   periodSeconds: 10
91
92 ## Persist data to a persitent volume
93 persistence:
94   enabled: true
95   ## A manually managed Persistent Volume and Claim
96   ## Requires persistence.enabled: true
97   ## If defined, PVC must be created manually before volume will be bound
98   # existingClaim:
99   volumeReclaimPolicy: Retain
100   ## database data Persistent Volume Storage Class
101   ## If defined, storageClassName: <storageClass>
102   ## If set to "-", storageClassName: "", which disables dynamic provisioning
103   ## If undefined (the default) or set to null, no storageClassName spec is
104   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
105   ##   GKE, AWS & OpenStack)
106   ##
107   # storageClass: "-"
108   accessMode: ReadWriteOnce
109   size: 2Gi
110   mountPath: /dockerdata-nfs
111   mountSubPath: modeling/etsicatalog
112
113 service:
114   type: ClusterIP
115   name: modeling-etsicatalog
116   portName: modeling-etsicatalog
117   externalPort: 8806
118   internalPort: 8806
119 #  nodePort: 30806
120
121 ingress:
122   enabled: false
123
124 # Configure resource requests and limits
125 resources:
126   small:
127     limits:
128       cpu: 200m
129       memory: 500Mi
130     requests:
131       cpu: 100m
132       memory: 250Mi
133   large:
134     limits:
135       cpu: 400m
136       memory: 1000Mi
137     requests:
138       cpu: 200m
139       memory: 500Mi
140   unlimited: {}