blob: 6081d354dbfa402765faec1c531cc43ed5f8b459 [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 Lucas64da4e72023-03-03 14:46:05 -05005# Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
pranitk190581e0bc62023-04-21 18:07:05 +05306# Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
ajay_dp00115ca5122021-04-05 23:02:36 +05307# =========================================================================
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19# ================================= LICENSE_END ===========================
20
21#################################################################
22# Global Configuration Defaults.
23#################################################################
24global:
25 nodePortPrefix: 302
26 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010027 centralizedLoggingEnabled: true
ajay_dp00115ca5122021-04-05 23:02:36 +053028
29#################################################################
30# Filebeat Configuration Defaults.
31#################################################################
32filebeatConfig:
33 logstashServiceName: log-ls
34 logstashPort: 5044
35
36#################################################################
37# Secrets Configuration.
38#################################################################
39secrets:
ajay_dp00115ca5122021-04-05 23:02:36 +053040 - uid: &drSubCredsUID drsubcreds
41 type: basicAuth
42 login: '{{ .Values.drSubscriberCreds.username }}'
43 password: '{{ .Values.drSubscriberCreds.password }}'
44 passwordPolicy: required
45
46#################################################################
ajay_dp00115ca5122021-04-05 23:02:36 +053047# Application Configuration Defaults.
48#################################################################
49# Application Image
pranitk190581e0bc62023-04-21 18:07:05 +053050image: onap/org.onap.dcaegen2.services.pm-mapper:1.10.1
ajay_dp00115ca5122021-04-05 23:02:36 +053051pullPolicy: Always
52
53# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010054# if path is set to null sidecar won't be deployed in spite of
55# global.centralizedLoggingEnabled setting.
56log:
57 path: /var/log/ONAP/dcaegen2/services/pm-mapper
58logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
ajay_dp00115ca5122021-04-05 23:02:36 +053059
ajay_dp00115ca5122021-04-05 23:02:36 +053060# Dependencies
61readinessCheck:
62 wait_for:
63 containers:
ajay_dp00115ca5122021-04-05 23:02:36 +053064 - dmaap-bc
65 - dmaap-provisioning-job
66 - dcae-datafile-collector
rope2525a7fbee2022-07-25 20:00:36 +010067 - message-router
ajay_dp00115ca5122021-04-05 23:02:36 +053068
69# Probe Configuration
70readiness:
71 initialDelaySeconds: 10
72 periodSeconds: 15
73 timeoutSeconds: 1
74 path: /healthcheck
Tomasz Wrobel19fac572022-03-29 12:57:40 +020075 scheme: HTTP
76 port: 8081
ajay_dp00115ca5122021-04-05 23:02:36 +053077
78# Service Configuration
79service:
80 type: ClusterIP
81 name: dcae-pm-mapper
82 both_tls_and_plain: true
83 ports:
rope2525a7fbee2022-07-25 20:00:36 +010084 - name: http
ajay_dp00115ca5122021-04-05 23:02:36 +053085 port: 8443
86 plain_port: 8081
87 port_protocol: http
88
AndrewLambbd6ff6b2023-05-04 15:56:49 +010089serviceMesh:
90 authorizationPolicy:
91 authorizedPrincipals:
92 - serviceAccount: message-router-read
93
ajay_dp00115ca5122021-04-05 23:02:36 +053094# Data Router Subscriber Credentials
95drSubscriberCreds:
96 username: username
97 password: password
98
99credentials:
ajay_dp00115ca5122021-04-05 23:02:36 +0530100- name: DR_USERNAME
101 uid: *drSubCredsUID
102 key: login
103- name: DR_PASSWORD
104 uid: *drSubCredsUID
105 key: password
106
107# Initial Application Configuration
108applicationConfig:
rope2525a7fbee2022-07-25 20:00:36 +0100109 enable_tls: false
Tomasz Wrobel0d893db2022-02-17 11:50:43 +0100110 enable_http: true
111 aaf_identity: ""
112 aaf_password: ""
ajay_dp00115ca5122021-04-05 23:02:36 +0530113 pm-mapper-filter: "{ \"filters\":[] }"
Andreas Geisslerb0841b82022-12-16 10:40:21 +0100114 #key_store_path: /opt/app/pm-mapper/etc/cert/cert.jks
115 #key_store_pass_path: /opt/app/pm-mapper/etc/cert/jks.pass
Tomasz Wrobel26d9b1e2022-04-07 11:13:34 +0200116 trust_store_path: /opt/app/pm-mapper/etc/cert/trust.jks
117 trust_store_pass_path: /opt/app/pm-mapper/etc/cert/trust.pass
Andreas Geisslerb0841b82022-12-16 10:40:21 +0100118 dmaap_dr_delete_endpoint: http://dmaap-dr-node:8080/delete
ajay_dp00115ca5122021-04-05 23:02:36 +0530119 streams_publishes:
120 dmaap_publisher:
121 type: message_router
122 dmaap_info:
123 client_id: ${MR_FILES_PUBLISHER_CLIENT_ID_0}
124 location: san-francisco
125 client_role: org.onap.dcae.pmPublisher
Tomasz Wrobel0d893db2022-02-17 11:50:43 +0100126 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
ajay_dp00115ca5122021-04-05 23:02:36 +0530127 streams_subscribes:
128 dmaap_subscriber:
129 type: data_router
130 dmaap_info:
131 subscriber_id: ${DR_FILES_SUBSCRIBER_ID_0}
132 decompress: true
133 privileged: true
134 username: ${DR_USERNAME}
135 password: ${DR_PASSWORD}
136 location: san-francisco
Tomasz Wrobel26d9b1e2022-04-07 11:13:34 +0200137 delivery_url: http://dcae-pm-mapper:8081/delivery
ajay_dp00115ca5122021-04-05 23:02:36 +0530138
Andreas Geisslerb0841b82022-12-16 10:40:21 +0100139applicationEnv:
140 #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
141 #Temporary Dummy CBS Port Value until internal SDK library is updated
142 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
143
ajay_dp00115ca5122021-04-05 23:02:36 +0530144# DataRouter Feed Configuration
145drFeedConfig:
146 - feedName: bulk_pm_feed
147 owner: dcaecm
ajay_dp0013d11fd52021-10-08 14:22:32 +0530148 feedVersion: "0.0"
ajay_dp00115ca5122021-04-05 23:02:36 +0530149 asprClassification: unclassified
150 feedDescription: DFC Feed Creation
151
152# DataRouter Subscriber Configuration
153drSubConfig:
154 - feedName: bulk_pm_feed
155 decompress: true
156 username: ${DR_USERNAME}
157 userpwd: ${DR_PASSWORD}
158 dcaeLocationName: loc00
159 privilegedSubscriber: true
Tomasz Wrobel26d9b1e2022-04-07 11:13:34 +0200160 deliveryURL: http://dcae-pm-mapper:8081/delivery
ajay_dp00115ca5122021-04-05 23:02:36 +0530161
ajay_dp00115ca5122021-04-05 23:02:36 +0530162# ConfigMap Configuration for Dr Feed, Subscriber, MR Topics
163volumes:
164 - name: feeds-config
165 path: /opt/app/config/feeds
166 - name: drsub-config
167 path: /opt/app/config/dr_subs
ajay_dp00115ca5122021-04-05 23:02:36 +0530168
169# Resource Limit Flavor -By Default Using Small
170flavor: small
171
172# Segregation for Different Environment (Small and Large)
173resources:
174 small:
175 limits:
176 cpu: 1
177 memory: 1Gi
178 requests:
179 cpu: 1
180 memory: 1Gi
181 large:
182 limits:
183 cpu: 2
184 memory: 2Gi
185 requests:
186 cpu: 2
187 memory: 2Gi
Joanna Jeremiczb6bcd8e2021-07-29 11:08:24 +0200188 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200189
190#Pods Service Account
191serviceAccount:
192 nameOverride: dcae-pm-mapper
193 roles:
194 - read