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