1 # ================================ LICENSE_START =============================
2 # ============================================================================
3 # Copyright (C) 2021 Wipro Limited.
4 # Copyright (c) 2022 J. F. Lucas. All rights reserved.
5 # ============================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ================================= LICENSE_END ==============================
19 #################################################################
20 # Global Configuration Defaults.
21 #################################################################
24 nodePortPrefixExt: 304
25 centralizedLoggingEnabled: true
27 #################################################################
28 # Filebeat Configuration Defaults.
29 #################################################################
31 logstashServiceName: log-ls
34 #################################################################
35 # Secrets Configuration.
36 #################################################################
38 - uid: &aafCredsUID aafcreds
40 login: '{{ .Values.aafCreds.identity }}'
41 password: '{{ .Values.aafCreds.password }}'
42 passwordPolicy: required
43 - uid: &pgUserCredsSecretUid pg-user-creds
44 name: &pgUserCredsSecretName '{{ include "common.release" . }}-datalake-pg-user-creds'
46 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "datalake-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
47 login: '{{ .Values.postgres.config.pgUserName }}'
48 password: '{{ .Values.postgres.config.pgUserPassword }}'
49 passwordPolicy: generate
51 #################################################################
52 # InitContainer Images.
53 #################################################################
54 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
56 #################################################################
57 # Application Configuration Defaults.
58 #################################################################
60 image: onap/org.onap.dcaegen2.services.datalakefeeder:1.1.1
63 # Log directory where logging sidecar should look for log files
64 # if path is set to null sidecar won't be deployed in spite of
65 # global.centralizedLoggingEnabled setting.
67 path: /var/log/ONAP/dcaegen2/services/datalake
68 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
70 # Directory where TLS certs should be stored
71 # if absent, no certs will be retrieved and stored
72 certDirectory: /opt/app/datalake/etc/certs
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.
83 - &postgresName dcae-datalake-postgres
87 initialDelaySeconds: 90
90 path: /datalake/v1/topics
94 # Service Configuration
105 identity: dcae@dcae.onap.org
106 password: demo123456!
110 uid: *pgUserCredsSecretUid
113 uid: *pgUserCredsSecretUid
116 # Initial Application Configuration
118 PG_HOST: dcae-datalake-pg-primary
121 PG_PASSWORD: ${PG_PASSWORD}
123 HOSTNAME: dcae-datalake-feeder
125 CONFIG_BINDING_SERVICE: 30408
128 PG_HOST: dcae-datalake-pg-primary
131 secretUid: *pgUserCredsSecretUid
134 secretUid: *pgUserCredsSecretUid
138 # Resource Limit Flavor -By Default Using Small
141 # Segregation for Different Environment (Small and Large)
159 #################################################################
160 # Application configuration Overriding Defaults in the Postgres.
161 #################################################################
163 nameOverride: *postgresName
166 name2: dcae-datalake-pg-primary
167 name3: dcae-datalake-pg-replica
170 primary: dcae-datalake-pg-primary
171 replica: dcae-datalake-pg-replica
173 mountSubPath: datalake/data
174 mountInitPath: datalake
178 pgUserExternalSecret: *pgUserCredsSecretName
180 #Pods Service Account
182 nameOverride: dcae-datalake-feeder