blob: eaa961c53a187049a7943e67100698f4d01a293d [file] [log] [blame]
ajay_dp00115ca5122021-04-05 23:02:36 +05301# ================================ LICENSE_START ==========================
2# =========================================================================
3# Copyright (C) 2021 Nordix Foundation.
Tomasz Wrobel0d893db2022-02-17 11:50:43 +01004# Copyright (c) 2022 Nokia. All rights reserved.
Jack Lucasc9797322022-03-18 12:32:59 -04005# Copyright (c) 2022 J. F. Lucas. All rights reserved.
ajay_dp00115ca5122021-04-05 23:02:36 +05306# =========================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ================================= LICENSE_END ===========================
19
20#################################################################
21# Global Configuration Defaults.
22#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010026 centralizedLoggingEnabled: true
ajay_dp00115ca5122021-04-05 23:02:36 +053027
28#################################################################
29# Filebeat Configuration Defaults.
30#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
36# Secrets Configuration.
37#################################################################
38secrets:
39 - uid: &aafCredsUID aafcreds
40 type: basicAuth
41 login: '{{ .Values.aafCreds.identity }}'
42 password: '{{ .Values.aafCreds.password }}'
43 passwordPolicy: required
44 - uid: &drSubCredsUID drsubcreds
45 type: basicAuth
46 login: '{{ .Values.drSubscriberCreds.username }}'
47 password: '{{ .Values.drSubscriberCreds.password }}'
48 passwordPolicy: required
49
50#################################################################
51# InitContainer Images.
52#################################################################
53tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
ajay_dp00115ca5122021-04-05 23:02:36 +053054
55#################################################################
56# Application Configuration Defaults.
57#################################################################
58# Application Image
Tomasz Wrobel0d893db2022-02-17 11:50:43 +010059image: onap/org.onap.dcaegen2.services.pm-mapper:1.8.0
ajay_dp00115ca5122021-04-05 23:02:36 +053060pullPolicy: Always
61
62# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010063# if path is set to null sidecar won't be deployed in spite of
64# global.centralizedLoggingEnabled setting.
65log:
66 path: /var/log/ONAP/dcaegen2/services/pm-mapper
67logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
ajay_dp00115ca5122021-04-05 23:02:36 +053068
69# Directory where TLS certs should be stored
70# if absent, no certs will be retrieved and stored
71certDirectory: /opt/app/pm-mapper/etc/cert
72
73# TLS role -- set to true if microservice acts as server
74# If true, an init container will retrieve a server cert
75# and key from AAF and mount them in certDirectory.
76tlsServer: true
77
78# Dependencies
79readinessCheck:
80 wait_for:
81 containers:
ajay_dp00115ca5122021-04-05 23:02:36 +053082 - 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
Tomasz Wrobel19fac572022-03-29 12:57:40 +020093 scheme: HTTP
94 port: 8081
ajay_dp00115ca5122021-04-05 23:02:36 +053095
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
Tomasz Wrobel0d893db2022-02-17 11:50:43 +0100134 enable_http: true
135 aaf_identity: ""
136 aaf_password: ""
ajay_dp00115ca5122021-04-05 23:02:36 +0530137 pm-mapper-filter: "{ \"filters\":[] }"
Tomasz Wrobel26d9b1e2022-04-07 11:13:34 +0200138 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
ajay_dp00115ca5122021-04-05 23:02:36 +0530142 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
Tomasz Wrobel0d893db2022-02-17 11:50:43 +0100150 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
ajay_dp00115ca5122021-04-05 23:02:36 +0530151 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
Tomasz Wrobel26d9b1e2022-04-07 11:13:34 +0200161 delivery_url: http://dcae-pm-mapper:8081/delivery
ajay_dp00115ca5122021-04-05 23:02:36 +0530162
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
Tomasz Wrobel26d9b1e2022-04-07 11:13:34 +0200179 deliveryURL: http://dcae-pm-mapper:8081/delivery
ajay_dp00115ca5122021-04-05 23:02:36 +0530180
ajay_dp00115ca5122021-04-05 23:02:36 +0530181# ConfigMap Configuration for Dr Feed, Subscriber, MR Topics
182volumes:
183 - name: feeds-config
184 path: /opt/app/config/feeds
185 - name: drsub-config
186 path: /opt/app/config/dr_subs
ajay_dp00115ca5122021-04-05 23:02:36 +0530187
188# Resource Limit Flavor -By Default Using Small
189flavor: small
190
191# Segregation for Different Environment (Small and Large)
192resources:
193 small:
194 limits:
195 cpu: 1
196 memory: 1Gi
197 requests:
198 cpu: 1
199 memory: 1Gi
200 large:
201 limits:
202 cpu: 2
203 memory: 2Gi
204 requests:
205 cpu: 2
206 memory: 2Gi
Joanna Jeremiczb6bcd8e2021-07-29 11:08:24 +0200207 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200208
209#Pods Service Account
210serviceAccount:
211 nameOverride: dcae-pm-mapper
212 roles:
213 - read