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