blob: caae1c319eca3d5cb0fddef215d2a522fc39f1f6 [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
24
25#################################################################
26# Filebeat Configuration Defaults.
27#################################################################
28filebeatConfig:
29 logstashServiceName: log-ls
30 logstashPort: 5044
31
32#################################################################
33# Secrets Configuration.
34#################################################################
35secrets:
36 - uid: &aafCredsUID aafcreds
37 type: basicAuth
38 login: '{{ .Values.aafCreds.identity }}'
39 password: '{{ .Values.aafCreds.password }}'
40 passwordPolicy: required
41 - uid: &drSubCredsUID drsubcreds
42 type: basicAuth
43 login: '{{ .Values.drSubscriberCreds.username }}'
44 password: '{{ .Values.drSubscriberCreds.password }}'
45 passwordPolicy: required
46
47#################################################################
48# InitContainer Images.
49#################################################################
50tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040051consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
ajay_dp00115ca5122021-04-05 23:02:36 +053052
53#################################################################
54# Application Configuration Defaults.
55#################################################################
56# Application Image
Vijay Venkatesh Kumar8eeeecd2021-09-13 17:02:05 -040057image: onap/org.onap.dcaegen2.services.pm-mapper:1.7.2
ajay_dp00115ca5122021-04-05 23:02:36 +053058pullPolicy: Always
59
60# Log directory where logging sidecar should look for log files
61# if absent, no sidecar will be deployed
62logDirectory: /var/log/ONAP/dcaegen2/services/pm-mapper
63
64# Directory where TLS certs should be stored
65# if absent, no certs will be retrieved and stored
66certDirectory: /opt/app/pm-mapper/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# Dependencies
74readinessCheck:
75 wait_for:
76 containers:
77 - dcae-config-binding-service
78 - aaf-cm
79 - dmaap-bc
80 - dmaap-provisioning-job
81 - dcae-datafile-collector
82
83# Probe Configuration
84readiness:
85 initialDelaySeconds: 10
86 periodSeconds: 15
87 timeoutSeconds: 1
88 path: /healthcheck
89 scheme: HTTPS
90 port: 8443
91
92# Service Configuration
93service:
94 type: ClusterIP
95 name: dcae-pm-mapper
96 both_tls_and_plain: true
97 ports:
98 - name: https
99 port: 8443
100 plain_port: 8081
101 port_protocol: http
102
103# AAF Credentials
104aafCreds:
105 identity: dcae@dcae.onap.org
106 password: demo123456!
107
108# Data Router Subscriber Credentials
109drSubscriberCreds:
110 username: username
111 password: password
112
113credentials:
114- name: AAF_IDENTITY
115 uid: *aafCredsUID
116 key: login
117- name: AAF_PASSWORD
118 uid: *aafCredsUID
119 key: password
120- name: DR_USERNAME
121 uid: *drSubCredsUID
122 key: login
123- name: DR_PASSWORD
124 uid: *drSubCredsUID
125 key: password
126
127# Initial Application Configuration
128applicationConfig:
129 enable_tls: true
130 enable_http: false
131 aaf_identity: ${AAF_IDENTITY}
132 aaf_password: ${AAF_PASSWORD}
133 pm-mapper-filter: "{ \"filters\":[] }"
134 key_store_path: /opt/app/pm-mapper/etc/cert/cert.jks
135 key_store_pass_path: /opt/app/pm-mapper/etc/cert/jks.pass
136 trust_store_path: /opt/app/pm-mapper/etc/cert/trust.jks
137 trust_store_pass_path: /opt/app/pm-mapper/etc/cert/trust.pass
138 dmaap_dr_delete_endpoint: https://dmaap-dr-node:8443/delete
139 streams_publishes:
140 dmaap_publisher:
141 type: message_router
142 dmaap_info:
143 client_id: ${MR_FILES_PUBLISHER_CLIENT_ID_0}
144 location: san-francisco
145 client_role: org.onap.dcae.pmPublisher
146 topic_url: http://message-router:3904/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
147 streams_subscribes:
148 dmaap_subscriber:
149 type: data_router
150 dmaap_info:
151 subscriber_id: ${DR_FILES_SUBSCRIBER_ID_0}
152 decompress: true
153 privileged: true
154 username: ${DR_USERNAME}
155 password: ${DR_PASSWORD}
156 location: san-francisco
157 delivery_url: https://dcae-pm-mapper:8443/delivery
158
159# DataRouter Feed Configuration
160drFeedConfig:
161 - feedName: bulk_pm_feed
162 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530163 feedVersion: "0.0"
ajay_dp00115ca5122021-04-05 23:02:36 +0530164 asprClassification: unclassified
165 feedDescription: DFC Feed Creation
166
167# DataRouter Subscriber Configuration
168drSubConfig:
169 - feedName: bulk_pm_feed
170 decompress: true
171 username: ${DR_USERNAME}
172 userpwd: ${DR_PASSWORD}
173 dcaeLocationName: loc00
174 privilegedSubscriber: true
175 deliveryURL: https://dcae-pm-mapper:8443/delivery
176
177# MessageRouter Topic, Publisher Configuration
178mrTopicsConfig:
179 - topicName: PERFORMANCE_MEASUREMENTS
180 topicDescription: PM Mapper publishes perf3gpp VES PM Events to authenticated MR topic
181 owner: dcaecm
182 tnxEnabled: false
183 clients:
184 - dcaeLocationName: san-francisco
185 clientRole: org.onap.dcae.pmPublisher
186 action:
187 - pub
188 - view
189
190# ConfigMap Configuration for Dr Feed, Subscriber, MR Topics
191volumes:
192 - name: feeds-config
193 path: /opt/app/config/feeds
194 - name: drsub-config
195 path: /opt/app/config/dr_subs
196 - name: topics-config
197 path: /opt/app/config/topics
198
199# Resource Limit Flavor -By Default Using Small
200flavor: small
201
202# Segregation for Different Environment (Small and Large)
203resources:
204 small:
205 limits:
206 cpu: 1
207 memory: 1Gi
208 requests:
209 cpu: 1
210 memory: 1Gi
211 large:
212 limits:
213 cpu: 2
214 memory: 2Gi
215 requests:
216 cpu: 2
217 memory: 2Gi
Joanna Jeremiczb6bcd8e2021-07-29 11:08:24 +0200218 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200219
220#Pods Service Account
221serviceAccount:
222 nameOverride: dcae-pm-mapper
223 roles:
224 - read