Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[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 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: &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 #################################################################
53 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
54
55 #################################################################
56 # Application Configuration Defaults.
57 #################################################################
58 # Application Image
59 image: onap/org.onap.dcaegen2.services.datalake.exposure.service:1.1.1
60
61 # Log directory where logging sidecar should look for log files
62 # if path is set to null sidecar won't be deployed in spite of
63 # global.centralizedLoggingEnabled setting.
64 log:
65   path: /var/log/ONAP/dcaegen2/services/datalake
66 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
67
68 # Directory where TLS certs should be stored
69 # if absent, no certs will be retrieved and stored
70 certDirectory: /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.
75 tlsServer: true
76
77 # Dependencies
78 readinessCheck:
79   wait_for:
80     - aaf-cm
81     - dcae-datalake-feeder
82
83 # Probe Configuration
84 readiness:
85   initialDelaySeconds: 90
86   periodSeconds: 90
87   timeoutSeconds: 10
88   path: /datalake/v1/exposure
89   scheme: HTTP
90   port: 1681
91
92 # Service Configuration
93 service:
94   type: ClusterIP
95   name: dl-des
96   ports:
97     - name: http
98       port: 1681
99       port_protocol: http
100
101 # AAF Credentials
102 aafCreds:
103   identity: dcae@dcae.onap.org
104   password: demo123456!
105
106 #postgres configuration
107 postgres:
108   config:
109     pgUserName: datalake
110
111 # Initial Application Configuration
112 applicationConfig:
113   PRESTO_HOST: dl-presto
114   PRESTO_PORT: 9000
115   PRESTO_USER: user
116   PRESTO_PASSWORD: test
117   HOSTNAME: dl-des
118
119 applicationEnv:
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
135 flavor: small
136 # Segregation for Different Environment (Small and Large)
137 resources:
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: {}
153
154 #Pods Service Account
155 serviceAccount:
156   nameOverride: dcae-datalake-des
157   roles:
158     - read