ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 1 | # ================================ LICENSE_START ========================== |
| 2 | # ========================================================================= |
ajay_dp001 | e9b1e32 | 2021-11-02 20:42:12 +0530 | [diff] [blame] | 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 | cf5232a | 2021-04-13 20:48:07 +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 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
| 29 | # Filebeat Configuration Defaults. |
| 30 | ################################################################# |
| 31 | filebeatConfig: |
| 32 | logstashServiceName: log-ls |
| 33 | logstashPort: 5044 |
| 34 | |
| 35 | ################################################################# |
ajay_dp001 | e9b1e32 | 2021-11-02 20:42:12 +0530 | [diff] [blame] | 36 | # Secrets Configuration. |
| 37 | ################################################################# |
| 38 | secrets: |
| 39 | - uid: &drPubCredsUID drpubcreds |
| 40 | type: basicAuth |
| 41 | login: '{{ .Values.drPubscriberCreds.username }}' |
| 42 | password: '{{ .Values.drPubscriberCreds.password }}' |
| 43 | passwordPolicy: required |
| 44 | |
| 45 | ################################################################# |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 46 | # InitContainer Images. |
| 47 | ################################################################# |
Tomasz Wrobel | 1c39a90 | 2022-01-12 10:49:51 +0100 | [diff] [blame] | 48 | certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0 |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 49 | |
| 50 | ################################################################# |
| 51 | # Application Configuration Defaults. |
| 52 | ################################################################# |
| 53 | # Application Image |
Tomasz Wrobel | f39c640 | 2022-09-12 15:48:10 +0200 | [diff] [blame] | 54 | image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.9.0 |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 55 | pullPolicy: Always |
| 56 | |
| 57 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 58 | # if path is set to null sidecar won't be deployed in spite of |
| 59 | # global.centralizedLoggingEnabled setting. |
| 60 | log: |
| 61 | path: /var/log/ONAP |
| 62 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 63 | |
| 64 | # Directory where TLS certs should be stored |
| 65 | # if absent, no certs will be retrieved and stored |
| 66 | certDirectory: /opt/app/datafile/etc/cert |
| 67 | |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 68 | # CMPv2 certificate |
| 69 | # It is used only when: |
| 70 | # - certDirectory is set |
| 71 | # - global cmpv2Enabled flag is set to true |
| 72 | # - flag useCmpv2Certificates is set to true |
| 73 | # Disabled by default |
| 74 | useCmpv2Certificates: false |
| 75 | certificates: |
| 76 | - mountPath: /opt/app/datafile/etc/cert/external |
| 77 | commonName: dcae-datafile-collector |
| 78 | dnsNames: |
| 79 | - dcae-datafile-collector |
| 80 | - datafile-collector |
| 81 | - datafile |
| 82 | keystore: |
| 83 | outputType: |
| 84 | - p12 |
| 85 | passwordSecretRef: |
| 86 | name: datafile-collector-cmpv2-keystore-password |
| 87 | key: password |
| 88 | create: true |
| 89 | |
| 90 | # Dependencies |
| 91 | readinessCheck: |
| 92 | wait_for: |
| 93 | containers: |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 94 | - dmaap-bc |
| 95 | - dmaap-provisioning-job |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 96 | - message-router |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 97 | |
| 98 | # Probe Configuration |
| 99 | readiness: |
| 100 | initialDelaySeconds: 10 |
| 101 | periodSeconds: 15 |
| 102 | timeoutSeconds: 1 |
| 103 | path: /heartbeat |
| 104 | scheme: HTTP |
| 105 | port: 8100 |
| 106 | |
| 107 | # Service Configuration |
| 108 | service: |
| 109 | type: ClusterIP |
| 110 | name: datafile-collector |
| 111 | ports: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 112 | - name: http |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 113 | port: 8443 |
| 114 | plain_port: 8100 |
| 115 | port_protocol: http |
| 116 | |
Andreas Geissler | 261763a | 2022-10-17 18:39:54 +0200 | [diff] [blame] | 117 | ingress: |
| 118 | enabled: false |
| 119 | service: |
| 120 | - baseaddr: "dcae-datafile-collector-api" |
| 121 | name: "datafile-collector" |
| 122 | port: 8443 |
| 123 | plain_port: 8100 |
| 124 | config: |
| 125 | ssl: "redirect" |
| 126 | |
ajay_dp001 | e9b1e32 | 2021-11-02 20:42:12 +0530 | [diff] [blame] | 127 | # Data Router Publisher Credentials |
| 128 | drPubscriberCreds: |
| 129 | username: username |
| 130 | password: password |
| 131 | |
| 132 | credentials: |
| 133 | - name: DR_USERNAME |
| 134 | uid: *drPubCredsUID |
| 135 | key: login |
| 136 | - name: DR_PASSWORD |
| 137 | uid: *drPubCredsUID |
| 138 | key: password |
| 139 | |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 140 | # Initial Application Configuration |
| 141 | applicationConfig: |
| 142 | dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 |
| 143 | dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass |
| 144 | dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks |
| 145 | dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass |
Andreas Geissler | 3afce3d | 2023-02-15 19:21:32 +0100 | [diff] [blame] | 146 | dmaap.certificateConfig.enableCertAuth: false |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 147 | dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 |
| 148 | dmaap.dmaapConsumerConfiguration.consumerId: C12 |
| 149 | dmaap.dmaapConsumerConfiguration.timeoutMs: -1 |
Andreas Geissler | 3afce3d | 2023-02-15 19:21:32 +0100 | [diff] [blame] | 150 | dmaap.security.enableDmaapCertAuth: false |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 151 | dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass |
| 152 | dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks |
| 153 | dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass |
| 154 | dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks |
| 155 | service_calls: [] |
| 156 | sftp.security.strictHostKeyChecking: true |
| 157 | streams_publishes: |
| 158 | PM_MEAS_FILES: |
| 159 | dmaap_info: |
| 160 | publisher_id: ${DR_FILES_PUBLISHER_ID_0} |
| 161 | location: loc00 |
| 162 | log_url: ${DR_LOG_URL_0} |
| 163 | publish_url: ${DR_FILES_PUBLISHER_URL_0} |
ajay_dp001 | e9b1e32 | 2021-11-02 20:42:12 +0530 | [diff] [blame] | 164 | username: ${DR_USERNAME} |
| 165 | password: ${DR_PASSWORD} |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 166 | type: data_router |
| 167 | streams_subscribes: |
| 168 | dmaap_subscriber: |
| 169 | dmaap_info: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 170 | topic_url: "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT" |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 171 | type: message_router |
| 172 | |
Andreas Geissler | 3afce3d | 2023-02-15 19:21:32 +0100 | [diff] [blame] | 173 | applicationEnv: |
| 174 | #CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
| 175 | #Temporary Dummy CBS Port Value until internal SDK library is updated |
| 176 | CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000' |
| 177 | |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 178 | # DataRouter Feed Configuration |
| 179 | drFeedConfig: |
| 180 | - feedName: bulk_pm_feed |
| 181 | owner: dcaecm |
ajay_dp001 | 3d11fd5 | 2021-10-08 14:22:32 +0530 | [diff] [blame] | 182 | feedVersion: "0.0" |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 183 | asprClassification: unclassified |
| 184 | feedDescription: DFC Feed Creation |
| 185 | |
| 186 | # DataRouter Publisher Configuration |
| 187 | drPubConfig: |
| 188 | - feedName: bulk_pm_feed |
ajay_dp001 | e9b1e32 | 2021-11-02 20:42:12 +0530 | [diff] [blame] | 189 | username: ${DR_USERNAME} |
| 190 | userpwd: ${DR_PASSWORD} |
ajay_dp001 | cf5232a | 2021-04-13 20:48:07 +0530 | [diff] [blame] | 191 | dcaeLocationName: loc00 |
| 192 | |
| 193 | # ConfigMap Configuration for Feed, Dr_Publisher |
| 194 | volumes: |
| 195 | - name: feeds-config |
| 196 | path: /opt/app/config/feeds |
| 197 | - name: drpub-config |
| 198 | path: /opt/app/config/dr_pubs |
| 199 | |
| 200 | # Resource Limit Flavor -By Default Using Small |
| 201 | flavor: small |
| 202 | |
| 203 | # Segregation for Different Environment (Small and Large) |
| 204 | resources: |
| 205 | small: |
| 206 | limits: |
| 207 | cpu: 1 |
| 208 | memory: 1Gi |
| 209 | requests: |
| 210 | cpu: 500m |
| 211 | memory: 768Mi |
| 212 | large: |
| 213 | limits: |
| 214 | cpu: 2 |
| 215 | memory: 2Gi |
| 216 | requests: |
| 217 | cpu: 1 |
| 218 | memory: 1Gi |
Joanna Jeremicz | 5dbd315 | 2021-07-22 08:54:19 +0200 | [diff] [blame] | 219 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 220 | |
| 221 | #Pods Service Account |
| 222 | serviceAccount: |
| 223 | nameOverride: dcae-datafile-collector |
| 224 | roles: |
| 225 | - read |