blob: 9049e0a03c901843c838246814a19520edf15f7c [file] [log] [blame]
Niranjana01463a92021-07-30 14:40:44 +00001# ============= LICENSE_START ================================================
2# ============================================================================
3# Copyright (C) 2021 Wipro Limited.
Jack Lucas64da4e72023-03-03 14:46:05 -05004# Copyright (c) 2022-2023 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:
Niranjana01463a92021-07-30 14:40:44 +000039 - uid: &pgUserCredsSecretUid pg-user-creds
40 externalSecret: '{{ include "common.release" . }}-datalake-pg-user-creds'
41 type: basicAuth
42 login: '{{ .Values.postgres.config.pgUserName }}'
43 passwordPolicy: required
44
Niranjana01463a92021-07-30 14:40:44 +000045#################################################################
46# Application Configuration Defaults.
47#################################################################
48# Application Image
49image: onap/org.onap.dcaegen2.services.datalake.exposure.service:1.1.1
50
51# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010052# if path is set to null sidecar won't be deployed in spite of
53# global.centralizedLoggingEnabled setting.
54log:
55 path: /var/log/ONAP/dcaegen2/services/datalake
56logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Niranjana01463a92021-07-30 14:40:44 +000057
Niranjana01463a92021-07-30 14:40:44 +000058# Dependencies
59readinessCheck:
60 wait_for:
Niranjana01463a92021-07-30 14:40:44 +000061 - dcae-datalake-feeder
62
63# Probe Configuration
64readiness:
65 initialDelaySeconds: 90
66 periodSeconds: 90
67 timeoutSeconds: 10
68 path: /datalake/v1/exposure
69 scheme: HTTP
70 port: 1681
71
72# Service Configuration
73service:
74 type: ClusterIP
75 name: dl-des
76 ports:
77 - name: http
78 port: 1681
79 port_protocol: http
80
Niranjana01463a92021-07-30 14:40:44 +000081#postgres configuration
82postgres:
83 config:
84 pgUserName: datalake
85
86# Initial Application Configuration
87applicationConfig:
88 PRESTO_HOST: dl-presto
89 PRESTO_PORT: 9000
90 PRESTO_USER: user
91 PRESTO_PASSWORD: test
92 HOSTNAME: dl-des
93
94applicationEnv:
95 PG_HOST: dcae-datalake-pg-primary
96 PG_PORT: '5432'
97 PG_USER:
98 secretUid: *pgUserCredsSecretUid
99 key: login
100 PG_PASSWORD:
101 secretUid: *pgUserCredsSecretUid
102 key: password
103 PG_DB: datalake
104 PRESTO_HOST: dl-presto
105 PRESTO_PORT: '9000'
106 PRESTO_USER: user
107 PRESTO_PASSWORD: test
108
109# Resource Limit Flavor -By Default Using Small
110flavor: small
111# Segregation for Different Environment (Small and Large)
112resources:
113 small:
114 limits:
115 cpu: 1
116 memory: 1Gi
117 requests:
118 cpu: 1
119 memory: 1Gi
120 large:
121 limits:
122 cpu: 2
123 memory: 2Gi
124 requests:
125 cpu: 2
126 memory: 2Gi
127 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200128
129#Pods Service Account
130serviceAccount:
131 nameOverride: dcae-datalake-des
132 roles:
133 - read