7609ba65683e5a537d307431dc21a268a652c0b9
[oom.git] / kubernetes / dcaemod / components / dcaemod-runtime-api / resources / config / base / values.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
17 #################################################################
18 # Global configuration defaults.
19 #################################################################
20 global:
21   nodePortPrefix: 302
22   nodePortPrefixExt: 304
23
24 #################################################################
25 # Filebeat configuration defaults.
26 #################################################################
27 filebeatConfig:
28   logstashServiceName: log-ls
29   logstashPort: 5044
30
31 #################################################################
32 # initContainer images.
33 #################################################################
34 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
35 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0
36
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
40 # application image
41 image: TBD #DONE
42 pullPolicy: Always
43
44 #policy sync image
45 dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
46
47 #postgres enable/disable
48 postgres:
49   enabled: false
50
51 #mongo enable/disable
52 mongo:
53   enabled: false
54   nameOverride: dcae-mongo
55   config:
56     dbName: dcaecommondb
57   service:
58     name: dcae-mongohost
59     internalPort: 27017
60   nfsprovisionerPrefix: dcaemongo
61   sdnctlPrefix: tcagen2
62   persistence:
63     mountSubPath: dcae/mongo/data
64     enabled: true
65   disableNfsProvisioner: true
66
67 # log directory where logging sidecar should look for log files
68 # if absent, no sidecar will be deployed
69 #logDirectory: TBD  #/opt/app/VESCollector/logs #DONE
70
71 # Following requires manual override until fix for DCAEGEN2-3087
72 # is available to switch logDirectory setting to log.path
73 log:
74   path: /opt/app/
75 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
76
77 # directory where TLS certs should be stored
78 # if absent, no certs will be retrieved and stored
79 #certDirectory: TBD #/opt/app/dcae-certificate  #DONE
80
81 # TLS role -- set to true if microservice acts as server
82 # If true, an init container will retrieve a server cert
83 # and key from AAF and mount them in certDirectory.
84 #tlsServer: TBD  #DONE
85
86 # dependencies
87 readinessCheck:
88   wait_for:
89     - aaf-cm
90
91 # probe configuration  #NEED DISCUSSION
92 readiness:
93   initialDelaySeconds: TBD
94   periodSeconds: TBD
95   path: TBD
96   scheme: TBD
97   port: TBD
98
99 # Resource Limit flavor -By Default using small
100 flavor: small
101 # Segregation for Different environment (Small and Large)
102 resources:
103   small:
104     limits:
105       cpu: 2
106       memory: 2Gi
107     requests:
108       cpu: 1
109       memory: 1Gi
110   large:
111     limits:
112       cpu: 4
113       memory: 4Gi
114     requests:
115       cpu: 2
116       memory: 2Gi
117   unlimited: {}
118 serviceAccount:
119   nameOverride: TBD
120   roles:
121     - read