denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 1 | # ============= LICENSE_START ================================================ |
| 2 | # ============================================================================ |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 3 | # Copyright (C) 2021-2022 Wipro Limited. |
Jack Lucas | c979732 | 2022-03-18 12:32:59 -0400 | [diff] [blame] | 4 | # Copyright (c) 2022 J. F. Lucas. All rights reserved. |
decheng zhang | 449c101 | 2022-03-23 12:33:40 -0400 | [diff] [blame] | 5 | # Copyright (C) 2022 Huawei Canada Limited. |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [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 |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [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: &pgUserCredsSecretUid pg-user-creds |
| 45 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-sliceanalysisms-pg-user-creds' |
| 46 | type: basicAuth |
| 47 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sliceanalysisms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 48 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 49 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 50 | passwordPolicy: generate |
| 51 | |
| 52 | ################################aafcreds################################# |
| 53 | # InitContainer Images. |
| 54 | ################################################################# |
| 55 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 56 | |
| 57 | ################################################################# |
| 58 | # Application Configuration Defaults. |
| 59 | ################################################################# |
| 60 | # Application Image |
decheng zhang | b240290 | 2022-05-04 09:16:28 -0400 | [diff] [blame] | 61 | image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.1.2 |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 62 | |
| 63 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 64 | # if path is set to null sidecar won't be deployed in spite of |
| 65 | # global.centralizedLoggingEnabled setting. |
| 66 | log: |
| 67 | path: /var/log/ONAP/dcaegen2/services/sliceanalysisms |
| 68 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 69 | |
| 70 | # Directory where TLS certs should be stored |
| 71 | # if absent, no certs will be retrieved and stored |
| 72 | certDirectory: /opt/app/sliceanalysisms/etc/cert/ |
| 73 | |
| 74 | # TLS role -- set to true if microservice acts as server |
| 75 | # If true, an init container will retrieve a server cert |
| 76 | # and key from AAF and mount them in certDirectory. |
| 77 | tlsServer: true |
| 78 | |
| 79 | # Dependencies |
| 80 | readinessCheck: |
| 81 | wait_for: |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 82 | - aaf-cm |
| 83 | - &postgresName dcae-sliceanalysisms-postgres |
| 84 | |
| 85 | # Probe Configuration |
| 86 | readiness: |
| 87 | initialDelaySeconds: 60 |
| 88 | periodSeconds: 15 |
| 89 | timeoutSeconds: 1 |
| 90 | path: /healthcheck |
| 91 | scheme: HTTP |
| 92 | port: 8080 |
| 93 | |
| 94 | # Service Configuration |
| 95 | service: |
| 96 | type: ClusterIP |
| 97 | name: dcae-slice-analysis-ms |
| 98 | ports: |
| 99 | - name: https |
| 100 | port: 8080 |
| 101 | port_protocol: http |
| 102 | |
| 103 | # AAF Credentials |
| 104 | aafCreds: |
| 105 | identity: dcae@dcae.onap.org |
| 106 | password: demo123456! |
| 107 | |
| 108 | credentials: |
| 109 | - name: AAF_IDENTITY |
| 110 | uid: *aafCredsUID |
| 111 | key: login |
| 112 | - name: AAF_PASSWORD |
| 113 | uid: *aafCredsUID |
| 114 | key: password |
| 115 | - name: PG_USERNAME |
| 116 | uid: *pgUserCredsSecretUid |
| 117 | key: login |
| 118 | - name: PG_PASSWORD |
| 119 | uid: *pgUserCredsSecretUid |
| 120 | key: password |
| 121 | |
| 122 | # Initial Application Configuration |
| 123 | applicationConfig: |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 124 | postgres.host: dcae-sliceanalysisms-pg-primary |
| 125 | postgres.port: 5432 |
| 126 | postgres.username: ${PG_USERNAME} |
| 127 | postgres.password: ${PG_PASSWORD} |
| 128 | trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks |
| 129 | trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass |
| 130 | sliceanalysisms.pollingInterval: 20 |
| 131 | sliceanalysisms.pollingTimeout: 60 |
| 132 | cbsPollingInterval: 60 |
| 133 | sliceanalysisms.namespace: onap |
| 134 | sliceanalysisms.dmaap.server: ["message-router"] |
| 135 | sliceanalysisms.bufferTime: 60 |
| 136 | sliceanalysisms.cg: sliceanalysisms-cg |
| 137 | sliceanalysisms.cid: sliceanalysisms-cid |
| 138 | sliceanalysisms.configDb.service: http://config-db:8080 |
| 139 | sliceanalysisms.configDbEnabled: true |
| 140 | sliceanalysisms.aai.url: https://aai.onap.svc.cluster.local:8443/aai/v21 |
| 141 | sliceanalysisms.cps.url: https://cps:8088 |
| 142 | sliceanalysisms.samples: 3 |
| 143 | sliceanalysisms.minPercentageChange: 5 |
| 144 | sliceanalysisms.initialDelaySeconds: 120000 |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 145 | sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details |
| 146 | sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data |
| 147 | sliceanalysisms.pmDataDurationInWeeks: 4 |
decheng zhang | 449c101 | 2022-03-23 12:33:40 -0400 | [diff] [blame] | 148 | sliceanalysisms.vesNotifPollingInterval: 15 |
| 149 | sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE |
| 150 | sliceanalysisms.vesNotifChangeType: BandwidthChanged |
| 151 | sliceanalysisms.aaiNotif.targetAction: UPDATE |
| 152 | sliceanalysisms.aaiNotif.targetSource: UUI |
| 153 | sliceanalysisms.aaiNotif.targetEntity: service-instance |
| 154 | sliceanalysisms.ccvpnEvalInterval: 15 |
| 155 | sliceanalysisms.ccvpnEvalThreshold: 0.8 |
| 156 | sliceanalysisms.ccvpnEvalPrecision: 100.0 |
| 157 | sliceanalysisms.ccvpnEvalPeriodicCheckOn: true |
| 158 | sliceanalysisms.ccvpnEvalOnDemandCheckOn: true |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 159 | streams_publishes: |
| 160 | CL_topic: |
| 161 | type: message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 162 | dmaap_info: |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 163 | topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 164 | streams_subscribes: |
| 165 | performance_management_topic: |
| 166 | type: message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 167 | dmaap_info: |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 168 | topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 169 | intelligent_slicing_topic: |
| 170 | type: message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 171 | dmaap_info: |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 172 | topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 173 | dcae_cl_response_topic: |
| 174 | type: message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 175 | dmaap_info: |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 176 | topic_url: http://message-router:3904/events/DCAE_CL_RSP |
decheng zhang | 449c101 | 2022-03-23 12:33:40 -0400 | [diff] [blame] | 177 | ves_ccvpn_notification_topic: |
| 178 | type: message-router |
| 179 | dmaap_info: |
| 180 | topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT |
| 181 | aai_subscriber: |
| 182 | type: message-router |
| 183 | servers : ["message-router:3904"] |
| 184 | consumer_group: dcae_ccvpn_cl |
| 185 | consumer_instance: dcae_ccvpn_cl_aaievent |
| 186 | fetch_timeout: 15000 |
| 187 | fetch_limit: 100 |
| 188 | dmaap_info: |
| 189 | topic_url: http://message-router:3904/events/AAI-EVENT |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 190 | |
| 191 | applicationEnv: |
| 192 | STANDALONE: 'false' |
| 193 | |
| 194 | # Resource Limit Flavor -By Default Using Small |
| 195 | flavor: small |
| 196 | # Segregation for Different Environment (Small and Large) |
| 197 | resources: |
| 198 | small: |
| 199 | limits: |
| 200 | cpu: 1 |
| 201 | memory: 1Gi |
| 202 | requests: |
| 203 | cpu: 1 |
| 204 | memory: 1Gi |
| 205 | large: |
| 206 | limits: |
| 207 | cpu: 2 |
| 208 | memory: 2Gi |
| 209 | requests: |
| 210 | cpu: 2 |
| 211 | memory: 2Gi |
| 212 | unlimited: {} |
| 213 | |
| 214 | ################################################################# |
| 215 | # Application configuration Overriding Defaults in the Postgres. |
| 216 | ################################################################# |
| 217 | postgres: |
| 218 | nameOverride: *postgresName |
| 219 | service: |
| 220 | name: *postgresName |
| 221 | name2: dcae-sliceanalysisms-pg-primary |
| 222 | name3: dcae-sliceanalysisms-pg-replica |
| 223 | container: |
| 224 | name: |
| 225 | primary: dcae-sliceanalysisms-pg-primary |
| 226 | replica: dcae-sliceanalysisms-pg-replica |
| 227 | persistence: |
| 228 | mountSubPath: sliceanalysisms/data |
| 229 | mountInitPath: sliceanalysisms |
| 230 | config: |
| 231 | pgUserName: sliceanalysisms |
| 232 | pgDatabase: sliceanalysisms |
| 233 | pgUserExternalSecret: *pgUserCredsSecretName |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 234 | |
| 235 | #Pods Service Account |
| 236 | serviceAccount: |
| 237 | nameOverride: dcae-slice-analysis-ms |
| 238 | roles: |
| 239 | - read |