1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021 Wipro Limited.
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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 ==================================================
18 #################################################################
19 # Global Configuration Defaults.
20 #################################################################
23 nodePortPrefixExt: 304
24 centralizedLoggingEnabled: true
26 #################################################################
27 # Filebeat Configuration Defaults.
28 #################################################################
30 logstashServiceName: log-ls
33 #################################################################
34 # Secrets Configuration.
35 #################################################################
37 - uid: &aafCredsUID aafcreds
39 login: '{{ .Values.aafCreds.identity }}'
40 password: '{{ .Values.aafCreds.password }}'
41 passwordPolicy: required
42 - uid: &pgUserCredsSecretUid pg-user-creds
43 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sliceanalysisms-pg-user-creds'
45 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sliceanalysisms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
46 login: '{{ .Values.postgres.config.pgUserName }}'
47 password: '{{ .Values.postgres.config.pgUserPassword }}'
48 passwordPolicy: generate
50 ################################aafcreds#################################
51 # InitContainer Images.
52 #################################################################
53 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
54 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
56 #################################################################
57 # Application Configuration Defaults.
58 #################################################################
60 image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.0.6
62 # Log directory where logging sidecar should look for log files
63 # if path is set to null sidecar won't be deployed in spite of
64 # global.centralizedLoggingEnabled setting.
66 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
67 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
69 # Directory where TLS certs should be stored
70 # if absent, no certs will be retrieved and stored
71 certDirectory: /opt/app/sliceanalysisms/etc/cert/
73 # TLS role -- set to true if microservice acts as server
74 # If true, an init container will retrieve a server cert
75 # and key from AAF and mount them in certDirectory.
81 - dcae-config-binding-service
83 - &postgresName dcae-sliceanalysisms-postgres
87 initialDelaySeconds: 60
94 # Service Configuration
97 name: dcae-slice-analysis-ms
105 identity: dcae@dcae.onap.org
106 password: demo123456!
116 uid: *pgUserCredsSecretUid
119 uid: *pgUserCredsSecretUid
122 # Initial Application Configuration
124 aafUsername: ${AAF_IDENTITY}
125 aafPassword: ${AAF_PASSWORD}
126 postgres.host: dcae-sliceanalysisms-pg-primary
128 postgres.username: ${PG_USERNAME}
129 postgres.password: ${PG_PASSWORD}
130 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
131 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
132 sliceanalysisms.pollingInterval: 20
133 sliceanalysisms.pollingTimeout: 60
134 cbsPollingInterval: 60
135 sliceanalysisms.namespace: onap
136 sliceanalysisms.dmaap.server: ["message-router"]
137 sliceanalysisms.bufferTime: 60
138 sliceanalysisms.cg: sliceanalysisms-cg
139 sliceanalysisms.cid: sliceanalysisms-cid
140 sliceanalysisms.configDb.service: http://config-db:8080
141 sliceanalysisms.configDbEnabled: true
142 sliceanalysisms.aai.url: https://aai.onap.svc.cluster.local:8443/aai/v21
143 sliceanalysisms.cps.url: https://cps:8088
144 sliceanalysisms.samples: 3
145 sliceanalysisms.minPercentageChange: 5
146 sliceanalysisms.initialDelaySeconds: 120000
150 aaf_username: ${AAF_IDENTITY}
151 aaf_password: ${AAF_PASSWORD}
153 topic_url: https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.DCAE_CL_OUTPUT
155 performance_management_topic:
157 aaf_username: ${AAF_IDENTITY}
158 aaf_password: ${AAF_PASSWORD}
160 topic_url: https://message-router.onap.svc.cluster.local:3905/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
161 intelligent_slicing_topic:
163 aaf_username: ${AAF_IDENTITY}
164 aaf_password: ${AAF_PASSWORD}
166 topic_url: https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.ML_RESPONSE_TOPIC
167 dcae_cl_response_topic:
169 aaf_username: ${AAF_IDENTITY}
170 aaf_password: ${AAF_PASSWORD}
172 topic_url: https://message-router.onap.svc.cluster.local:3905/events/DCAE_CL_RSP
177 # Resource Limit Flavor -By Default Using Small
179 # Segregation for Different Environment (Small and Large)
197 #################################################################
198 # Application configuration Overriding Defaults in the Postgres.
199 #################################################################
201 nameOverride: *postgresName
204 name2: dcae-sliceanalysisms-pg-primary
205 name3: dcae-sliceanalysisms-pg-replica
208 primary: dcae-sliceanalysisms-pg-primary
209 replica: dcae-sliceanalysisms-pg-replica
211 mountSubPath: sliceanalysisms/data
212 mountInitPath: sliceanalysisms
214 pgUserName: sliceanalysisms
215 pgDatabase: sliceanalysisms
216 pgUserExternalSecret: *pgUserCredsSecretName
218 #Pods Service Account
220 nameOverride: dcae-slice-analysis-ms