blob: d00cb2d62dbb189e9e3e32099fbe6a16fd3c6641 [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.
ajay_dp001cf5232a2021-04-13 20:48:07 +05304# =========================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ================================= LICENSE_END ===========================
17
18#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010024 centralizedLoggingEnabled: true
ajay_dp001cf5232a2021-04-13 20:48:07 +053025
26#################################################################
27# Filebeat Configuration Defaults.
28#################################################################
29filebeatConfig:
30 logstashServiceName: log-ls
31 logstashPort: 5044
32
33#################################################################
ajay_dp001e9b1e322021-11-02 20:42:12 +053034# Secrets Configuration.
35#################################################################
36secrets:
37 - uid: &drPubCredsUID drpubcreds
38 type: basicAuth
39 login: '{{ .Values.drPubscriberCreds.username }}'
40 password: '{{ .Values.drPubscriberCreds.password }}'
41 passwordPolicy: required
42
43#################################################################
ajay_dp001cf5232a2021-04-13 20:48:07 +053044# InitContainer Images.
45#################################################################
46tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040047consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
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
Remigiusz Janeczek71129592021-09-10 11:55:40 +020054image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.1
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
68# TLS role -- set to true if microservice acts as server
69# If true, an init container will retrieve a server cert
70# and key from AAF and mount them in certDirectory.
71tlsServer: true
72
73# CMPv2 certificate
74# It is used only when:
75# - certDirectory is set
76# - global cmpv2Enabled flag is set to true
77# - flag useCmpv2Certificates is set to true
78# Disabled by default
79useCmpv2Certificates: false
80certificates:
81 - mountPath: /opt/app/datafile/etc/cert/external
82 commonName: dcae-datafile-collector
83 dnsNames:
84 - dcae-datafile-collector
85 - datafile-collector
86 - datafile
87 keystore:
88 outputType:
89 - p12
90 passwordSecretRef:
91 name: datafile-collector-cmpv2-keystore-password
92 key: password
93 create: true
94
95# Dependencies
96readinessCheck:
97 wait_for:
98 containers:
ajay_dp001cf5232a2021-04-13 20:48:07 +053099 - aaf-cm
100 - dmaap-bc
101 - dmaap-provisioning-job
102
103# Probe Configuration
104readiness:
105 initialDelaySeconds: 10
106 periodSeconds: 15
107 timeoutSeconds: 1
108 path: /heartbeat
109 scheme: HTTP
110 port: 8100
111
112# Service Configuration
113service:
114 type: ClusterIP
115 name: datafile-collector
116 ports:
117 - name: https
118 port: 8443
119 plain_port: 8100
120 port_protocol: http
121
ajay_dp001e9b1e322021-11-02 20:42:12 +0530122# Data Router Publisher Credentials
123drPubscriberCreds:
124 username: username
125 password: password
126
127credentials:
128- name: DR_USERNAME
129 uid: *drPubCredsUID
130 key: login
131- name: DR_PASSWORD
132 uid: *drPubCredsUID
133 key: password
134
ajay_dp001cf5232a2021-04-13 20:48:07 +0530135# Initial Application Configuration
136applicationConfig:
137 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
138 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
139 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
140 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
141 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
142 dmaap.dmaapConsumerConfiguration.consumerId: C12
143 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
144 dmaap.security.enableDmaapCertAuth: true
145 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
146 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
147 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
148 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
149 service_calls: []
150 sftp.security.strictHostKeyChecking: true
151 streams_publishes:
152 PM_MEAS_FILES:
153 dmaap_info:
154 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
155 location: loc00
156 log_url: ${DR_LOG_URL_0}
157 publish_url: ${DR_FILES_PUBLISHER_URL_0}
ajay_dp001e9b1e322021-11-02 20:42:12 +0530158 username: ${DR_USERNAME}
159 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530160 type: data_router
161 streams_subscribes:
162 dmaap_subscriber:
163 dmaap_info:
164 topic_url: "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
165 type: message_router
166
167# DataRouter Feed Configuration
168drFeedConfig:
169 - feedName: bulk_pm_feed
170 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530171 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530172 asprClassification: unclassified
173 feedDescription: DFC Feed Creation
174
175# DataRouter Publisher Configuration
176drPubConfig:
177 - feedName: bulk_pm_feed
ajay_dp001e9b1e322021-11-02 20:42:12 +0530178 username: ${DR_USERNAME}
179 userpwd: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530180 dcaeLocationName: loc00
181
182# ConfigMap Configuration for Feed, Dr_Publisher
183volumes:
184 - name: feeds-config
185 path: /opt/app/config/feeds
186 - name: drpub-config
187 path: /opt/app/config/dr_pubs
188
189# Resource Limit Flavor -By Default Using Small
190flavor: small
191
192# Segregation for Different Environment (Small and Large)
193resources:
194 small:
195 limits:
196 cpu: 1
197 memory: 1Gi
198 requests:
199 cpu: 500m
200 memory: 768Mi
201 large:
202 limits:
203 cpu: 2
204 memory: 2Gi
205 requests:
206 cpu: 1
207 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200208 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200209
210#Pods Service Account
211serviceAccount:
212 nameOverride: dcae-datafile-collector
213 roles:
214 - read