[GENERAL] Use readiness container v3.0.1
[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   readinessImage: onap/oom/readiness:3.0.1
21
22 subChartsOnly:
23   enabled: true
24
25 # application image
26 repository: nexus3.onap.org:10001
27 image: onap/optf-cmso-service:2.2.0
28 robotimage: onap/optf-cmso-robot:2.2.0
29 pullPolicy: Always
30
31 #init container image
32 dbinit:
33   image: onap/optf-cmso-dbinit:2.2.0
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38 #################################################################
39 # Secrets metaconfig
40 #################################################################
41 secrets:
42   - uid: cmso-db-root-password
43     type: password
44     password: '{{ .Values.config.db.rootPassword }}'
45     externalSecret: '{{ tpl (default "" .Values.config.db.rootPasswordExternalSecret) . }}'
46     policy: required
47   - uid: cmso-db-user-secret
48     type: basicAuth
49     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
50     login: '{{ .Values.config.db.user }}'
51     password: '{{ .Values.config.db.password }}'
52     passwordPolicy: required
53
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
57 # default number of instances
58 replicaCount: 1
59
60 nodeSelector: {}
61
62 affinity: {}
63
64 # probe configuration parameters
65 liveness:
66   initialDelaySeconds: 120
67   periodSeconds: 10
68   # necessary to disable liveness probe when setting breakpoints
69   # in debugger so K8s doesn't restart unresponsive container
70   enabled: true
71
72 readiness:
73   initialDelaySeconds: 120
74   periodSeconds: 10
75
76
77 service:
78   type: ClusterIP
79   name: oof-cmso
80   portName: cmso
81   internalPort: 8080
82   externalPort: 8080
83   #nodePort: 23
84   # as of 20181022 port 23 is reserved for cmso
85   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
86
87
88 config:
89   db:
90     port: 3306
91     root: root
92 #    rootPassword: pass
93 #    rootPasswordExternalSecret: some secret
94 #    user: cmso-admin
95 #    password: pass
96 #    userCredentialsExternalSecret: some-secret
97 #    host: host
98 #    container: container
99 #    mysqlDatabase: cmso
100   optimizer_host: oof-cmso-optimizer
101   optimizer_port: 7997
102
103 ingress:
104   enabled: false
105
106 #resources: {}
107   # We usually recommend not to specify default resources and to leave this as a conscious
108   # choice for the user. This also increases chances charts run on environments with little
109   # resources, such as Minikube. If you do want to specify resources, uncomment the following
110   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
111   #
112   # Example:
113   # Configure resource requests and limits
114   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
115   # Minimum memory for development is 2 CPU cores and 4GB memory
116   # Minimum memory for production is 4 CPU cores and 8GB memory
117 flavor: small
118 resources:
119   small:
120     limits:
121       cpu: 1
122       memory: 1.2Gi
123     requests:
124       cpu: 10m
125       memory: 800Mi
126   large:
127     limits:
128       cpu: 1
129       memory: 1.2Gi
130     requests:
131       cpu: 10m
132       memory: 800Mi
133   unlimited: {}