[DCAE] Remove references to AAF
[oom.git] / kubernetes / dcaegen2-services / components / dcae-datafile-collector / values.yaml
1 # ================================ LICENSE_START ==========================
2 # =========================================================================
3 #  Copyright (c) 2021 Nordix Foundation.
4 #  Copyright (c) 2022 Nokia.  All rights reserved.
5 #  Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
6 # =========================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #     http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ================================= LICENSE_END ===========================
19
20 #################################################################
21 # Global Configuration Defaults.
22 #################################################################
23 global:
24   nodePortPrefix: 302
25   nodePortPrefixExt: 304
26   centralizedLoggingEnabled: true
27
28 #################################################################
29 # Filebeat Configuration Defaults.
30 #################################################################
31 filebeatConfig:
32   logstashServiceName: log-ls
33   logstashPort: 5044
34
35 #################################################################
36 # Secrets Configuration.
37 #################################################################
38 secrets:
39   - uid: &drPubCredsUID drpubcreds
40     type: basicAuth
41     login: '{{ .Values.drPubscriberCreds.username }}'
42     password: '{{ .Values.drPubscriberCreds.password }}'
43     passwordPolicy: required
44
45 #################################################################
46 # InitContainer Images.
47 #################################################################
48 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
49
50 #################################################################
51 # Application Configuration Defaults.
52 #################################################################
53 # Application Image
54 image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.9.0
55 pullPolicy: Always
56
57 # Log directory where logging sidecar should look for log files
58 # if path is set to null sidecar won't be deployed in spite of
59 # global.centralizedLoggingEnabled setting.
60 log:
61   path: /var/log/ONAP
62 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
63
64 # Directory where TLS certs should be stored
65 # if absent, no certs will be retrieved and stored
66 certDirectory: /opt/app/datafile/etc/cert
67
68 # CMPv2 certificate
69 # It is used only when:
70 # - certDirectory is set
71 # - global cmpv2Enabled flag is set to true
72 # - flag useCmpv2Certificates is set to true
73 # Disabled by default
74 useCmpv2Certificates: false
75 certificates:
76   - mountPath: /opt/app/datafile/etc/cert/external
77     commonName: dcae-datafile-collector
78     dnsNames:
79       - dcae-datafile-collector
80       - datafile-collector
81       - datafile
82     keystore:
83       outputType:
84         - p12
85       passwordSecretRef:
86         name: datafile-collector-cmpv2-keystore-password
87         key: password
88         create: true
89
90 # Dependencies
91 readinessCheck:
92   wait_for:
93     containers:
94       - dmaap-bc
95       - dmaap-provisioning-job
96       - message-router
97
98 # Probe Configuration
99 readiness:
100   initialDelaySeconds: 10
101   periodSeconds: 15
102   timeoutSeconds: 1
103   path: /heartbeat
104   scheme: HTTP
105   port: 8100
106
107 # Service Configuration
108 service:
109   type: ClusterIP
110   name: datafile-collector
111   ports:
112     - name: http
113       port: 8443
114       plain_port: 8100
115       port_protocol: http
116
117 ingress:
118   enabled: false
119   service:
120     - baseaddr: "dcae-datafile-collector-api"
121       name: "datafile-collector"
122       port: 8443
123       plain_port: 8100
124   config:
125     ssl: "redirect"
126
127 # Data Router Publisher Credentials
128 drPubscriberCreds:
129   username: username
130   password: password
131
132 credentials:
133 - name: DR_USERNAME
134   uid: *drPubCredsUID
135   key: login
136 - name: DR_PASSWORD
137   uid: *drPubCredsUID
138   key: password
139
140 # Initial Application Configuration
141 applicationConfig:
142   dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
143   dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
144   dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
145   dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
146   dmaap.certificateConfig.enableCertAuth: false
147   dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
148   dmaap.dmaapConsumerConfiguration.consumerId: C12
149   dmaap.dmaapConsumerConfiguration.timeoutMs: -1
150   dmaap.security.enableDmaapCertAuth: false
151   dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
152   dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
153   dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
154   dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
155   service_calls: []
156   sftp.security.strictHostKeyChecking: true
157   streams_publishes:
158     PM_MEAS_FILES:
159       dmaap_info:
160         publisher_id: ${DR_FILES_PUBLISHER_ID_0}
161         location: loc00
162         log_url: ${DR_LOG_URL_0}
163         publish_url: ${DR_FILES_PUBLISHER_URL_0}
164         username: ${DR_USERNAME}
165         password: ${DR_PASSWORD}
166       type: data_router
167   streams_subscribes:
168     dmaap_subscriber:
169       dmaap_info:
170         topic_url: "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
171       type: message_router
172
173 applicationEnv:
174   #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
175   #Temporary Dummy CBS Port Value until internal SDK library is updated
176   CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
177
178 # DataRouter Feed Configuration
179 drFeedConfig:
180   - feedName: bulk_pm_feed
181     owner: dcaecm
182     feedVersion: "0.0"
183     asprClassification: unclassified
184     feedDescription: DFC Feed Creation
185
186 # DataRouter Publisher Configuration
187 drPubConfig:
188   - feedName: bulk_pm_feed
189     username: ${DR_USERNAME}
190     userpwd: ${DR_PASSWORD}
191     dcaeLocationName: loc00
192
193 # ConfigMap Configuration for Feed, Dr_Publisher
194 volumes:
195   - name: feeds-config
196     path: /opt/app/config/feeds
197   - name: drpub-config
198     path: /opt/app/config/dr_pubs
199
200 # Resource Limit Flavor -By Default Using Small
201 flavor: small
202
203 # Segregation for Different Environment (Small and Large)
204 resources:
205   small:
206     limits:
207       cpu: 1
208       memory: 1Gi
209     requests:
210       cpu: 500m
211       memory: 768Mi
212   large:
213     limits:
214       cpu: 2
215       memory: 2Gi
216     requests:
217       cpu: 1
218       memory: 1Gi
219   unlimited: {}
220
221 #Pods Service Account
222 serviceAccount:
223   nameOverride: dcae-datafile-collector
224   roles:
225     - read