blob: fa26fb487ebb25eeb19cfe4799b21dae1f1a0fa4 [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
Jack Lucas838ce7e2023-07-18 17:52:13 -040092# Waiting for dmaap-dr-node (which depends on dmaap-dr-prov)
93# to be sure that we can provision the DR feed that's needed
ajay_dp001cf5232a2021-04-13 20:48:07 +053094readinessCheck:
95 wait_for:
96 containers:
Jack Lucas838ce7e2023-07-18 17:52:13 -040097 - dmaap-dr-node
rope2525a7fbee2022-07-25 20:00:36 +010098 - message-router
ajay_dp001cf5232a2021-04-13 20:48:07 +053099
100# Probe Configuration
101readiness:
102 initialDelaySeconds: 10
103 periodSeconds: 15
104 timeoutSeconds: 1
105 path: /heartbeat
106 scheme: HTTP
107 port: 8100
108
109# Service Configuration
110service:
111 type: ClusterIP
112 name: datafile-collector
113 ports:
rope2525a7fbee2022-07-25 20:00:36 +0100114 - name: http
ajay_dp001cf5232a2021-04-13 20:48:07 +0530115 port: 8443
116 plain_port: 8100
117 port_protocol: http
118
Andreas Geissler261763a2022-10-17 18:39:54 +0200119ingress:
120 enabled: false
121 service:
122 - baseaddr: "dcae-datafile-collector-api"
123 name: "datafile-collector"
124 port: 8443
125 plain_port: 8100
126 config:
127 ssl: "redirect"
128
AndrewLambbd6ff6b2023-05-04 15:56:49 +0100129serviceMesh:
130 authorizationPolicy:
131 authorizedPrincipals:
132 - serviceAccount: dcae-pm-mapper-read
133 - serviceAccount: message-router-read
134 - serviceAccount: istio-ingress
135 namespace: istio-ingress
136
ajay_dp001e9b1e322021-11-02 20:42:12 +0530137# Data Router Publisher Credentials
138drPubscriberCreds:
139 username: username
140 password: password
141
142credentials:
143- name: DR_USERNAME
144 uid: *drPubCredsUID
145 key: login
146- name: DR_PASSWORD
147 uid: *drPubCredsUID
148 key: password
149
ajay_dp001cf5232a2021-04-13 20:48:07 +0530150# Initial Application Configuration
151applicationConfig:
152 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
153 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
154 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
155 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100156 dmaap.certificateConfig.enableCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530157 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
158 dmaap.dmaapConsumerConfiguration.consumerId: C12
159 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100160 dmaap.security.enableDmaapCertAuth: false
ajay_dp001cf5232a2021-04-13 20:48:07 +0530161 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
162 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
163 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
164 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
165 service_calls: []
166 sftp.security.strictHostKeyChecking: true
167 streams_publishes:
168 PM_MEAS_FILES:
169 dmaap_info:
Jack Lucas838ce7e2023-07-18 17:52:13 -0400170 publisher_id: "dummy_id"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530171 location: loc00
Jack Lucas838ce7e2023-07-18 17:52:13 -0400172 log_url: ${DR_FEED_LOGURL_0}
173 publish_url: ${DR_FEED_PUBURL_0}
ajay_dp001e9b1e322021-11-02 20:42:12 +0530174 username: ${DR_USERNAME}
175 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530176 type: data_router
177 streams_subscribes:
178 dmaap_subscriber:
179 dmaap_info:
rope2525a7fbee2022-07-25 20:00:36 +0100180 topic_url: "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530181 type: message_router
182
Andreas Geissler3afce3d2023-02-15 19:21:32 +0100183applicationEnv:
184 #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
185 #Temporary Dummy CBS Port Value until internal SDK library is updated
186 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
187
ajay_dp001cf5232a2021-04-13 20:48:07 +0530188# DataRouter Feed Configuration
189drFeedConfig:
190 - feedName: bulk_pm_feed
ajay_dp0013d11fd52021-10-08 14:22:32 +0530191 feedVersion: "0.0"
Jack Lucas838ce7e2023-07-18 17:52:13 -0400192 classification: unclassified
ajay_dp001cf5232a2021-04-13 20:48:07 +0530193 feedDescription: DFC Feed Creation
Jack Lucas838ce7e2023-07-18 17:52:13 -0400194 publisher:
195 username: ${DR_USERNAME}
196 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530197
198# ConfigMap Configuration for Feed, Dr_Publisher
199volumes:
200 - name: feeds-config
201 path: /opt/app/config/feeds
ajay_dp001cf5232a2021-04-13 20:48:07 +0530202
203# Resource Limit Flavor -By Default Using Small
204flavor: small
205
206# Segregation for Different Environment (Small and Large)
207resources:
208 small:
209 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100210 cpu: "2"
211 memory: "1Gi"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530212 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100213 cpu: "1"
214 memory: "1Gi"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530215 large:
216 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100217 cpu: "4"
218 memory: "2Gi"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530219 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100220 cpu: "2"
221 memory: "2Gi"
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200222 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200223
224#Pods Service Account
225serviceAccount:
226 nameOverride: dcae-datafile-collector
227 roles:
228 - read