1 # ================================ LICENSE_START =============================
2 # ============================================================================
3 # Copyright (C) 2021 Wipro Limited.
4 # Copyright (c) 2022-2023 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: &pgUserCredsSecretUid pg-user-creds
39 name: &pgUserCredsSecretName '{{ include "common.release" . }}-datalake-pg-user-creds'
41 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "datalake-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
42 login: '{{ .Values.postgres.config.pgUserName }}'
43 password: '{{ .Values.postgres.config.pgUserPassword }}'
44 passwordPolicy: generate
46 #################################################################
47 # Application Configuration Defaults.
48 #################################################################
50 image: onap/org.onap.dcaegen2.services.datalakefeeder:1.1.1
53 # Log directory where logging sidecar should look for log files
54 # if path is set to null sidecar won't be deployed in spite of
55 # global.centralizedLoggingEnabled setting.
57 path: /var/log/ONAP/dcaegen2/services/datalake
58 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
62 initialDelaySeconds: 90
65 path: /datalake/v1/topics
69 # Service Configuration
81 - serviceAccount: dcae-datalake-admin-ui-read
82 - serviceAccount: dcae-datalake-des-read
83 authorizedPrincipalsPostgres:
84 - serviceAccount: dcae-datalake-des-read
85 - serviceAccount: dcae-datalake-feeder-read
89 uid: *pgUserCredsSecretUid
92 uid: *pgUserCredsSecretUid
95 # Initial Application Configuration
97 PG_HOST: dcae-datalake-pg-primary
100 PG_PASSWORD: ${PG_PASSWORD}
102 HOSTNAME: dcae-datalake-feeder
104 CONFIG_BINDING_SERVICE: 30408
107 PG_HOST: dcae-datalake-pg-primary
110 secretUid: *pgUserCredsSecretUid
113 secretUid: *pgUserCredsSecretUid
117 # Resource Limit Flavor -By Default Using Small
120 # Segregation for Different Environment (Small and Large)
138 #################################################################
139 # Application configuration Overriding Defaults in the Postgres.
140 #################################################################
142 nameOverride: &postgresName dcae-datalake-postgres
145 name2: dcae-datalake-pg-primary
146 name3: dcae-datalake-pg-replica
149 primary: dcae-datalake-pg-primary
150 replica: dcae-datalake-pg-replica
152 mountSubPath: datalake/data
153 mountInitPath: datalake
157 pgUserExternalSecret: *pgUserCredsSecretName
162 - '{{ .Values.postgres.service.name2 }}'
164 #Pods Service Account
166 nameOverride: dcae-datalake-feeder