blob: 2ce6c8977500c7257a37bbc823391f3b52b5c82b [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:
99 - dcae-config-binding-service
100 - aaf-cm
101 - dmaap-bc
102 - dmaap-provisioning-job
103
104# Probe Configuration
105readiness:
106 initialDelaySeconds: 10
107 periodSeconds: 15
108 timeoutSeconds: 1
109 path: /heartbeat
110 scheme: HTTP
111 port: 8100
112
113# Service Configuration
114service:
115 type: ClusterIP
116 name: datafile-collector
117 ports:
118 - name: https
119 port: 8443
120 plain_port: 8100
121 port_protocol: http
122
Remigiusz Janeczek71129592021-09-10 11:55:40 +0200123# Environment variables
124applicationEnv:
125# Empty path forces DFC to use Consul configuration, which allows app runtime reconfiguration.
126# It's a workaround because DMAAP specific env variables are not available in main container.
127 CBS_CLIENT_CONFIG_PATH: ''
128
ajay_dp001e9b1e322021-11-02 20:42:12 +0530129# Data Router Publisher Credentials
130drPubscriberCreds:
131 username: username
132 password: password
133
134credentials:
135- name: DR_USERNAME
136 uid: *drPubCredsUID
137 key: login
138- name: DR_PASSWORD
139 uid: *drPubCredsUID
140 key: password
141
ajay_dp001cf5232a2021-04-13 20:48:07 +0530142# Initial Application Configuration
143applicationConfig:
144 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
145 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
146 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
147 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
148 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
149 dmaap.dmaapConsumerConfiguration.consumerId: C12
150 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
151 dmaap.security.enableDmaapCertAuth: true
152 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
153 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
154 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
155 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
156 service_calls: []
157 sftp.security.strictHostKeyChecking: true
158 streams_publishes:
159 PM_MEAS_FILES:
160 dmaap_info:
161 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
162 location: loc00
163 log_url: ${DR_LOG_URL_0}
164 publish_url: ${DR_FILES_PUBLISHER_URL_0}
ajay_dp001e9b1e322021-11-02 20:42:12 +0530165 username: ${DR_USERNAME}
166 password: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530167 type: data_router
168 streams_subscribes:
169 dmaap_subscriber:
170 dmaap_info:
171 topic_url: "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
172 type: message_router
173
174# DataRouter Feed Configuration
175drFeedConfig:
176 - feedName: bulk_pm_feed
177 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530178 feedVersion: "0.0"
ajay_dp001cf5232a2021-04-13 20:48:07 +0530179 asprClassification: unclassified
180 feedDescription: DFC Feed Creation
181
182# DataRouter Publisher Configuration
183drPubConfig:
184 - feedName: bulk_pm_feed
ajay_dp001e9b1e322021-11-02 20:42:12 +0530185 username: ${DR_USERNAME}
186 userpwd: ${DR_PASSWORD}
ajay_dp001cf5232a2021-04-13 20:48:07 +0530187 dcaeLocationName: loc00
188
189# ConfigMap Configuration for Feed, Dr_Publisher
190volumes:
191 - name: feeds-config
192 path: /opt/app/config/feeds
193 - name: drpub-config
194 path: /opt/app/config/dr_pubs
195
196# Resource Limit Flavor -By Default Using Small
197flavor: small
198
199# Segregation for Different Environment (Small and Large)
200resources:
201 small:
202 limits:
203 cpu: 1
204 memory: 1Gi
205 requests:
206 cpu: 500m
207 memory: 768Mi
208 large:
209 limits:
210 cpu: 2
211 memory: 2Gi
212 requests:
213 cpu: 1
214 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200215 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200216
217#Pods Service Account
218serviceAccount:
219 nameOverride: dcae-datafile-collector
220 roles:
221 - read