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 | c979732 | 2022-03-18 12:32:59 -0400 | [diff] [blame] | 5 | # Copyright (c) 2022 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: |
| 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 | ################################################################# |
| 53 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 54 | |
| 55 | ################################################################# |
| 56 | # Application Configuration Defaults. |
| 57 | ################################################################# |
| 58 | # Application Image |
Tomasz Wrobel | 0d893db | 2022-02-17 11:50:43 +0100 | [diff] [blame] | 59 | image: onap/org.onap.dcaegen2.services.pm-mapper:1.8.0 |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 60 | pullPolicy: Always |
| 61 | |
| 62 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 63 | # if path is set to null sidecar won't be deployed in spite of |
| 64 | # global.centralizedLoggingEnabled setting. |
| 65 | log: |
| 66 | path: /var/log/ONAP/dcaegen2/services/pm-mapper |
| 67 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 68 | |
| 69 | # Directory where TLS certs should be stored |
| 70 | # if absent, no certs will be retrieved and stored |
| 71 | certDirectory: /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. |
| 76 | tlsServer: true |
| 77 | |
| 78 | # Dependencies |
| 79 | readinessCheck: |
| 80 | wait_for: |
| 81 | containers: |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 82 | - aaf-cm |
| 83 | - dmaap-bc |
| 84 | - dmaap-provisioning-job |
| 85 | - dcae-datafile-collector |
| 86 | |
| 87 | # Probe Configuration |
| 88 | readiness: |
| 89 | initialDelaySeconds: 10 |
| 90 | periodSeconds: 15 |
| 91 | timeoutSeconds: 1 |
| 92 | path: /healthcheck |
Tomasz Wrobel | 19fac57 | 2022-03-29 12:57:40 +0200 | [diff] [blame] | 93 | scheme: HTTP |
| 94 | port: 8081 |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 95 | |
| 96 | # Service Configuration |
| 97 | service: |
| 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 |
| 108 | aafCreds: |
| 109 | identity: dcae@dcae.onap.org |
| 110 | password: demo123456! |
| 111 | |
| 112 | # Data Router Subscriber Credentials |
| 113 | drSubscriberCreds: |
| 114 | username: username |
| 115 | password: password |
| 116 | |
| 117 | credentials: |
| 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 |
| 132 | applicationConfig: |
| 133 | enable_tls: true |
Tomasz Wrobel | 0d893db | 2022-02-17 11:50:43 +0100 | [diff] [blame] | 134 | enable_http: true |
| 135 | aaf_identity: "" |
| 136 | aaf_password: "" |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 137 | pm-mapper-filter: "{ \"filters\":[] }" |
Tomasz Wrobel | 26d9b1e | 2022-04-07 11:13:34 +0200 | [diff] [blame] | 138 | 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_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 142 | 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 Wrobel | 0d893db | 2022-02-17 11:50:43 +0100 | [diff] [blame] | 150 | topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 151 | 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 Wrobel | 26d9b1e | 2022-04-07 11:13:34 +0200 | [diff] [blame] | 161 | delivery_url: http://dcae-pm-mapper:8081/delivery |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 162 | |
| 163 | # DataRouter Feed Configuration |
| 164 | drFeedConfig: |
| 165 | - feedName: bulk_pm_feed |
| 166 | owner: dcaecm |
ajay_dp001 | 3d11fd5 | 2021-10-08 14:22:32 +0530 | [diff] [blame] | 167 | feedVersion: "0.0" |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 168 | asprClassification: unclassified |
| 169 | feedDescription: DFC Feed Creation |
| 170 | |
| 171 | # DataRouter Subscriber Configuration |
| 172 | drSubConfig: |
| 173 | - feedName: bulk_pm_feed |
| 174 | decompress: true |
| 175 | username: ${DR_USERNAME} |
| 176 | userpwd: ${DR_PASSWORD} |
| 177 | dcaeLocationName: loc00 |
| 178 | privilegedSubscriber: true |
Tomasz Wrobel | 26d9b1e | 2022-04-07 11:13:34 +0200 | [diff] [blame] | 179 | deliveryURL: http://dcae-pm-mapper:8081/delivery |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 180 | |
| 181 | # MessageRouter Topic, Publisher Configuration |
| 182 | mrTopicsConfig: |
| 183 | - topicName: PERFORMANCE_MEASUREMENTS |
| 184 | topicDescription: PM Mapper publishes perf3gpp VES PM Events to authenticated MR topic |
| 185 | owner: dcaecm |
| 186 | tnxEnabled: false |
| 187 | clients: |
| 188 | - dcaeLocationName: san-francisco |
| 189 | clientRole: org.onap.dcae.pmPublisher |
| 190 | action: |
| 191 | - pub |
| 192 | - view |
| 193 | |
| 194 | # ConfigMap Configuration for Dr Feed, Subscriber, MR Topics |
| 195 | volumes: |
| 196 | - name: feeds-config |
| 197 | path: /opt/app/config/feeds |
| 198 | - name: drsub-config |
| 199 | path: /opt/app/config/dr_subs |
| 200 | - name: topics-config |
| 201 | path: /opt/app/config/topics |
| 202 | |
| 203 | # Resource Limit Flavor -By Default Using Small |
| 204 | flavor: small |
| 205 | |
| 206 | # Segregation for Different Environment (Small and Large) |
| 207 | resources: |
| 208 | small: |
| 209 | limits: |
| 210 | cpu: 1 |
| 211 | memory: 1Gi |
| 212 | requests: |
| 213 | cpu: 1 |
| 214 | memory: 1Gi |
| 215 | large: |
| 216 | limits: |
| 217 | cpu: 2 |
| 218 | memory: 2Gi |
| 219 | requests: |
| 220 | cpu: 2 |
| 221 | memory: 2Gi |
Joanna Jeremicz | b6bcd8e | 2021-07-29 11:08:24 +0200 | [diff] [blame] | 222 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 223 | |
| 224 | #Pods Service Account |
| 225 | serviceAccount: |
| 226 | nameOverride: dcae-pm-mapper |
| 227 | roles: |
| 228 | - read |