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