0c90e3ae87398db314d7a3906dba6da38362e8f2
[oom.git] / kubernetes / dcaegen2-services / components / dcae-pm-mapper / values.yaml
1 # ================================ LICENSE_START ==========================
2 # =========================================================================
3 #  Copyright (C) 2021 Nordix Foundation.
4 #  Copyright (c) 2022 Nokia.  All rights reserved.
5 #  Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
6 #  Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
7 # =========================================================================
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 #################################################################
24 global:
25   nodePortPrefix: 302
26   nodePortPrefixExt: 304
27   centralizedLoggingEnabled: true
28
29 #################################################################
30 # Filebeat Configuration Defaults.
31 #################################################################
32 filebeatConfig:
33   logstashServiceName: log-ls
34   logstashPort: 5044
35
36 #################################################################
37 # Secrets Configuration.
38 #################################################################
39 secrets:
40   - uid: &drSubCredsUID drsubcreds
41     type: basicAuth
42     login: '{{ .Values.drSubscriberCreds.username }}'
43     password: '{{ .Values.drSubscriberCreds.password }}'
44     passwordPolicy: required
45
46 #################################################################
47 # Application Configuration Defaults.
48 #################################################################
49 # Application Image
50 image: onap/org.onap.dcaegen2.services.pm-mapper:1.10.1
51 pullPolicy: Always
52
53 # Log directory where logging sidecar should look for log files
54 # if path is set to null sidecar won't be deployed in spite of
55 # global.centralizedLoggingEnabled setting.
56 log:
57   path: /var/log/ONAP/dcaegen2/services/pm-mapper
58 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
59
60 # Dependencies
61 readinessCheck:
62   wait_for:
63     containers:
64       - dmaap-bc
65       - dmaap-provisioning-job
66       - dcae-datafile-collector
67       - message-router
68
69 # Probe Configuration
70 readiness:
71   initialDelaySeconds: 10
72   periodSeconds: 15
73   timeoutSeconds: 1
74   path: /healthcheck
75   scheme: HTTP
76   port: 8081
77
78 # Service Configuration
79 service:
80   type: ClusterIP
81   name: dcae-pm-mapper
82   both_tls_and_plain: true
83   ports:
84     - name: http
85       port: 8443
86       plain_port: 8081
87       port_protocol: http
88
89 # Data Router Subscriber Credentials
90 drSubscriberCreds:
91   username: username
92   password: password
93
94 credentials:
95 - name: DR_USERNAME
96   uid: *drSubCredsUID
97   key: login
98 - name: DR_PASSWORD
99   uid: *drSubCredsUID
100   key: password
101
102 # Initial Application Configuration
103 applicationConfig:
104   enable_tls: false
105   enable_http: true
106   aaf_identity: ""
107   aaf_password: ""
108   pm-mapper-filter: "{ \"filters\":[] }"
109   #key_store_path: /opt/app/pm-mapper/etc/cert/cert.jks
110   #key_store_pass_path: /opt/app/pm-mapper/etc/cert/jks.pass
111   trust_store_path: /opt/app/pm-mapper/etc/cert/trust.jks
112   trust_store_pass_path: /opt/app/pm-mapper/etc/cert/trust.pass
113   dmaap_dr_delete_endpoint: http://dmaap-dr-node:8080/delete
114   streams_publishes:
115     dmaap_publisher:
116       type: message_router
117       dmaap_info:
118         client_id: ${MR_FILES_PUBLISHER_CLIENT_ID_0}
119         location: san-francisco
120         client_role: org.onap.dcae.pmPublisher
121         topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
122   streams_subscribes:
123     dmaap_subscriber:
124       type: data_router
125       dmaap_info:
126         subscriber_id: ${DR_FILES_SUBSCRIBER_ID_0}
127         decompress: true
128         privileged: true
129         username: ${DR_USERNAME}
130         password: ${DR_PASSWORD}
131         location: san-francisco
132         delivery_url: http://dcae-pm-mapper:8081/delivery
133
134 applicationEnv:
135   #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
136   #Temporary Dummy CBS Port Value until internal SDK library is updated
137   CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
138
139 # DataRouter Feed Configuration
140 drFeedConfig:
141   - feedName: bulk_pm_feed
142     owner: dcaecm
143     feedVersion: "0.0"
144     asprClassification: unclassified
145     feedDescription: DFC Feed Creation
146
147 # DataRouter Subscriber Configuration
148 drSubConfig:
149   - feedName: bulk_pm_feed
150     decompress: true
151     username: ${DR_USERNAME}
152     userpwd: ${DR_PASSWORD}
153     dcaeLocationName: loc00
154     privilegedSubscriber: true
155     deliveryURL: http://dcae-pm-mapper:8081/delivery
156
157 # ConfigMap Configuration for Dr Feed, Subscriber, MR Topics
158 volumes:
159   - name: feeds-config
160     path: /opt/app/config/feeds
161   - name: drsub-config
162     path: /opt/app/config/dr_subs
163
164 # Resource Limit Flavor -By Default Using Small
165 flavor: small
166
167 # Segregation for Different Environment (Small and Large)
168 resources:
169   small:
170     limits:
171       cpu: 1
172       memory: 1Gi
173     requests:
174       cpu: 1
175       memory: 1Gi
176   large:
177     limits:
178       cpu: 2
179       memory: 2Gi
180     requests:
181       cpu: 2
182       memory: 2Gi
183   unlimited: {}
184
185 #Pods Service Account
186 serviceAccount:
187   nameOverride: dcae-pm-mapper
188   roles:
189     - read