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
25 #################################################################
26 # Filebeat Configuration Defaults.
27 #################################################################
29 logstashServiceName: log-ls
32 #################################################################
33 # Secrets Configuration.
34 #################################################################
36 - uid: &aafCredsUID aafcreds
38 login: '{{ .Values.aafCreds.identity }}'
39 password: '{{ .Values.aafCreds.password }}'
40 passwordPolicy: required
41 - uid: &pgUserCredsSecretUid pg-user-creds
42 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sliceanalysisms-pg-user-creds'
44 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sliceanalysisms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
45 login: '{{ .Values.postgres.config.pgUserName }}'
46 password: '{{ .Values.postgres.config.pgUserPassword }}'
47 passwordPolicy: generate
49 ################################aafcreds#################################
50 # InitContainer Images.
51 #################################################################
52 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
53 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
55 #################################################################
56 # Application Configuration Defaults.
57 #################################################################
59 image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.0.6
61 # Log directory where logging sidecar should look for log files
62 # if absent, no sidecar will be deployed
63 logDirectory: /var/log/ONAP/dcaegen2/services/sliceanalysisms
65 # Directory where TLS certs should be stored
66 # if absent, no certs will be retrieved and stored
67 certDirectory: /opt/app/sliceanalysisms/etc/cert/
69 # TLS role -- set to true if microservice acts as server
70 # If true, an init container will retrieve a server cert
71 # and key from AAF and mount them in certDirectory.
77 - dcae-config-binding-service
79 - &postgresName dcae-sliceanalysisms-postgres
83 initialDelaySeconds: 60
90 # Service Configuration
93 name: dcae-slice-analysis-ms
101 identity: dcae@dcae.onap.org
102 password: demo123456!
112 uid: *pgUserCredsSecretUid
115 uid: *pgUserCredsSecretUid
118 # Initial Application Configuration
120 aafUsername: ${AAF_IDENTITY}
121 aafPassword: ${AAF_PASSWORD}
122 postgres.host: dcae-sliceanalysisms-pg-primary
124 postgres.username: ${PG_USERNAME}
125 postgres.password: ${PG_PASSWORD}
126 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
127 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
128 sliceanalysisms.pollingInterval: 20
129 sliceanalysisms.pollingTimeout: 60
130 cbsPollingInterval: 60
131 sliceanalysisms.namespace: onap
132 sliceanalysisms.dmaap.server: ["message-router"]
133 sliceanalysisms.bufferTime: 60
134 sliceanalysisms.cg: sliceanalysisms-cg
135 sliceanalysisms.cid: sliceanalysisms-cid
136 sliceanalysisms.configDb.service: http://config-db:8080
137 sliceanalysisms.configDbEnabled: true
138 sliceanalysisms.aai.url: https://aai.onap.svc.cluster.local:8443/aai/v21
139 sliceanalysisms.cps.url: https://cps:8088
140 sliceanalysisms.samples: 3
141 sliceanalysisms.minPercentageChange: 5
142 sliceanalysisms.initialDelaySeconds: 120000
146 aaf_username: ${AAF_IDENTITY}
147 aaf_password: ${AAF_PASSWORD}
149 topic_url: https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.DCAE_CL_OUTPUT
151 performance_management_topic:
153 aaf_username: ${AAF_IDENTITY}
154 aaf_password: ${AAF_PASSWORD}
156 topic_url: https://message-router.onap.svc.cluster.local:3905/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
157 intelligent_slicing_topic:
159 aaf_username: ${AAF_IDENTITY}
160 aaf_password: ${AAF_PASSWORD}
162 topic_url: https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.ML_RESPONSE_TOPIC
163 dcae_cl_response_topic:
165 aaf_username: ${AAF_IDENTITY}
166 aaf_password: ${AAF_PASSWORD}
168 topic_url: https://message-router.onap.svc.cluster.local:3905/events/DCAE_CL_RSP
173 # Resource Limit Flavor -By Default Using Small
175 # Segregation for Different Environment (Small and Large)
193 #################################################################
194 # Application configuration Overriding Defaults in the Postgres.
195 #################################################################
197 nameOverride: *postgresName
200 name2: dcae-sliceanalysisms-pg-primary
201 name3: dcae-sliceanalysisms-pg-replica
204 primary: dcae-sliceanalysisms-pg-primary
205 replica: dcae-sliceanalysisms-pg-replica
207 mountSubPath: sliceanalysisms/data
208 mountInitPath: sliceanalysisms
210 pgUserName: sliceanalysisms
211 pgDatabase: sliceanalysisms
212 pgUserExternalSecret: *pgUserCredsSecretName
214 #Pods Service Account
216 nameOverride: dcae-slice-analysis-ms