blob: cd9be3b30d0af5690daa425236a628d420e3d30a [file] [log] [blame]
ajay_dp001cf5232a2021-04-13 20:48:07 +05301# ================================ LICENSE_START ==========================
2# =========================================================================
ajay_dp001e9b1e322021-11-02 20:42:12 +05303# Copyright (c) 2021 Nordix Foundation.
Tomasz Wrobel0d893db2022-02-17 11:50:43 +01004# Copyright (c) 2022 Nokia. All rights reserved.
Jack Lucasc9797322022-03-18 12:32:59 -04005# Copyright (c) 2022 J. F. Lucas. All rights reserved.
ajay_dp001cf5232a2021-04-13 20:48:07 +05306# =========================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ================================= LICENSE_END ===========================
19
20#################################################################
21# Global Configuration Defaults.
22#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010026 centralizedLoggingEnabled: true
ajay_dp001cf5232a2021-04-13 20:48:07 +053027
28#################################################################
29# Filebeat Configuration Defaults.
30#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
ajay_dp001e9b1e322021-11-02 20:42:12 +053036# Secrets Configuration.
37#################################################################
38secrets:
39 - uid: &drPubCredsUID drpubcreds
40 type: basicAuth
41 login: '{{ .Values.drPubscriberCreds.username }}'
42 password: '{{ .Values.drPubscriberCreds.password }}'
43 passwordPolicy: required
44
45#################################################################
ajay_dp001cf5232a2021-04-13 20:48:07 +053046# InitContainer Images.
47#################################################################
48tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Tomasz Wrobel1c39a902022-01-12 10:49:51 +010049certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
ajay_dp001cf5232a2021-04-13 20:48:07 +053050
51#################################################################
52# Application Configuration Defaults.
53#################################################################
54# Application Image
Tomasz Wrobelf39c6402022-09-12 15:48:10 +020055image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.9.0
ajay_dp001cf5232a2021-04-13 20:48:07 +053056pullPolicy: Always
57
58# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010059# if path is set to null sidecar won't be deployed in spite of
60# global.centralizedLoggingEnabled setting.
61log:
62 path: /var/log/ONAP
63logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
ajay_dp001cf5232a2021-04-13 20:48:07 +053064
65# Directory where TLS certs should be stored
66# if absent, no certs will be retrieved and stored
67certDirectory: /opt/app/datafile/etc/cert
68
69# TLS role -- set to true if microservice acts as server
70# If true, an init container will retrieve a server cert
71# and key from AAF and mount them in certDirectory.
Andreas Geisslerb0841b82022-12-16 10:40:21 +010072tlsServer: false
ajay_dp001cf5232a2021-04-13 20:48:07 +053073
74# CMPv2 certificate
75# It is used only when:
76# - certDirectory is set
77# - global cmpv2Enabled flag is set to true
78# - flag useCmpv2Certificates is set to true
79# Disabled by default
80useCmpv2Certificates: false
81certificates:
82 - mountPath: /opt/app/datafile/etc/cert/external
83 commonName: dcae-datafile-collector
84 dnsNames:
85 - dcae-datafile-collector
86 - datafile-collector
87 - datafile
88 keystore:
89 outputType:
90 - p12
91 passwordSecretRef:
92 name: datafile-collector-cmpv2-keystore-password
93 key: password
94 create: true
95
96# Dependencies
97readinessCheck:
98 wait_for:
99 containers:
ajay_dp001cf5232a2021-04-13 20:48:07 +0530100 - dmaap-bc
101 - dmaap-provisioning-job
rope2525a7fbee2022-07-25 20:00:36 +0100102 - message-router
ajay_dp001cf5232a2021-04-13 20:48:07 +0530103
104# Probe Configuration
105readiness:
106 initialDelaySeconds: 10
107 periodSeconds: 15
108 timeoutSeconds: 1
109 path: /heartbeat
110 scheme: HTTP
111 port: 8100
112
113# Service Configuration
114service:
115 type: ClusterIP
116 name: datafile-collector
117 ports:
rope2525a7fbee2022-07-25 20:00:36 +0100118 - name: http
ajay_dp001cf5232a2021-04-13 20:48:07 +0530119 port: 8443
120 plain_port: 8100
121 port_protocol: http
122
Andreas Geissler261763a2022-10-17 18:39:54 +0200123ingress:
124 enabled: false
125 service:
126 - baseaddr: "dcae-datafile-collector-api"
127 name: "datafile-collector"
128 port: 8443
129 plain_port: 8100
130 config:
131 ssl: "redirect"
132
ajay_dp001e9b1e322021-11-02 20:42:12 +0530133# Data Router Publisher Credentials
134drPubscriberCreds:
135 username: username
136 password: password
137
138credentials:
139- name: DR_USERNAME
140 uid: *drPubCredsUID
141 key: login
142- name: DR_PASSWORD
143 uid: *drPubCredsUID
144 key: password
145
ajay_dp001cf5232a2021-04-13 20:48:07 +0530146# Initial Application Configuration
147applicationConfig:
148 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
149 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
150 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
151 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100152 dmaap.certificateConfig.enableCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530153 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
154 dmaap.dmaapConsumerConfiguration.consumerId: C12
155 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100156 dmaap.security.enableDmaapCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530157 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
158 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
159 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
160 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
161 service_calls: []
162 sftp.security.strictHostKeyChecking: true
163 streams_publishes:
164 PM_MEAS_FILES:
165 dmaap_info:
166 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
167 location: loc00
168 log_url: ${DR_LOG_URL_0}
169 publish_url: ${DR_FILES_PUBLISHER_URL_0}
ajay_dp001e9b1e322021-11-02 20:42:12 +0530170 username: ${DR_USERNAME}
171 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530172 type: data_router
173 streams_subscribes:
174 dmaap_subscriber:
175 dmaap_info:
rope2525a7fbee2022-07-25 20:00:36 +0100176 topic_url: "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530177 type: message_router
178
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100179applicationEnv:
180 #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
181 #Temporary Dummy CBS Port Value until internal SDK library is updated
182 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
183
ajay_dp001cf5232a2021-04-13 20:48:07 +0530184# DataRouter Feed Configuration
185drFeedConfig:
186 - feedName: bulk_pm_feed
187 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530188 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530189 asprClassification: unclassified
190 feedDescription: DFC Feed Creation
191
192# DataRouter Publisher Configuration
193drPubConfig:
194 - feedName: bulk_pm_feed
ajay_dp001e9b1e322021-11-02 20:42:12 +0530195 username: ${DR_USERNAME}
196 userpwd: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530197 dcaeLocationName: loc00
198
199# ConfigMap Configuration for Feed, Dr_Publisher
200volumes:
201 - name: feeds-config
202 path: /opt/app/config/feeds
203 - name: drpub-config
204 path: /opt/app/config/dr_pubs
205
206# Resource Limit Flavor -By Default Using Small
207flavor: small
208
209# Segregation for Different Environment (Small and Large)
210resources:
211 small:
212 limits:
213 cpu: 1
214 memory: 1Gi
215 requests:
216 cpu: 500m
217 memory: 768Mi
218 large:
219 limits:
220 cpu: 2
221 memory: 2Gi
222 requests:
223 cpu: 1
224 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200225 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200226
227#Pods Service Account
228serviceAccount:
229 nameOverride: dcae-datafile-collector
230 roles:
231 - read