[DCAEMOD] Uses new tpls for repos / images
[oom.git] / kubernetes / oof / components / oof-cmso / components / oof-cmso-optimizer / values.yaml
1 # Copyright © 2019 AT&T
2 # Copyright (C) 2020 Wipro Limited.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global: # global defaults
20   nodePortPrefix: 302
21   readinessImage: onap/oom/readiness:3.0.1
22
23 subChartsOnly:
24   enabled: true
25
26 # application image
27 repository: nexus3.onap.org:10001
28 image: onap/optf-cmso-optimizer:2.3.0
29 pullPolicy: Always
30
31 #init container image
32 dbinit:
33   image: onap/optf-cmso-dbinit:2.3.0
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38
39 #################################################################
40 # Secrets metaconfig
41 #################################################################
42 secrets:
43   - uid: cmso-db-user-secret
44     type: basicAuth
45     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
46     login: '{{ .Values.config.db.user }}'
47     password: '{{ .Values.config.db.password }}'
48     passwordPolicy: required
49
50 #################################################################
51 # Application configuration defaults.
52 #################################################################
53 # default number of instances
54 replicaCount: 1
55
56 nodeSelector: {}
57
58 affinity: {}
59
60 # probe configuration parameters
61 liveness:
62   initialDelaySeconds: 120
63   periodSeconds: 10
64   # necessary to disable liveness probe when setting breakpoints
65   # in debugger so K8s doesn't restart unresponsive container
66   enabled: true
67
68 readiness:
69   initialDelaySeconds: 120
70   periodSeconds: 10
71
72
73 service:
74   type: ClusterIP
75   name: oof-cmso-optimizer
76   portName: cmso
77   internalPort: 7997
78   externalPort: 7997
79   #nodePort: 23
80   # as of 20181022 port 23 is reserved for cmso
81   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
82
83
84 config:
85   db:
86     port: 3306
87 #    rootPassword: pass
88 #    rootPasswordExternalSecret: some secret
89     user: cmso-admin
90     password: pass
91 #    userCredentialsExternalSecret: some-secret
92 #    host: host
93 #    container: container
94 #    mysqlDatabase: optimizer
95   topology_host: oof-cmso-topology
96   topology_port: 7998
97   ticketmgt_host: oof-cmso-ticketmgt
98   ticketmgt_port: 7999
99
100 ingress:
101   enabled: false
102
103 #resources: {}
104   # We usually recommend not to specify default resources and to leave this as a conscious
105   # choice for the user. This also increases chances charts run on environments with little
106   # resources, such as Minikube. If you do want to specify resources, uncomment the following
107   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
108   #
109   # Example:
110   # Configure resource requests and limits
111   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
112   # Minimum memory for development is 2 CPU cores and 4GB memory
113   # Minimum memory for production is 4 CPU cores and 8GB memory
114 flavor: small
115 resources:
116   small:
117     limits:
118       cpu: 1
119       memory: 1.2Gi
120     requests:
121       cpu: 10m
122       memory: 800Mi
123   large:
124     limits:
125       cpu: 1
126       memory: 1.2Gi
127     requests:
128       cpu: 10m
129       memory: 800Mi
130   unlimited: {}