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 # InitContainer Images.
35 #################################################################
36 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
37 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
38 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.4.0
40 #################################################################
41 # Application Configuration Defaults.
42 #################################################################
44 image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.1
47 # Log directory where logging sidecar should look for log files
48 # if path is set to null sidecar won't be deployed in spite of
49 # global.centralizedLoggingEnabled setting.
52 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
54 # Directory where TLS certs should be stored
55 # if absent, no certs will be retrieved and stored
56 certDirectory: /opt/app/datafile/etc/cert
58 # TLS role -- set to true if microservice acts as server
59 # If true, an init container will retrieve a server cert
60 # and key from AAF and mount them in certDirectory.
64 # It is used only when:
65 # - certDirectory is set
66 # - global cmpv2Enabled flag is set to true
67 # - flag useCmpv2Certificates is set to true
69 useCmpv2Certificates: false
71 - mountPath: /opt/app/datafile/etc/cert/external
72 commonName: dcae-datafile-collector
74 - dcae-datafile-collector
81 name: datafile-collector-cmpv2-keystore-password
89 - dcae-config-binding-service
92 - dmaap-provisioning-job
96 initialDelaySeconds: 10
103 # Service Configuration
106 name: datafile-collector
113 # Environment variables
115 # Empty path forces DFC to use Consul configuration, which allows app runtime reconfiguration.
116 # It's a workaround because DMAAP specific env variables are not available in main container.
117 CBS_CLIENT_CONFIG_PATH: ''
119 # Initial Application Configuration
121 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
122 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
123 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
124 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
125 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
126 dmaap.dmaapConsumerConfiguration.consumerId: C12
127 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
128 dmaap.security.enableDmaapCertAuth: true
129 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
130 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
131 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
132 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
134 sftp.security.strictHostKeyChecking: true
138 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
140 log_url: ${DR_LOG_URL_0}
141 publish_url: ${DR_FILES_PUBLISHER_URL_0}
142 username: ${DR_USERNAME_0}
143 password: ${DR_PASSWORD_0}
148 topic_url: "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
151 # DataRouter Feed Configuration
153 - feedName: bulk_pm_feed
156 asprClassification: unclassified
157 feedDescription: DFC Feed Creation
159 # DataRouter Publisher Configuration
161 - feedName: bulk_pm_feed
162 dcaeLocationName: loc00
164 # ConfigMap Configuration for Feed, Dr_Publisher
167 path: /opt/app/config/feeds
169 path: /opt/app/config/dr_pubs
171 # Resource Limit Flavor -By Default Using Small
174 # Segregation for Different Environment (Small and Large)
192 #Pods Service Account
194 nameOverride: dcae-datafile-collector