Update helm charts for CMSO Dublin
[oom.git] / kubernetes / oof / charts / oof-cmso / charts / oof-cmso-service / values.yaml
1 # Copyright © 2018-2019 AT&T
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: # global defaults
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22
23 subChartsOnly:
24   enabled: true
25
26 # application image
27 repository: nexus3.onap.org:10001
28 image: onap/optf-cmso-service:latest
29 pullPolicy: Always
30
31 #init container image
32 dbinit:
33   image: onap/optf-cmso-dbinit:latest
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38 #################################################################
39 # Application configuration defaults.
40 #################################################################
41 # default number of instances
42 replicaCount: 1
43
44 nodeSelector: {}
45
46 affinity: {}
47
48 # probe configuration parameters
49 liveness:
50   initialDelaySeconds: 120
51   periodSeconds: 10
52   # necessary to disable liveness probe when setting breakpoints
53   # in debugger so K8s doesn't restart unresponsive container
54   enabled: true
55
56 readiness:
57   initialDelaySeconds: 10
58   periodSeconds: 10
59
60
61 service:
62   type: ClusterIP
63   name: oof-cmso
64   portName: cmso
65   internalPort: 8080
66   externalPort: 8080
67   #nodePort: 23
68   # as of 20181022 port 23 is reserved for cmso
69   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
70
71
72 config:
73   db_root: root
74   db_user: cmso-admin
75   mysqlDatabase: cmso
76   db_host: oof-cmso-dbhost
77   db_port: 3306
78   optimizer_host: oof-cmso-optimizer
79   optimizer_port: 7997
80
81 mariadb:
82   nameOverride: cmso-db
83
84 ingress:
85   enabled: false
86
87 #resources: {}
88   # We usually recommend not to specify default resources and to leave this as a conscious
89   # choice for the user. This also increases chances charts run on environments with little
90   # resources, such as Minikube. If you do want to specify resources, uncomment the following
91   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
92   #
93   # Example:
94   # Configure resource requests and limits
95   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
96   # Minimum memory for development is 2 CPU cores and 4GB memory
97   # Minimum memory for production is 4 CPU cores and 8GB memory
98 resources:
99   small:
100     limits:
101       cpu: 1
102       memory: 1.2Gi
103     requests:
104       cpu: 10m
105       memory: 800Mi
106   large:
107     limits:
108       cpu: 1
109       memory: 1.2Gi
110     requests:
111       cpu: 10m
112       memory: 800Mi
113   unlimited: {}