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