blob: 2342470877c5684f2ff2d25815bef5d9dbd5372b [file] [log] [blame]
ajay_dp001cf5232a2021-04-13 20:48:07 +05301# ================================ 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
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#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
24
25#################################################################
26# Filebeat Configuration Defaults.
27#################################################################
28filebeatConfig:
29 logstashServiceName: log-ls
30 logstashPort: 5044
31
32#################################################################
33# InitContainer Images.
34#################################################################
35tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040036consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Piotr Marcinkiewicz31dceea2021-06-29 16:15:49 +020037certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.4.0
ajay_dp001cf5232a2021-04-13 20:48:07 +053038
39#################################################################
40# Application Configuration Defaults.
41#################################################################
42# Application Image
Remigiusz Janeczek71129592021-09-10 11:55:40 +020043image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.1
ajay_dp001cf5232a2021-04-13 20:48:07 +053044pullPolicy: Always
45
46# Log directory where logging sidecar should look for log files
47# if absent, no sidecar will be deployed
48logDirectory: /var/log/ONAP
49
50# Directory where TLS certs should be stored
51# if absent, no certs will be retrieved and stored
52certDirectory: /opt/app/datafile/etc/cert
53
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.
57tlsServer: true
58
59# CMPv2 certificate
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
64# Disabled by default
65useCmpv2Certificates: false
66certificates:
67 - mountPath: /opt/app/datafile/etc/cert/external
68 commonName: dcae-datafile-collector
69 dnsNames:
70 - dcae-datafile-collector
71 - datafile-collector
72 - datafile
73 keystore:
74 outputType:
75 - p12
76 passwordSecretRef:
77 name: datafile-collector-cmpv2-keystore-password
78 key: password
79 create: true
80
81# Dependencies
82readinessCheck:
83 wait_for:
84 containers:
85 - dcae-config-binding-service
86 - aaf-cm
87 - dmaap-bc
88 - dmaap-provisioning-job
89
90# Probe Configuration
91readiness:
92 initialDelaySeconds: 10
93 periodSeconds: 15
94 timeoutSeconds: 1
95 path: /heartbeat
96 scheme: HTTP
97 port: 8100
98
99# Service Configuration
100service:
101 type: ClusterIP
102 name: datafile-collector
103 ports:
104 - name: https
105 port: 8443
106 plain_port: 8100
107 port_protocol: http
108
Remigiusz Janeczek71129592021-09-10 11:55:40 +0200109# Environment variables
110applicationEnv:
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: ''
114
ajay_dp001cf5232a2021-04-13 20:48:07 +0530115# Initial Application Configuration
116applicationConfig:
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
129 service_calls: []
130 sftp.security.strictHostKeyChecking: true
131 streams_publishes:
132 PM_MEAS_FILES:
133 dmaap_info:
134 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
135 location: loc00
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}
140 type: data_router
141 streams_subscribes:
142 dmaap_subscriber:
143 dmaap_info:
144 topic_url: "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
145 type: message_router
146
147# DataRouter Feed Configuration
148drFeedConfig:
149 - feedName: bulk_pm_feed
150 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530151 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530152 asprClassification: unclassified
153 feedDescription: DFC Feed Creation
154
155# DataRouter Publisher Configuration
156drPubConfig:
157 - feedName: bulk_pm_feed
158 dcaeLocationName: loc00
159
160# ConfigMap Configuration for Feed, Dr_Publisher
161volumes:
162 - name: feeds-config
163 path: /opt/app/config/feeds
164 - name: drpub-config
165 path: /opt/app/config/dr_pubs
166
167# Resource Limit Flavor -By Default Using Small
168flavor: small
169
170# Segregation for Different Environment (Small and Large)
171resources:
172 small:
173 limits:
174 cpu: 1
175 memory: 1Gi
176 requests:
177 cpu: 500m
178 memory: 768Mi
179 large:
180 limits:
181 cpu: 2
182 memory: 2Gi
183 requests:
184 cpu: 1
185 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200186 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200187
188#Pods Service Account
189serviceAccount:
190 nameOverride: dcae-datafile-collector
191 roles:
192 - read