[DMAAP] DMaaP ServiceMesh compatibility
[oom.git] / kubernetes / dcaegen2-services / components / dcae-bbs-eventprocessor-ms / values.yaml
1 # ================================ LICENSE_START =============================
2 # ============================================================================
3 # Copyright (c) 2021 AT&T Intellectual Property. All rights reserved.
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
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
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 ==============================
17
18 #################################################################
19 # Global Configuration Defaults.
20 #################################################################
21 global:
22   nodePortPrefix: 302
23   nodePortPrefixExt: 304
24   centralizedLoggingEnabled: true
25
26 #################################################################
27 # Filebeat Configuration Defaults.
28 #################################################################
29 filebeatConfig:
30   logstashServiceName: log-ls
31   logstashPort: 5044
32
33 #################################################################
34 # Secrets Configuration.
35 #################################################################
36 secrets:
37   - uid: &aafCredsUID aafcreds
38     type: basicAuth
39     login: '{{ .Values.aafCreds.identity }}'
40     password: '{{ .Values.aafCreds.password }}'
41     passwordPolicy: required
42   - uid: &aaiCredsUID aaicreds
43     type: basicAuth
44     login: '{{ .Values.aaiCreds.username }}'
45     password: '{{ .Values.aaiCreds.password }}'
46     passwordPolicy: required
47
48
49 #################################################################
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
54
55 #################################################################
56 # Application Configuration Defaults.
57 #################################################################
58 # Application Image
59 image: onap/org.onap.dcaegen2.services.components.bbs-event-processor:2.1.1
60 pullPolicy: Always
61
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.
65 log:
66   path: /opt/app/bbs-event-processor/logs
67 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
68
69 # Directory where TLS certs should be stored
70 # if absent, no certs will be retrieved and stored
71 certDirectory: /opt/app/bbs-event-processor/etc/cert/
72
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.
76 tlsServer: true
77
78 # Dependencies
79 readinessCheck:
80   wait_for:
81     - dcae-config-binding-service
82     - aaf-cm
83
84 # Probe Configuration
85 readiness:
86   initialDelaySeconds: 120
87   periodSeconds: 180
88   timeoutSeconds: 5
89   path: /heartbeat
90   scheme: HTTP
91   port: 8100
92
93
94 # Service Configuration
95 service:
96   type: ClusterIP
97   name: dcae-bbs-eventprocessor
98   ports:
99     - name: https
100       port: 8100
101       port_protocol: http
102
103 # AAF Credentials
104 aafCreds:
105   identity: dcae@dcae.onap.org
106   password: demo123456!
107
108 # AAI Credentials
109 aaiCreds:
110   username: AAI
111   password: AAI
112
113 credentials:
114 - name: AAF_USERNAME
115   uid: *aafCredsUID
116   key: login
117 - name: AAF_PASSWORD
118   uid: *aafCredsUID
119   key: password
120 - name: AAI_USERNAME
121   uid: *aaiCredsUID
122   key: login
123 - name: AAI_PASSWORD
124   uid: *aaiCredsUID
125   key: password
126
127
128 # Initial Application Configuration
129 applicationConfig:
130   streams_subscribes:
131     pnf_reregistration:
132       type: message_router
133       aaf_username: ${AAF_USERNAME}
134       aaf_password: ${AAF_PASSWORD}
135       dmaap_info:
136         topic_url: https:message-router:3905/events/unauthenticated.PNF_UPDATE
137     cpe_authentication:
138       type: message_router
139       aaf_username: ${AAF_USERNAME}
140       aaf_password: ${AAF_PASSWORD}
141       dmaap_info:
142         topic_url: https:message-router:3905/events/unauthenticated.CPE_AUTHENTICATION
143   streams_publishes:
144     close_loop:
145       type: message_router
146       aaf_username: ${AAF_USERNAME}
147       aaf_password: ${AAF_PASSWORD}
148       dmaap_info:
149         topic_url: https:message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT
150   dmaap.protocol: https
151   dmaap.contentType: application/json
152   dmaap.consumer.consumerId: c12
153   dmaap.consumer.consumerGroup: OpenDcae-c12
154   dmaap.messageLimit: -1
155   dmaap.timeoutMs: -1
156   aai.host: aai.onap
157   aai.port: 8443
158   aai.protocol: https
159   aai.username: ${AAI_USERNAME}
160   aai.password: ${AAF_PASSWORD}
161   aai.aaiIgnoreSslCertificateErrors: true
162   application.pipelinesPollingIntervalSec: 25
163   application.pipelinesTimeoutSec: 15
164   application.cbsPollingIntervalSec: 120
165   application.policyVersion: 1.0.0.5
166   application.clTargetType: VM
167   application.clEventStatus: ONSET
168   application.clVersion: 1.0.2
169   application.clTarget: vserver.vserver-name
170   application.clOriginator: DCAE-BBS-ep
171   application.reregistration.policyScope: policyScopeReReg
172   application.reregistration.clControlName: clControlNameReReg
173   application.cpe.authentication.policyScope: policyScopeCpeAuth
174   application.cpe.authentication.clControlName: clControlNameCpeAuth
175   application.reregistration.configKey: pnf_reregistration
176   application.cpeAuth.configKey: cpe_authentication
177   application.closeLoop.configKey: close_loop
178   application.loggingLevel: INFO
179   application.ssl.keyStorePath: "/opt/app/bbs-event-processor/etc/cert/cert.jks"
180   application.ssl.keyStorePasswordPath: "/opt/app/bbs-event-processor/etc/cert/jks.pass"
181   application.ssl.trustStorePath: "/opt/app/bbs-event-processor/etc/cert/trust.jks"
182   application.ssl.trustStorePasswordPath: "/opt/app/bbs-event-processor/etc/cert/trust.pass"
183   application.ssl.enableAaiCertAuth: true
184   application.ssl.enableDmaapCertAuth: true
185
186 # Resource Limit Flavor -By Default Using Small
187 flavor: small
188
189 # Segregation for Different Environment (Small and Large)
190 resources:
191   small:
192     limits:
193       cpu: 1
194       memory: 1Gi
195     requests:
196       cpu: 1
197       memory: 1Gi
198   large:
199     limits:
200       cpu: 2
201       memory: 2Gi
202     requests:
203       cpu: 2
204       memory: 2Gi
205   unlimited: {}
206
207 #Pods Service Account
208 serviceAccount:
209   nameOverride: dcae-bbs-eventprocessor-ms
210   roles:
211     - read