blob: cab2a953ec941001f5b7c58b2982db5ae7267992 [file] [log] [blame]
Niranjana01463a92021-07-30 14:40:44 +00001# ============= LICENSE_START ================================================
2# ============================================================================
3# Copyright (C) 2021 Wipro Limited.
Jack Lucasc9797322022-03-18 12:32:59 -04004# Copyright (c) 2022 J. F. Lucas. All rights reserved.
Niranjana01463a92021-07-30 14:40:44 +00005# ============================================================================
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
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
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 ==================================================
18
19#################################################################
20# Global Configuration Defaults.
21#################################################################
22global:
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010025 centralizedLoggingEnabled: true
Niranjana01463a92021-07-30 14:40:44 +000026
27#################################################################
28# Filebeat Configuration Defaults.
Maciej Wereski7000a7c2021-12-16 12:24:06 +010029#
Niranjana01463a92021-07-30 14:40:44 +000030#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
36# Secrets Configuration.
37#################################################################
38secrets:
39 - uid: &aafCredsUID aafcreds
40 type: basicAuth
41 login: '{{ .Values.aafCreds.identity }}'
42 password: '{{ .Values.aafCreds.password }}'
43 passwordPolicy: required
44 - uid: &pgUserCredsSecretUid pg-user-creds
45 externalSecret: '{{ include "common.release" . }}-datalake-pg-user-creds'
46 type: basicAuth
47 login: '{{ .Values.postgres.config.pgUserName }}'
48 passwordPolicy: required
49
50################################aafcreds#################################
51# InitContainer Images.
52#################################################################
53tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Niranjana01463a92021-07-30 14:40:44 +000054
55#################################################################
56# Application Configuration Defaults.
57#################################################################
58# Application Image
59image: onap/org.onap.dcaegen2.services.datalake.exposure.service:1.1.1
60
61# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010062# if path is set to null sidecar won't be deployed in spite of
63# global.centralizedLoggingEnabled setting.
64log:
65 path: /var/log/ONAP/dcaegen2/services/datalake
66logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Niranjana01463a92021-07-30 14:40:44 +000067
68# Directory where TLS certs should be stored
69# if absent, no certs will be retrieved and stored
70certDirectory: /opt/app/datalake/etc/cert/
71
72# TLS role -- set to true if microservice acts as server
73# If true, an init container will retrieve a server cert
74# and key from AAF and mount them in certDirectory.
rope2525a7fbee2022-07-25 20:00:36 +010075tlsServer: false
Niranjana01463a92021-07-30 14:40:44 +000076
77# Dependencies
78readinessCheck:
79 wait_for:
Niranjana01463a92021-07-30 14:40:44 +000080 - dcae-datalake-feeder
81
82# Probe Configuration
83readiness:
84 initialDelaySeconds: 90
85 periodSeconds: 90
86 timeoutSeconds: 10
87 path: /datalake/v1/exposure
88 scheme: HTTP
89 port: 1681
90
91# Service Configuration
92service:
93 type: ClusterIP
94 name: dl-des
95 ports:
96 - name: http
97 port: 1681
98 port_protocol: http
99
100# AAF Credentials
101aafCreds:
102 identity: dcae@dcae.onap.org
103 password: demo123456!
104
105#postgres configuration
106postgres:
107 config:
108 pgUserName: datalake
109
110# Initial Application Configuration
111applicationConfig:
112 PRESTO_HOST: dl-presto
113 PRESTO_PORT: 9000
114 PRESTO_USER: user
115 PRESTO_PASSWORD: test
116 HOSTNAME: dl-des
117
118applicationEnv:
119 PG_HOST: dcae-datalake-pg-primary
120 PG_PORT: '5432'
121 PG_USER:
122 secretUid: *pgUserCredsSecretUid
123 key: login
124 PG_PASSWORD:
125 secretUid: *pgUserCredsSecretUid
126 key: password
127 PG_DB: datalake
128 PRESTO_HOST: dl-presto
129 PRESTO_PORT: '9000'
130 PRESTO_USER: user
131 PRESTO_PASSWORD: test
132
133# Resource Limit Flavor -By Default Using Small
134flavor: small
135# Segregation for Different Environment (Small and Large)
136resources:
137 small:
138 limits:
139 cpu: 1
140 memory: 1Gi
141 requests:
142 cpu: 1
143 memory: 1Gi
144 large:
145 limits:
146 cpu: 2
147 memory: 2Gi
148 requests:
149 cpu: 2
150 memory: 2Gi
151 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200152
153#Pods Service Account
154serviceAccount:
155 nameOverride: dcae-datalake-des
156 roles:
157 - read