blob: 2b7d8885ec1380105caf16716eddea20cc2c0e54 [file] [log] [blame]
ajay_dp00115ca5122021-04-05 23:02:36 +05301# ================================ LICENSE_START ==========================
2# =========================================================================
3# Copyright (C) 2021 Nordix Foundation.
4# =========================================================================
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_dp00115ca5122021-04-05 23:02:36 +053025
26#################################################################
27# Filebeat Configuration Defaults.
28#################################################################
29filebeatConfig:
30 logstashServiceName: log-ls
31 logstashPort: 5044
32
33#################################################################
34# Secrets Configuration.
35#################################################################
36secrets:
37 - uid: &aafCredsUID aafcreds
38 type: basicAuth
39 login: '{{ .Values.aafCreds.identity }}'
40 password: '{{ .Values.aafCreds.password }}'
41 passwordPolicy: required
42 - uid: &drSubCredsUID drsubcreds
43 type: basicAuth
44 login: '{{ .Values.drSubscriberCreds.username }}'
45 password: '{{ .Values.drSubscriberCreds.password }}'
46 passwordPolicy: required
47
48#################################################################
49# InitContainer Images.
50#################################################################
51tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040052consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
ajay_dp00115ca5122021-04-05 23:02:36 +053053
54#################################################################
55# Application Configuration Defaults.
56#################################################################
57# Application Image
Vijay Venkatesh Kumar8eeeecd2021-09-13 17:02:05 -040058image: onap/org.onap.dcaegen2.services.pm-mapper:1.7.2
ajay_dp00115ca5122021-04-05 23:02:36 +053059pullPolicy: Always
60
61# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010062# if path is set to null sidecar won't be deployed in spite of
63# global.centralizedLoggingEnabled setting.
64log:
65 path: /var/log/ONAP/dcaegen2/services/pm-mapper
66logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
ajay_dp00115ca5122021-04-05 23:02:36 +053067
68# Directory where TLS certs should be stored
69# if absent, no certs will be retrieved and stored
70certDirectory: /opt/app/pm-mapper/etc/cert
71
72# TLS role -- set to true if microservice acts as server
73# If true, an init container will retrieve a server cert
74# and key from AAF and mount them in certDirectory.
75tlsServer: true
76
77# Dependencies
78readinessCheck:
79 wait_for:
80 containers:
ajay_dp00115ca5122021-04-05 23:02:36 +053081 - aaf-cm
82 - dmaap-bc
83 - dmaap-provisioning-job
84 - dcae-datafile-collector
85
86# Probe Configuration
87readiness:
88 initialDelaySeconds: 10
89 periodSeconds: 15
90 timeoutSeconds: 1
91 path: /healthcheck
92 scheme: HTTPS
93 port: 8443
94
95# Service Configuration
96service:
97 type: ClusterIP
98 name: dcae-pm-mapper
99 both_tls_and_plain: true
100 ports:
101 - name: https
102 port: 8443
103 plain_port: 8081
104 port_protocol: http
105
106# AAF Credentials
107aafCreds:
108 identity: dcae@dcae.onap.org
109 password: demo123456!
110
111# Data Router Subscriber Credentials
112drSubscriberCreds:
113 username: username
114 password: password
115
116credentials:
117- name: AAF_IDENTITY
118 uid: *aafCredsUID
119 key: login
120- name: AAF_PASSWORD
121 uid: *aafCredsUID
122 key: password
123- name: DR_USERNAME
124 uid: *drSubCredsUID
125 key: login
126- name: DR_PASSWORD
127 uid: *drSubCredsUID
128 key: password
129
130# Initial Application Configuration
131applicationConfig:
132 enable_tls: true
133 enable_http: false
134 aaf_identity: ${AAF_IDENTITY}
135 aaf_password: ${AAF_PASSWORD}
136 pm-mapper-filter: "{ \"filters\":[] }"
137 key_store_path: /opt/app/pm-mapper/etc/cert/cert.jks
138 key_store_pass_path: /opt/app/pm-mapper/etc/cert/jks.pass
139 trust_store_path: /opt/app/pm-mapper/etc/cert/trust.jks
140 trust_store_pass_path: /opt/app/pm-mapper/etc/cert/trust.pass
141 dmaap_dr_delete_endpoint: https://dmaap-dr-node:8443/delete
142 streams_publishes:
143 dmaap_publisher:
144 type: message_router
145 dmaap_info:
146 client_id: ${MR_FILES_PUBLISHER_CLIENT_ID_0}
147 location: san-francisco
148 client_role: org.onap.dcae.pmPublisher
149 topic_url: http://message-router:3904/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
150 streams_subscribes:
151 dmaap_subscriber:
152 type: data_router
153 dmaap_info:
154 subscriber_id: ${DR_FILES_SUBSCRIBER_ID_0}
155 decompress: true
156 privileged: true
157 username: ${DR_USERNAME}
158 password: ${DR_PASSWORD}
159 location: san-francisco
160 delivery_url: https://dcae-pm-mapper:8443/delivery
161
162# DataRouter Feed Configuration
163drFeedConfig:
164 - feedName: bulk_pm_feed
165 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530166 feedVersion: "0.0"
ajay_dp00115ca5122021-04-05 23:02:36 +0530167 asprClassification: unclassified
168 feedDescription: DFC Feed Creation
169
170# DataRouter Subscriber Configuration
171drSubConfig:
172 - feedName: bulk_pm_feed
173 decompress: true
174 username: ${DR_USERNAME}
175 userpwd: ${DR_PASSWORD}
176 dcaeLocationName: loc00
177 privilegedSubscriber: true
178 deliveryURL: https://dcae-pm-mapper:8443/delivery
179
180# MessageRouter Topic, Publisher Configuration
181mrTopicsConfig:
182 - topicName: PERFORMANCE_MEASUREMENTS
183 topicDescription: PM Mapper publishes perf3gpp VES PM Events to authenticated MR topic
184 owner: dcaecm
185 tnxEnabled: false
186 clients:
187 - dcaeLocationName: san-francisco
188 clientRole: org.onap.dcae.pmPublisher
189 action:
190 - pub
191 - view
192
193# ConfigMap Configuration for Dr Feed, Subscriber, MR Topics
194volumes:
195 - name: feeds-config
196 path: /opt/app/config/feeds
197 - name: drsub-config
198 path: /opt/app/config/dr_subs
199 - name: topics-config
200 path: /opt/app/config/topics
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: 1
213 memory: 1Gi
214 large:
215 limits:
216 cpu: 2
217 memory: 2Gi
218 requests:
219 cpu: 2
220 memory: 2Gi
Joanna Jeremiczb6bcd8e2021-07-29 11:08:24 +0200221 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200222
223#Pods Service Account
224serviceAccount:
225 nameOverride: dcae-pm-mapper
226 roles:
227 - read