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