blob: ee21e10109fc830a7097a1586b406e1435e6095d [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
AndrewLambbd6ff6b2023-05-04 15:56:49 +0100128serviceMesh:
129 authorizationPolicy:
130 authorizedPrincipals:
131 - serviceAccount: dcae-pm-mapper-read
132 - serviceAccount: message-router-read
133 - serviceAccount: istio-ingress
134 namespace: istio-ingress
135
ajay_dp001e9b1e322021-11-02 20:42:12 +0530136# Data Router Publisher Credentials
137drPubscriberCreds:
138 username: username
139 password: password
140
141credentials:
142- name: DR_USERNAME
143 uid: *drPubCredsUID
144 key: login
145- name: DR_PASSWORD
146 uid: *drPubCredsUID
147 key: password
148
ajay_dp001cf5232a2021-04-13 20:48:07 +0530149# Initial Application Configuration
150applicationConfig:
151 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
152 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
153 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
154 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100155 dmaap.certificateConfig.enableCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530156 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
157 dmaap.dmaapConsumerConfiguration.consumerId: C12
158 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100159 dmaap.security.enableDmaapCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530160 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
161 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
162 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
163 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
164 service_calls: []
165 sftp.security.strictHostKeyChecking: true
166 streams_publishes:
167 PM_MEAS_FILES:
168 dmaap_info:
169 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
170 location: loc00
171 log_url: ${DR_LOG_URL_0}
172 publish_url: ${DR_FILES_PUBLISHER_URL_0}
ajay_dp001e9b1e322021-11-02 20:42:12 +0530173 username: ${DR_USERNAME}
174 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530175 type: data_router
176 streams_subscribes:
177 dmaap_subscriber:
178 dmaap_info:
rope2525a7fbee2022-07-25 20:00:36 +0100179 topic_url: "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530180 type: message_router
181
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100182applicationEnv:
183 #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
184 #Temporary Dummy CBS Port Value until internal SDK library is updated
185 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
186
ajay_dp001cf5232a2021-04-13 20:48:07 +0530187# DataRouter Feed Configuration
188drFeedConfig:
189 - feedName: bulk_pm_feed
190 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530191 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530192 asprClassification: unclassified
193 feedDescription: DFC Feed Creation
194
195# DataRouter Publisher Configuration
196drPubConfig:
197 - feedName: bulk_pm_feed
ajay_dp001e9b1e322021-11-02 20:42:12 +0530198 username: ${DR_USERNAME}
199 userpwd: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530200 dcaeLocationName: loc00
201
202# ConfigMap Configuration for Feed, Dr_Publisher
203volumes:
204 - name: feeds-config
205 path: /opt/app/config/feeds
206 - name: drpub-config
207 path: /opt/app/config/dr_pubs
208
209# Resource Limit Flavor -By Default Using Small
210flavor: small
211
212# Segregation for Different Environment (Small and Large)
213resources:
214 small:
215 limits:
216 cpu: 1
217 memory: 1Gi
218 requests:
219 cpu: 500m
220 memory: 768Mi
221 large:
222 limits:
223 cpu: 2
224 memory: 2Gi
225 requests:
226 cpu: 1
227 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200228 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200229
230#Pods Service Account
231serviceAccount:
232 nameOverride: dcae-datafile-collector
233 roles:
234 - read