blob: bab9c05097e431edfb216d6a4b166b2ed346a2e3 [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.
75tlsServer: true
76
77# Dependencies
78readinessCheck:
79 wait_for:
80 - aaf-cm
81 - dcae-datalake-feeder
82
83# Probe Configuration
84readiness:
85 initialDelaySeconds: 90
86 periodSeconds: 90
87 timeoutSeconds: 10
88 path: /datalake/v1/exposure
89 scheme: HTTP
90 port: 1681
91
92# Service Configuration
93service:
94 type: ClusterIP
95 name: dl-des
96 ports:
97 - name: http
98 port: 1681
99 port_protocol: http
100
101# AAF Credentials
102aafCreds:
103 identity: dcae@dcae.onap.org
104 password: demo123456!
105
106#postgres configuration
107postgres:
108 config:
109 pgUserName: datalake
110
111# Initial Application Configuration
112applicationConfig:
113 PRESTO_HOST: dl-presto
114 PRESTO_PORT: 9000
115 PRESTO_USER: user
116 PRESTO_PASSWORD: test
117 HOSTNAME: dl-des
118
119applicationEnv:
120 PG_HOST: dcae-datalake-pg-primary
121 PG_PORT: '5432'
122 PG_USER:
123 secretUid: *pgUserCredsSecretUid
124 key: login
125 PG_PASSWORD:
126 secretUid: *pgUserCredsSecretUid
127 key: password
128 PG_DB: datalake
129 PRESTO_HOST: dl-presto
130 PRESTO_PORT: '9000'
131 PRESTO_USER: user
132 PRESTO_PASSWORD: test
133
134# Resource Limit Flavor -By Default Using Small
135flavor: small
136# Segregation for Different Environment (Small and Large)
137resources:
138 small:
139 limits:
140 cpu: 1
141 memory: 1Gi
142 requests:
143 cpu: 1
144 memory: 1Gi
145 large:
146 limits:
147 cpu: 2
148 memory: 2Gi
149 requests:
150 cpu: 2
151 memory: 2Gi
152 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200153
154#Pods Service Account
155serviceAccount:
156 nameOverride: dcae-datalake-des
157 roles:
158 - read