Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / dcaegen2-services / components / dcae-datalake-des / values.yaml
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
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 #################################################################
22 global:
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25   centralizedLoggingEnabled: true
26
27 #################################################################
28 # Filebeat Configuration Defaults.
29 #
30 #################################################################
31 filebeatConfig:
32   logstashServiceName: log-ls
33   logstashPort: 5044
34
35 #################################################################
36 # Secrets Configuration.
37 #################################################################
38 secrets:
39   - 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
45 #################################################################
46 # Application Configuration Defaults.
47 #################################################################
48 # Application Image
49 image: onap/org.onap.dcaegen2.services.datalake.exposure.service:1.1.1
50
51 # Log directory where logging sidecar should look for log files
52 # if path is set to null sidecar won't be deployed in spite of
53 # global.centralizedLoggingEnabled setting.
54 log:
55   path: /var/log/ONAP/dcaegen2/services/datalake
56 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
57
58 # Dependencies
59 readinessCheck:
60   wait_for:
61     services:
62       - dl-feeder
63
64 # Probe Configuration
65 readiness:
66   initialDelaySeconds: 90
67   periodSeconds: 90
68   timeoutSeconds: 10
69   path: /datalake/v1/exposure
70   scheme: HTTP
71   port: 1681
72
73 # Service Configuration
74 service:
75   type: ClusterIP
76   name: dl-des
77   ports:
78     - name: http
79       port: 1681
80       port_protocol: http
81
82 serviceMesh:
83   authorizationPolicy:
84     authorizedPrincipals: []
85
86 #postgres configuration
87 postgres:
88   config:
89     pgUserName: datalake
90
91 # Initial Application Configuration
92 applicationConfig:
93   PRESTO_HOST: dl-presto
94   PRESTO_PORT: 9000
95   PRESTO_USER: user
96   PRESTO_PASSWORD: test
97   HOSTNAME: dl-des
98
99 applicationEnv:
100   PG_HOST: dcae-datalake-pg-primary
101   PG_PORT: '5432'
102   PG_USER:
103     secretUid: *pgUserCredsSecretUid
104     key: login
105   PG_PASSWORD:
106     secretUid: *pgUserCredsSecretUid
107     key: password
108   PG_DB: datalake
109   PRESTO_HOST: dl-presto
110   PRESTO_PORT: '9000'
111   PRESTO_USER: user
112   PRESTO_PASSWORD: test
113
114 # Resource Limit Flavor -By Default Using Small
115 flavor: small
116 # Segregation for Different Environment (Small and Large)
117 resources:
118   small:
119     limits:
120       cpu: "2"
121       memory: "1Gi"
122     requests:
123       cpu: "1"
124       memory: "1Gi"
125   large:
126     limits:
127       cpu: "4"
128       memory: "2Gi"
129     requests:
130       cpu: "2"
131       memory: "2Gi"
132   unlimited: {}
133
134 #Pods Service Account
135 serviceAccount:
136   nameOverride: dcae-datalake-des
137   roles:
138     - read