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