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