blob: 1cc450d9369ddb2a35705ce6631506aaf90b8535 [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.
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#################################################################
Tomasz Wrobel1c39a902022-01-12 10:49:51 +010048certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
ajay_dp001cf5232a2021-04-13 20:48:07 +053049
50#################################################################
51# Application Configuration Defaults.
52#################################################################
53# Application Image
Tomasz Wrobelf39c6402022-09-12 15:48:10 +020054image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.9.0
ajay_dp001cf5232a2021-04-13 20:48:07 +053055pullPolicy: Always
56
57# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010058# if path is set to null sidecar won't be deployed in spite of
59# global.centralizedLoggingEnabled setting.
60log:
61 path: /var/log/ONAP
62logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
ajay_dp001cf5232a2021-04-13 20:48:07 +053063
64# Directory where TLS certs should be stored
65# if absent, no certs will be retrieved and stored
66certDirectory: /opt/app/datafile/etc/cert
67
ajay_dp001cf5232a2021-04-13 20:48:07 +053068# CMPv2 certificate
69# It is used only when:
70# - certDirectory is set
71# - global cmpv2Enabled flag is set to true
72# - flag useCmpv2Certificates is set to true
73# Disabled by default
74useCmpv2Certificates: false
75certificates:
76 - mountPath: /opt/app/datafile/etc/cert/external
77 commonName: dcae-datafile-collector
78 dnsNames:
79 - dcae-datafile-collector
80 - datafile-collector
81 - datafile
82 keystore:
83 outputType:
84 - p12
85 passwordSecretRef:
86 name: datafile-collector-cmpv2-keystore-password
87 key: password
88 create: true
89
90# Dependencies
91readinessCheck:
92 wait_for:
93 containers:
ajay_dp001cf5232a2021-04-13 20:48:07 +053094 - dmaap-bc
95 - dmaap-provisioning-job
rope2525a7fbee2022-07-25 20:00:36 +010096 - message-router
ajay_dp001cf5232a2021-04-13 20:48:07 +053097
98# Probe Configuration
99readiness:
100 initialDelaySeconds: 10
101 periodSeconds: 15
102 timeoutSeconds: 1
103 path: /heartbeat
104 scheme: HTTP
105 port: 8100
106
107# Service Configuration
108service:
109 type: ClusterIP
110 name: datafile-collector
111 ports:
rope2525a7fbee2022-07-25 20:00:36 +0100112 - name: http
ajay_dp001cf5232a2021-04-13 20:48:07 +0530113 port: 8443
114 plain_port: 8100
115 port_protocol: http
116
Andreas Geissler261763a2022-10-17 18:39:54 +0200117ingress:
118 enabled: false
119 service:
120 - baseaddr: "dcae-datafile-collector-api"
121 name: "datafile-collector"
122 port: 8443
123 plain_port: 8100
124 config:
125 ssl: "redirect"
126
ajay_dp001e9b1e322021-11-02 20:42:12 +0530127# Data Router Publisher Credentials
128drPubscriberCreds:
129 username: username
130 password: password
131
132credentials:
133- name: DR_USERNAME
134 uid: *drPubCredsUID
135 key: login
136- name: DR_PASSWORD
137 uid: *drPubCredsUID
138 key: password
139
ajay_dp001cf5232a2021-04-13 20:48:07 +0530140# Initial Application Configuration
141applicationConfig:
142 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
143 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
144 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
145 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100146 dmaap.certificateConfig.enableCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530147 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
148 dmaap.dmaapConsumerConfiguration.consumerId: C12
149 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100150 dmaap.security.enableDmaapCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530151 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
152 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
153 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
154 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
155 service_calls: []
156 sftp.security.strictHostKeyChecking: true
157 streams_publishes:
158 PM_MEAS_FILES:
159 dmaap_info:
160 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
161 location: loc00
162 log_url: ${DR_LOG_URL_0}
163 publish_url: ${DR_FILES_PUBLISHER_URL_0}
ajay_dp001e9b1e322021-11-02 20:42:12 +0530164 username: ${DR_USERNAME}
165 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530166 type: data_router
167 streams_subscribes:
168 dmaap_subscriber:
169 dmaap_info:
rope2525a7fbee2022-07-25 20:00:36 +0100170 topic_url: "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530171 type: message_router
172
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100173applicationEnv:
174 #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
175 #Temporary Dummy CBS Port Value until internal SDK library is updated
176 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
177
ajay_dp001cf5232a2021-04-13 20:48:07 +0530178# DataRouter Feed Configuration
179drFeedConfig:
180 - feedName: bulk_pm_feed
181 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530182 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530183 asprClassification: unclassified
184 feedDescription: DFC Feed Creation
185
186# DataRouter Publisher Configuration
187drPubConfig:
188 - feedName: bulk_pm_feed
ajay_dp001e9b1e322021-11-02 20:42:12 +0530189 username: ${DR_USERNAME}
190 userpwd: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530191 dcaeLocationName: loc00
192
193# ConfigMap Configuration for Feed, Dr_Publisher
194volumes:
195 - name: feeds-config
196 path: /opt/app/config/feeds
197 - name: drpub-config
198 path: /opt/app/config/dr_pubs
199
200# Resource Limit Flavor -By Default Using Small
201flavor: small
202
203# Segregation for Different Environment (Small and Large)
204resources:
205 small:
206 limits:
207 cpu: 1
208 memory: 1Gi
209 requests:
210 cpu: 500m
211 memory: 768Mi
212 large:
213 limits:
214 cpu: 2
215 memory: 2Gi
216 requests:
217 cpu: 1
218 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200219 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200220
221#Pods Service Account
222serviceAccount:
223 nameOverride: dcae-datafile-collector
224 roles:
225 - read