[DCAEMOD] Uses new tpls for repos / images
[oom.git] / kubernetes / oof / components / oof-cmso / components / oof-cmso-service / values.yaml
1 # Copyright © 2018-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-service:2.3.0
29 robotimage: onap/optf-cmso-robot:2.3.0
30 pullPolicy: Always
31
32 #init container image
33 dbinit:
34   image: onap/optf-cmso-dbinit:2.3.0
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
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
76   portName: cmso
77   internalPort: 8080
78   externalPort: 8080
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: cmso
95   optimizer_host: oof-cmso-optimizer
96   optimizer_port: 7997
97
98 ingress:
99   enabled: false
100
101 #resources: {}
102   # We usually recommend not to specify default resources and to leave this as a conscious
103   # choice for the user. This also increases chances charts run on environments with little
104   # resources, such as Minikube. If you do want to specify resources, uncomment the following
105   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
106   #
107   # Example:
108   # Configure resource requests and limits
109   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
110   # Minimum memory for development is 2 CPU cores and 4GB memory
111   # Minimum memory for production is 4 CPU cores and 8GB memory
112 flavor: small
113 resources:
114   small:
115     limits:
116       cpu: 1
117       memory: 1.2Gi
118     requests:
119       cpu: 10m
120       memory: 800Mi
121   large:
122     limits:
123       cpu: 1
124       memory: 1.2Gi
125     requests:
126       cpu: 10m
127       memory: 800Mi
128   unlimited: {}