1 # ================================ LICENSE_START ==========================
2 # =========================================================================
3 # Copyright (c) 2021 Nordix Foundation.
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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 ===========================
18 #################################################################
19 # Global Configuration Defaults.
20 #################################################################
23 nodePortPrefixExt: 304
24 centralizedLoggingEnabled: true
26 #################################################################
27 # Filebeat Configuration Defaults.
28 #################################################################
30 logstashServiceName: log-ls
33 #################################################################
34 # Secrets Configuration.
35 #################################################################
37 - uid: &drPubCredsUID drpubcreds
39 login: '{{ .Values.drPubscriberCreds.username }}'
40 password: '{{ .Values.drPubscriberCreds.password }}'
41 passwordPolicy: required
43 #################################################################
44 # InitContainer Images.
45 #################################################################
46 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
47 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
48 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
50 #################################################################
51 # Application Configuration Defaults.
52 #################################################################
54 image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.1
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.
62 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
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
68 # TLS role -- set to true if microservice acts as server
69 # If true, an init container will retrieve a server cert
70 # and key from AAF and mount them in certDirectory.
74 # It is used only when:
75 # - certDirectory is set
76 # - global cmpv2Enabled flag is set to true
77 # - flag useCmpv2Certificates is set to true
79 useCmpv2Certificates: false
81 - mountPath: /opt/app/datafile/etc/cert/external
82 commonName: dcae-datafile-collector
84 - dcae-datafile-collector
91 name: datafile-collector-cmpv2-keystore-password
99 - dcae-config-binding-service
102 - dmaap-provisioning-job
104 # Probe Configuration
106 initialDelaySeconds: 10
113 # Service Configuration
116 name: datafile-collector
123 # Environment variables
125 # Empty path forces DFC to use Consul configuration, which allows app runtime reconfiguration.
126 # It's a workaround because DMAAP specific env variables are not available in main container.
127 CBS_CLIENT_CONFIG_PATH: ''
129 # Data Router Publisher Credentials
142 # Initial Application Configuration
144 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
145 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
146 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
147 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
148 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
149 dmaap.dmaapConsumerConfiguration.consumerId: C12
150 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
151 dmaap.security.enableDmaapCertAuth: true
152 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
153 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
154 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
155 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
157 sftp.security.strictHostKeyChecking: true
161 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
163 log_url: ${DR_LOG_URL_0}
164 publish_url: ${DR_FILES_PUBLISHER_URL_0}
165 username: ${DR_USERNAME}
166 password: ${DR_PASSWORD}
171 topic_url: "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
174 # DataRouter Feed Configuration
176 - feedName: bulk_pm_feed
179 asprClassification: unclassified
180 feedDescription: DFC Feed Creation
182 # DataRouter Publisher Configuration
184 - feedName: bulk_pm_feed
185 username: ${DR_USERNAME}
186 userpwd: ${DR_PASSWORD}
187 dcaeLocationName: loc00
189 # ConfigMap Configuration for Feed, Dr_Publisher
192 path: /opt/app/config/feeds
194 path: /opt/app/config/dr_pubs
196 # Resource Limit Flavor -By Default Using Small
199 # Segregation for Different Environment (Small and Large)
217 #Pods Service Account
219 nameOverride: dcae-datafile-collector