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