blob: cbe02a1bf9e845352d984b8c5257e334f8844e07 [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 Geissler3502e732022-11-14 13:37:48 +010072tlsServer: true
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:
Andreas Geissler3502e732022-11-14 13:37:48 +0100100 - aaf-cm
ajay_dp001cf5232a2021-04-13 20:48:07 +0530101 - dmaap-bc
102 - dmaap-provisioning-job
rope2525a7fbee2022-07-25 20:00:36 +0100103 - message-router
ajay_dp001cf5232a2021-04-13 20:48:07 +0530104
105# Probe Configuration
106readiness:
107 initialDelaySeconds: 10
108 periodSeconds: 15
109 timeoutSeconds: 1
110 path: /heartbeat
111 scheme: HTTP
112 port: 8100
113
114# Service Configuration
115service:
116 type: ClusterIP
117 name: datafile-collector
118 ports:
rope2525a7fbee2022-07-25 20:00:36 +0100119 - name: http
ajay_dp001cf5232a2021-04-13 20:48:07 +0530120 port: 8443
121 plain_port: 8100
122 port_protocol: http
123
Andreas Geissler261763a2022-10-17 18:39:54 +0200124ingress:
125 enabled: false
126 service:
127 - baseaddr: "dcae-datafile-collector-api"
128 name: "datafile-collector"
129 port: 8443
130 plain_port: 8100
131 config:
132 ssl: "redirect"
133
ajay_dp001e9b1e322021-11-02 20:42:12 +0530134# Data Router Publisher Credentials
135drPubscriberCreds:
136 username: username
137 password: password
138
139credentials:
140- name: DR_USERNAME
141 uid: *drPubCredsUID
142 key: login
143- name: DR_PASSWORD
144 uid: *drPubCredsUID
145 key: password
146
ajay_dp001cf5232a2021-04-13 20:48:07 +0530147# Initial Application Configuration
148applicationConfig:
149 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
150 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
151 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
152 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
Tomasz Wrobel077209e2022-07-15 12:27:49 +0200153 dmaap.certificateConfig.enableCertAuth: true
ajay_dp001cf5232a2021-04-13 20:48:07 +0530154 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
155 dmaap.dmaapConsumerConfiguration.consumerId: C12
156 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
157 dmaap.security.enableDmaapCertAuth: true
158 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
159 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
160 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
161 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
162 service_calls: []
163 sftp.security.strictHostKeyChecking: true
164 streams_publishes:
165 PM_MEAS_FILES:
166 dmaap_info:
167 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
168 location: loc00
169 log_url: ${DR_LOG_URL_0}
170 publish_url: ${DR_FILES_PUBLISHER_URL_0}
ajay_dp001e9b1e322021-11-02 20:42:12 +0530171 username: ${DR_USERNAME}
172 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530173 type: data_router
174 streams_subscribes:
175 dmaap_subscriber:
176 dmaap_info:
rope2525a7fbee2022-07-25 20:00:36 +0100177 topic_url: "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530178 type: message_router
179
180# DataRouter Feed Configuration
181drFeedConfig:
182 - feedName: bulk_pm_feed
183 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530184 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530185 asprClassification: unclassified
186 feedDescription: DFC Feed Creation
187
188# DataRouter Publisher Configuration
189drPubConfig:
190 - feedName: bulk_pm_feed
ajay_dp001e9b1e322021-11-02 20:42:12 +0530191 username: ${DR_USERNAME}
192 userpwd: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530193 dcaeLocationName: loc00
194
195# ConfigMap Configuration for Feed, Dr_Publisher
196volumes:
197 - name: feeds-config
198 path: /opt/app/config/feeds
199 - name: drpub-config
200 path: /opt/app/config/dr_pubs
201
202# Resource Limit Flavor -By Default Using Small
203flavor: small
204
205# Segregation for Different Environment (Small and Large)
206resources:
207 small:
208 limits:
209 cpu: 1
210 memory: 1Gi
211 requests:
212 cpu: 500m
213 memory: 768Mi
214 large:
215 limits:
216 cpu: 2
217 memory: 2Gi
218 requests:
219 cpu: 1
220 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200221 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200222
223#Pods Service Account
224serviceAccount:
225 nameOverride: dcae-datafile-collector
226 roles:
227 - read