blob: 051a7a4673bdc0a2497deb97b4faaeadd6624141 [file] [log] [blame]
Niranjana01463a92021-07-30 14:40:44 +00001# ============= LICENSE_START ================================================
2# ============================================================================
3# Copyright (C) 2021 Wipro Limited.
4# ============================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ============= LICENSE_END ==================================================
17
18#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010024 centralizedLoggingEnabled: true
Niranjana01463a92021-07-30 14:40:44 +000025
26#################################################################
27# Filebeat Configuration Defaults.
Maciej Wereski7000a7c2021-12-16 12:24:06 +010028#
Niranjana01463a92021-07-30 14:40:44 +000029#################################################################
30filebeatConfig:
31 logstashServiceName: log-ls
32 logstashPort: 5044
33
34#################################################################
35# Secrets Configuration.
36#################################################################
37secrets:
38 - uid: &aafCredsUID aafcreds
39 type: basicAuth
40 login: '{{ .Values.aafCreds.identity }}'
41 password: '{{ .Values.aafCreds.password }}'
42 passwordPolicy: required
43 - uid: &pgUserCredsSecretUid pg-user-creds
44 externalSecret: '{{ include "common.release" . }}-datalake-pg-user-creds'
45 type: basicAuth
46 login: '{{ .Values.postgres.config.pgUserName }}'
47 passwordPolicy: required
48
49################################aafcreds#################################
50# InitContainer Images.
51#################################################################
52tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040053consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
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