blob: 9bdd0b78879a7d546e7acd25bb2da8b3ac4aa389 [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
Maciej Wereski7000a7c2021-12-16 12:24:06 +010024 centralizedLoggingEnabled: true
ajay_dp001cf5232a2021-04-13 20:48:07 +053025
26#################################################################
27# Filebeat Configuration Defaults.
28#################################################################
29filebeatConfig:
30 logstashServiceName: log-ls
31 logstashPort: 5044
32
33#################################################################
34# InitContainer Images.
35#################################################################
36tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040037consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Piotr Marcinkiewicz31dceea2021-06-29 16:15:49 +020038certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.4.0
ajay_dp001cf5232a2021-04-13 20:48:07 +053039
40#################################################################
41# Application Configuration Defaults.
42#################################################################
43# Application Image
Remigiusz Janeczek71129592021-09-10 11:55:40 +020044image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.1
ajay_dp001cf5232a2021-04-13 20:48:07 +053045pullPolicy: Always
46
47# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010048# if path is set to null sidecar won't be deployed in spite of
49# global.centralizedLoggingEnabled setting.
50log:
51 path: /var/log/ONAP
52logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
ajay_dp001cf5232a2021-04-13 20:48:07 +053053
54# Directory where TLS certs should be stored
55# if absent, no certs will be retrieved and stored
56certDirectory: /opt/app/datafile/etc/cert
57
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.
61tlsServer: true
62
63# CMPv2 certificate
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
68# Disabled by default
69useCmpv2Certificates: false
70certificates:
71 - mountPath: /opt/app/datafile/etc/cert/external
72 commonName: dcae-datafile-collector
73 dnsNames:
74 - dcae-datafile-collector
75 - datafile-collector
76 - datafile
77 keystore:
78 outputType:
79 - p12
80 passwordSecretRef:
81 name: datafile-collector-cmpv2-keystore-password
82 key: password
83 create: true
84
85# Dependencies
86readinessCheck:
87 wait_for:
88 containers:
89 - dcae-config-binding-service
90 - aaf-cm
91 - dmaap-bc
92 - dmaap-provisioning-job
93
94# Probe Configuration
95readiness:
96 initialDelaySeconds: 10
97 periodSeconds: 15
98 timeoutSeconds: 1
99 path: /heartbeat
100 scheme: HTTP
101 port: 8100
102
103# Service Configuration
104service:
105 type: ClusterIP
106 name: datafile-collector
107 ports:
108 - name: https
109 port: 8443
110 plain_port: 8100
111 port_protocol: http
112
Remigiusz Janeczek71129592021-09-10 11:55:40 +0200113# Environment variables
114applicationEnv:
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: ''
118
ajay_dp001cf5232a2021-04-13 20:48:07 +0530119# Initial Application Configuration
120applicationConfig:
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
133 service_calls: []
134 sftp.security.strictHostKeyChecking: true
135 streams_publishes:
136 PM_MEAS_FILES:
137 dmaap_info:
138 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
139 location: loc00
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}
144 type: data_router
145 streams_subscribes:
146 dmaap_subscriber:
147 dmaap_info:
148 topic_url: "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
149 type: message_router
150
151# DataRouter Feed Configuration
152drFeedConfig:
153 - feedName: bulk_pm_feed
154 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530155 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530156 asprClassification: unclassified
157 feedDescription: DFC Feed Creation
158
159# DataRouter Publisher Configuration
160drPubConfig:
161 - feedName: bulk_pm_feed
162 dcaeLocationName: loc00
163
164# ConfigMap Configuration for Feed, Dr_Publisher
165volumes:
166 - name: feeds-config
167 path: /opt/app/config/feeds
168 - name: drpub-config
169 path: /opt/app/config/dr_pubs
170
171# Resource Limit Flavor -By Default Using Small
172flavor: small
173
174# Segregation for Different Environment (Small and Large)
175resources:
176 small:
177 limits:
178 cpu: 1
179 memory: 1Gi
180 requests:
181 cpu: 500m
182 memory: 768Mi
183 large:
184 limits:
185 cpu: 2
186 memory: 2Gi
187 requests:
188 cpu: 1
189 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200190 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200191
192#Pods Service Account
193serviceAccount:
194 nameOverride: dcae-datafile-collector
195 roles:
196 - read