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
25 #################################################################
26 # Filebeat Configuration Defaults.
27 #################################################################
29 logstashServiceName: log-ls
32 #################################################################
33 # InitContainer Images.
34 #################################################################
35 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
36 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
37 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.4.0
39 #################################################################
40 # Application Configuration Defaults.
41 #################################################################
43 image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.1
46 # Log directory where logging sidecar should look for log files
47 # if absent, no sidecar will be deployed
48 logDirectory: /var/log/ONAP
50 # Directory where TLS certs should be stored
51 # if absent, no certs will be retrieved and stored
52 certDirectory: /opt/app/datafile/etc/cert
54 # TLS role -- set to true if microservice acts as server
55 # If true, an init container will retrieve a server cert
56 # and key from AAF and mount them in certDirectory.
60 # It is used only when:
61 # - certDirectory is set
62 # - global cmpv2Enabled flag is set to true
63 # - flag useCmpv2Certificates is set to true
65 useCmpv2Certificates: false
67 - mountPath: /opt/app/datafile/etc/cert/external
68 commonName: dcae-datafile-collector
70 - dcae-datafile-collector
77 name: datafile-collector-cmpv2-keystore-password
85 - dcae-config-binding-service
88 - dmaap-provisioning-job
92 initialDelaySeconds: 10
99 # Service Configuration
102 name: datafile-collector
109 # Environment variables
111 # Empty path forces DFC to use Consul configuration, which allows app runtime reconfiguration.
112 # It's a workaround because DMAAP specific env variables are not available in main container.
113 CBS_CLIENT_CONFIG_PATH: ''
115 # Initial Application Configuration
117 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
118 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
119 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
120 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
121 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
122 dmaap.dmaapConsumerConfiguration.consumerId: C12
123 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
124 dmaap.security.enableDmaapCertAuth: true
125 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
126 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
127 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
128 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
130 sftp.security.strictHostKeyChecking: true
134 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
136 log_url: ${DR_LOG_URL_0}
137 publish_url: ${DR_FILES_PUBLISHER_URL_0}
138 username: ${DR_USERNAME_0}
139 password: ${DR_PASSWORD_0}
144 topic_url: "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
147 # DataRouter Feed Configuration
149 - feedName: bulk_pm_feed
152 asprClassification: unclassified
153 feedDescription: DFC Feed Creation
155 # DataRouter Publisher Configuration
157 - feedName: bulk_pm_feed
158 dcaeLocationName: loc00
160 # ConfigMap Configuration for Feed, Dr_Publisher
163 path: /opt/app/config/feeds
165 path: /opt/app/config/dr_pubs
167 # Resource Limit Flavor -By Default Using Small
170 # Segregation for Different Environment (Small and Large)
188 #Pods Service Account
190 nameOverride: dcae-datafile-collector