98c6b4a05077170f200efce1bdb8cfea21208b3d
[oom.git] / kubernetes / oof / charts / oof-cmso / charts / oof-cmso-service / values.yaml
1 # Copyright © 2018 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:1.0.1
29 pullPolicy: Always
30
31 #init container image
32 dbinit:
33   image: onap/optf-cmso-dbinit:1.0.1
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
79 mariadb:
80   nameOverride: cmso-db
81
82 ingress:
83   enabled: false
84
85 #resources: {}
86   # We usually recommend not to specify default resources and to leave this as a conscious
87   # choice for the user. This also increases chances charts run on environments with little
88   # resources, such as Minikube. If you do want to specify resources, uncomment the following
89   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
90   #
91   # Example:
92   # Configure resource requests and limits
93   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
94   # Minimum memory for development is 2 CPU cores and 4GB memory
95   # Minimum memory for production is 4 CPU cores and 8GB memory
96 resources:
97   small:
98     limits:
99       cpu: 1
100       memory: 1.2Gi
101     requests:
102       cpu: 10m
103       memory: 800Mi
104   large:
105     limits:
106       cpu: 1
107       memory: 1.2Gi
108     requests:
109       cpu: 10m
110       memory: 800Mi
111   unlimited: {}