blob: 39c4a8ed508cde091c95515b71c08453923281e4 [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:
81 - dcae-config-binding-service
82 - aaf-cm
83 - dmaap-bc
84 - dmaap-provisioning-job
85 - dcae-datafile-collector
86
87# Probe Configuration
88readiness:
89 initialDelaySeconds: 10
90 periodSeconds: 15
91 timeoutSeconds: 1
92 path: /healthcheck
93 scheme: HTTPS
94 port: 8443
95
96# Service Configuration
97service:
98 type: ClusterIP
99 name: dcae-pm-mapper
100 both_tls_and_plain: true
101 ports:
102 - name: https
103 port: 8443
104 plain_port: 8081
105 port_protocol: http
106
107# AAF Credentials
108aafCreds:
109 identity: dcae@dcae.onap.org
110 password: demo123456!
111
112# Data Router Subscriber Credentials
113drSubscriberCreds:
114 username: username
115 password: password
116
117credentials:
118- name: AAF_IDENTITY
119 uid: *aafCredsUID
120 key: login
121- name: AAF_PASSWORD
122 uid: *aafCredsUID
123 key: password
124- name: DR_USERNAME
125 uid: *drSubCredsUID
126 key: login
127- name: DR_PASSWORD
128 uid: *drSubCredsUID
129 key: password
130
131# Initial Application Configuration
132applicationConfig:
133 enable_tls: true
134 enable_http: false
135 aaf_identity: ${AAF_IDENTITY}
136 aaf_password: ${AAF_PASSWORD}
137 pm-mapper-filter: "{ \"filters\":[] }"
138 key_store_path: /opt/app/pm-mapper/etc/cert/cert.jks
139 key_store_pass_path: /opt/app/pm-mapper/etc/cert/jks.pass
140 trust_store_path: /opt/app/pm-mapper/etc/cert/trust.jks
141 trust_store_pass_path: /opt/app/pm-mapper/etc/cert/trust.pass
142 dmaap_dr_delete_endpoint: https://dmaap-dr-node:8443/delete
143 streams_publishes:
144 dmaap_publisher:
145 type: message_router
146 dmaap_info:
147 client_id: ${MR_FILES_PUBLISHER_CLIENT_ID_0}
148 location: san-francisco
149 client_role: org.onap.dcae.pmPublisher
150 topic_url: http://message-router:3904/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
151 streams_subscribes:
152 dmaap_subscriber:
153 type: data_router
154 dmaap_info:
155 subscriber_id: ${DR_FILES_SUBSCRIBER_ID_0}
156 decompress: true
157 privileged: true
158 username: ${DR_USERNAME}
159 password: ${DR_PASSWORD}
160 location: san-francisco
161 delivery_url: https://dcae-pm-mapper:8443/delivery
162
163# DataRouter Feed Configuration
164drFeedConfig:
165 - feedName: bulk_pm_feed
166 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530167 feedVersion: "0.0"
ajay_dp00115ca5122021-04-05 23:02:36 +0530168 asprClassification: unclassified
169 feedDescription: DFC Feed Creation
170
171# DataRouter Subscriber Configuration
172drSubConfig:
173 - feedName: bulk_pm_feed
174 decompress: true
175 username: ${DR_USERNAME}
176 userpwd: ${DR_PASSWORD}
177 dcaeLocationName: loc00
178 privilegedSubscriber: true
179 deliveryURL: https://dcae-pm-mapper:8443/delivery
180
181# MessageRouter Topic, Publisher Configuration
182mrTopicsConfig:
183 - topicName: PERFORMANCE_MEASUREMENTS
184 topicDescription: PM Mapper publishes perf3gpp VES PM Events to authenticated MR topic
185 owner: dcaecm
186 tnxEnabled: false
187 clients:
188 - dcaeLocationName: san-francisco
189 clientRole: org.onap.dcae.pmPublisher
190 action:
191 - pub
192 - view
193
194# ConfigMap Configuration for Dr Feed, Subscriber, MR Topics
195volumes:
196 - name: feeds-config
197 path: /opt/app/config/feeds
198 - name: drsub-config
199 path: /opt/app/config/dr_subs
200 - name: topics-config
201 path: /opt/app/config/topics
202
203# Resource Limit Flavor -By Default Using Small
204flavor: small
205
206# Segregation for Different Environment (Small and Large)
207resources:
208 small:
209 limits:
210 cpu: 1
211 memory: 1Gi
212 requests:
213 cpu: 1
214 memory: 1Gi
215 large:
216 limits:
217 cpu: 2
218 memory: 2Gi
219 requests:
220 cpu: 2
221 memory: 2Gi
Joanna Jeremiczb6bcd8e2021-07-29 11:08:24 +0200222 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200223
224#Pods Service Account
225serviceAccount:
226 nameOverride: dcae-pm-mapper
227 roles:
228 - read