ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 1 | # ================================ LICENSE_START ========================== |
| 2 | # ========================================================================= |
| 3 | # Copyright (C) 2021 Nordix Foundation. |
| 4 | # ========================================================================= |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ================================= LICENSE_END =========================== |
| 17 | |
| 18 | ################################################################# |
| 19 | # Global Configuration Defaults. |
| 20 | ################################################################# |
| 21 | global: |
| 22 | nodePortPrefix: 302 |
| 23 | nodePortPrefixExt: 304 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 24 | centralizedLoggingEnabled: true |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 25 | |
| 26 | ################################################################# |
| 27 | # Filebeat Configuration Defaults. |
| 28 | ################################################################# |
| 29 | filebeatConfig: |
| 30 | logstashServiceName: log-ls |
| 31 | logstashPort: 5044 |
| 32 | |
| 33 | ################################################################# |
| 34 | # Secrets Configuration. |
| 35 | ################################################################# |
| 36 | secrets: |
| 37 | - uid: &aafCredsUID aafcreds |
| 38 | type: basicAuth |
| 39 | login: '{{ .Values.aafCreds.identity }}' |
| 40 | password: '{{ .Values.aafCreds.password }}' |
| 41 | passwordPolicy: required |
| 42 | - uid: &drSubCredsUID drsubcreds |
| 43 | type: basicAuth |
| 44 | login: '{{ .Values.drSubscriberCreds.username }}' |
| 45 | password: '{{ .Values.drSubscriberCreds.password }}' |
| 46 | passwordPolicy: required |
| 47 | |
| 48 | ################################################################# |
| 49 | # InitContainer Images. |
| 50 | ################################################################# |
| 51 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
Jack Lucas | d263e69 | 2021-08-16 16:02:23 -0400 | [diff] [blame] | 52 | consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1 |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 53 | |
| 54 | ################################################################# |
| 55 | # Application Configuration Defaults. |
| 56 | ################################################################# |
| 57 | # Application Image |
Vijay Venkatesh Kumar | 8eeeecd | 2021-09-13 17:02:05 -0400 | [diff] [blame] | 58 | image: onap/org.onap.dcaegen2.services.pm-mapper:1.7.2 |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 59 | pullPolicy: Always |
| 60 | |
| 61 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 62 | # if path is set to null sidecar won't be deployed in spite of |
| 63 | # global.centralizedLoggingEnabled setting. |
| 64 | log: |
| 65 | path: /var/log/ONAP/dcaegen2/services/pm-mapper |
| 66 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 67 | |
| 68 | # Directory where TLS certs should be stored |
| 69 | # if absent, no certs will be retrieved and stored |
| 70 | certDirectory: /opt/app/pm-mapper/etc/cert |
| 71 | |
| 72 | # TLS role -- set to true if microservice acts as server |
| 73 | # If true, an init container will retrieve a server cert |
| 74 | # and key from AAF and mount them in certDirectory. |
| 75 | tlsServer: true |
| 76 | |
| 77 | # Dependencies |
| 78 | readinessCheck: |
| 79 | wait_for: |
| 80 | containers: |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 81 | - aaf-cm |
| 82 | - dmaap-bc |
| 83 | - dmaap-provisioning-job |
| 84 | - dcae-datafile-collector |
| 85 | |
| 86 | # Probe Configuration |
| 87 | readiness: |
| 88 | initialDelaySeconds: 10 |
| 89 | periodSeconds: 15 |
| 90 | timeoutSeconds: 1 |
| 91 | path: /healthcheck |
| 92 | scheme: HTTPS |
| 93 | port: 8443 |
| 94 | |
| 95 | # Service Configuration |
| 96 | service: |
| 97 | type: ClusterIP |
| 98 | name: dcae-pm-mapper |
| 99 | both_tls_and_plain: true |
| 100 | ports: |
| 101 | - name: https |
| 102 | port: 8443 |
| 103 | plain_port: 8081 |
| 104 | port_protocol: http |
| 105 | |
| 106 | # AAF Credentials |
| 107 | aafCreds: |
| 108 | identity: dcae@dcae.onap.org |
| 109 | password: demo123456! |
| 110 | |
| 111 | # Data Router Subscriber Credentials |
| 112 | drSubscriberCreds: |
| 113 | username: username |
| 114 | password: password |
| 115 | |
| 116 | credentials: |
| 117 | - name: AAF_IDENTITY |
| 118 | uid: *aafCredsUID |
| 119 | key: login |
| 120 | - name: AAF_PASSWORD |
| 121 | uid: *aafCredsUID |
| 122 | key: password |
| 123 | - name: DR_USERNAME |
| 124 | uid: *drSubCredsUID |
| 125 | key: login |
| 126 | - name: DR_PASSWORD |
| 127 | uid: *drSubCredsUID |
| 128 | key: password |
| 129 | |
| 130 | # Initial Application Configuration |
| 131 | applicationConfig: |
| 132 | enable_tls: true |
| 133 | enable_http: false |
| 134 | aaf_identity: ${AAF_IDENTITY} |
| 135 | aaf_password: ${AAF_PASSWORD} |
| 136 | pm-mapper-filter: "{ \"filters\":[] }" |
| 137 | key_store_path: /opt/app/pm-mapper/etc/cert/cert.jks |
| 138 | key_store_pass_path: /opt/app/pm-mapper/etc/cert/jks.pass |
| 139 | trust_store_path: /opt/app/pm-mapper/etc/cert/trust.jks |
| 140 | trust_store_pass_path: /opt/app/pm-mapper/etc/cert/trust.pass |
| 141 | dmaap_dr_delete_endpoint: https://dmaap-dr-node:8443/delete |
| 142 | streams_publishes: |
| 143 | dmaap_publisher: |
| 144 | type: message_router |
| 145 | dmaap_info: |
| 146 | client_id: ${MR_FILES_PUBLISHER_CLIENT_ID_0} |
| 147 | location: san-francisco |
| 148 | client_role: org.onap.dcae.pmPublisher |
| 149 | topic_url: http://message-router:3904/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS |
| 150 | streams_subscribes: |
| 151 | dmaap_subscriber: |
| 152 | type: data_router |
| 153 | dmaap_info: |
| 154 | subscriber_id: ${DR_FILES_SUBSCRIBER_ID_0} |
| 155 | decompress: true |
| 156 | privileged: true |
| 157 | username: ${DR_USERNAME} |
| 158 | password: ${DR_PASSWORD} |
| 159 | location: san-francisco |
| 160 | delivery_url: https://dcae-pm-mapper:8443/delivery |
| 161 | |
| 162 | # DataRouter Feed Configuration |
| 163 | drFeedConfig: |
| 164 | - feedName: bulk_pm_feed |
| 165 | owner: dcaecm |
ajay_dp001 | 3d11fd5 | 2021-10-08 14:22:32 +0530 | [diff] [blame] | 166 | feedVersion: "0.0" |
ajay_dp001 | 15ca512 | 2021-04-05 23:02:36 +0530 | [diff] [blame] | 167 | asprClassification: unclassified |
| 168 | feedDescription: DFC Feed Creation |
| 169 | |
| 170 | # DataRouter Subscriber Configuration |
| 171 | drSubConfig: |
| 172 | - feedName: bulk_pm_feed |
| 173 | decompress: true |
| 174 | username: ${DR_USERNAME} |
| 175 | userpwd: ${DR_PASSWORD} |
| 176 | dcaeLocationName: loc00 |
| 177 | privilegedSubscriber: true |
| 178 | deliveryURL: https://dcae-pm-mapper:8443/delivery |
| 179 | |
| 180 | # MessageRouter Topic, Publisher Configuration |
| 181 | mrTopicsConfig: |
| 182 | - topicName: PERFORMANCE_MEASUREMENTS |
| 183 | topicDescription: PM Mapper publishes perf3gpp VES PM Events to authenticated MR topic |
| 184 | owner: dcaecm |
| 185 | tnxEnabled: false |
| 186 | clients: |
| 187 | - dcaeLocationName: san-francisco |
| 188 | clientRole: org.onap.dcae.pmPublisher |
| 189 | action: |
| 190 | - pub |
| 191 | - view |
| 192 | |
| 193 | # ConfigMap Configuration for Dr Feed, Subscriber, MR Topics |
| 194 | volumes: |
| 195 | - name: feeds-config |
| 196 | path: /opt/app/config/feeds |
| 197 | - name: drsub-config |
| 198 | path: /opt/app/config/dr_subs |
| 199 | - name: topics-config |
| 200 | path: /opt/app/config/topics |
| 201 | |
| 202 | # Resource Limit Flavor -By Default Using Small |
| 203 | flavor: small |
| 204 | |
| 205 | # Segregation for Different Environment (Small and Large) |
| 206 | resources: |
| 207 | small: |
| 208 | limits: |
| 209 | cpu: 1 |
| 210 | memory: 1Gi |
| 211 | requests: |
| 212 | cpu: 1 |
| 213 | memory: 1Gi |
| 214 | large: |
| 215 | limits: |
| 216 | cpu: 2 |
| 217 | memory: 2Gi |
| 218 | requests: |
| 219 | cpu: 2 |
| 220 | memory: 2Gi |
Joanna Jeremicz | b6bcd8e | 2021-07-29 11:08:24 +0200 | [diff] [blame] | 221 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 222 | |
| 223 | #Pods Service Account |
| 224 | serviceAccount: |
| 225 | nameOverride: dcae-pm-mapper |
| 226 | roles: |
| 227 | - read |