blob: 7c6b3e964911171f0e2315426f4f5b0f83ee72a0 [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 Lucas64da4e72023-03-03 14:46:05 -05005# Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
sushant5305805d72023-04-06 17:35:23 +05306# Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
ajay_dp001cf5232a2021-04-13 20:48:07 +05307# =========================================================================
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19# ================================= LICENSE_END ===========================
20
21#################################################################
22# Global Configuration Defaults.
23#################################################################
24global:
25 nodePortPrefix: 302
26 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010027 centralizedLoggingEnabled: true
ajay_dp001cf5232a2021-04-13 20:48:07 +053028
29#################################################################
30# Filebeat Configuration Defaults.
31#################################################################
32filebeatConfig:
33 logstashServiceName: log-ls
34 logstashPort: 5044
35
36#################################################################
ajay_dp001e9b1e322021-11-02 20:42:12 +053037# Secrets Configuration.
38#################################################################
39secrets:
40 - uid: &drPubCredsUID drpubcreds
41 type: basicAuth
42 login: '{{ .Values.drPubscriberCreds.username }}'
43 password: '{{ .Values.drPubscriberCreds.password }}'
44 passwordPolicy: required
45
46#################################################################
ajay_dp001cf5232a2021-04-13 20:48:07 +053047# InitContainer Images.
48#################################################################
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
sushant5305805d72023-04-06 17:35:23 +053055image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.10.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
ajay_dp001cf5232a2021-04-13 20:48:07 +053069# CMPv2 certificate
70# It is used only when:
71# - certDirectory is set
72# - global cmpv2Enabled flag is set to true
73# - flag useCmpv2Certificates is set to true
74# Disabled by default
75useCmpv2Certificates: false
76certificates:
77 - mountPath: /opt/app/datafile/etc/cert/external
78 commonName: dcae-datafile-collector
79 dnsNames:
80 - dcae-datafile-collector
81 - datafile-collector
82 - datafile
83 keystore:
84 outputType:
85 - p12
86 passwordSecretRef:
87 name: datafile-collector-cmpv2-keystore-password
88 key: password
89 create: true
90
91# Dependencies
92readinessCheck:
93 wait_for:
94 containers:
ajay_dp001cf5232a2021-04-13 20:48:07 +053095 - dmaap-bc
96 - dmaap-provisioning-job
rope2525a7fbee2022-07-25 20:00:36 +010097 - message-router
ajay_dp001cf5232a2021-04-13 20:48:07 +053098
99# Probe Configuration
100readiness:
101 initialDelaySeconds: 10
102 periodSeconds: 15
103 timeoutSeconds: 1
104 path: /heartbeat
105 scheme: HTTP
106 port: 8100
107
108# Service Configuration
109service:
110 type: ClusterIP
111 name: datafile-collector
112 ports:
rope2525a7fbee2022-07-25 20:00:36 +0100113 - name: http
ajay_dp001cf5232a2021-04-13 20:48:07 +0530114 port: 8443
115 plain_port: 8100
116 port_protocol: http
117
Andreas Geissler261763a2022-10-17 18:39:54 +0200118ingress:
119 enabled: false
120 service:
121 - baseaddr: "dcae-datafile-collector-api"
122 name: "datafile-collector"
123 port: 8443
124 plain_port: 8100
125 config:
126 ssl: "redirect"
127
ajay_dp001e9b1e322021-11-02 20:42:12 +0530128# Data Router Publisher Credentials
129drPubscriberCreds:
130 username: username
131 password: password
132
133credentials:
134- name: DR_USERNAME
135 uid: *drPubCredsUID
136 key: login
137- name: DR_PASSWORD
138 uid: *drPubCredsUID
139 key: password
140
ajay_dp001cf5232a2021-04-13 20:48:07 +0530141# Initial Application Configuration
142applicationConfig:
143 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
144 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
145 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
146 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100147 dmaap.certificateConfig.enableCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530148 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
149 dmaap.dmaapConsumerConfiguration.consumerId: C12
150 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100151 dmaap.security.enableDmaapCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530152 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
153 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
154 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
155 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
156 service_calls: []
157 sftp.security.strictHostKeyChecking: true
158 streams_publishes:
159 PM_MEAS_FILES:
160 dmaap_info:
161 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
162 location: loc00
163 log_url: ${DR_LOG_URL_0}
164 publish_url: ${DR_FILES_PUBLISHER_URL_0}
ajay_dp001e9b1e322021-11-02 20:42:12 +0530165 username: ${DR_USERNAME}
166 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530167 type: data_router
168 streams_subscribes:
169 dmaap_subscriber:
170 dmaap_info:
rope2525a7fbee2022-07-25 20:00:36 +0100171 topic_url: "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530172 type: message_router
173
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100174applicationEnv:
175 #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
176 #Temporary Dummy CBS Port Value until internal SDK library is updated
177 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
178
ajay_dp001cf5232a2021-04-13 20:48:07 +0530179# DataRouter Feed Configuration
180drFeedConfig:
181 - feedName: bulk_pm_feed
182 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530183 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530184 asprClassification: unclassified
185 feedDescription: DFC Feed Creation
186
187# DataRouter Publisher Configuration
188drPubConfig:
189 - feedName: bulk_pm_feed
ajay_dp001e9b1e322021-11-02 20:42:12 +0530190 username: ${DR_USERNAME}
191 userpwd: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530192 dcaeLocationName: loc00
193
194# ConfigMap Configuration for Feed, Dr_Publisher
195volumes:
196 - name: feeds-config
197 path: /opt/app/config/feeds
198 - name: drpub-config
199 path: /opt/app/config/dr_pubs
200
201# Resource Limit Flavor -By Default Using Small
202flavor: small
203
204# Segregation for Different Environment (Small and Large)
205resources:
206 small:
207 limits:
208 cpu: 1
209 memory: 1Gi
210 requests:
211 cpu: 500m
212 memory: 768Mi
213 large:
214 limits:
215 cpu: 2
216 memory: 2Gi
217 requests:
218 cpu: 1
219 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200220 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200221
222#Pods Service Account
223serviceAccount:
224 nameOverride: dcae-datafile-collector
225 roles:
226 - read