598d52be1b66497a8acf3faf9419c62ece368b91
[oom.git] / kubernetes / dcaegen2-services / components / dcae-datalake-des / values.yaml
1 # ============= 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 #################################################################
21 global:
22   nodePortPrefix: 302
23   nodePortPrefixExt: 304
24
25 #################################################################
26 # Filebeat Configuration Defaults.
27 #B
28 #################################################################
29 filebeatConfig:
30   logstashServiceName: log-ls
31   logstashPort: 5044
32
33 #################################################################
34 # Secrets Configuration.
35 #################################################################
36 secrets:
37   - uid: &aafCredsUID aafcreds
38     type: basicAuth
39     login: '{{ .Values.aafCreds.identity }}'
40     password: '{{ .Values.aafCreds.password }}'
41     passwordPolicy: required
42   - uid: &pgUserCredsSecretUid pg-user-creds
43     externalSecret: '{{ include "common.release" . }}-datalake-pg-user-creds'
44     type: basicAuth
45     login: '{{ .Values.postgres.config.pgUserName }}'
46     passwordPolicy: required
47
48 ################################aafcreds#################################
49 # InitContainer Images.
50 #################################################################
51 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
52 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0
53
54 #################################################################
55 # Application Configuration Defaults.
56 #################################################################
57 # Application Image
58 image: onap/org.onap.dcaegen2.services.datalake.exposure.service:1.1.1
59
60 # Log directory where logging sidecar should look for log files
61 # if absent, no sidecar will be deployed
62 logDirectory: /var/log/ONAP/dcaegen2/services/datalake
63
64 # Directory where TLS certs should be stored
65 # if absent, no certs will be retrieved and stored
66 certDirectory: /opt/app/datalake/etc/cert/
67
68 # TLS role -- set to true if microservice acts as server
69 # If true, an init container will retrieve a server cert
70 # and key from AAF and mount them in certDirectory.
71 tlsServer: true
72
73 # Dependencies
74 readinessCheck:
75   wait_for:
76     - aaf-cm
77     - dcae-datalake-feeder
78
79 # Probe Configuration
80 readiness:
81   initialDelaySeconds: 90
82   periodSeconds: 90
83   timeoutSeconds: 10
84   path: /datalake/v1/exposure
85   scheme: HTTP
86   port: 1681
87
88 # Service Configuration
89 service:
90   type: ClusterIP
91   name: dl-des
92   ports:
93     - name: http
94       port: 1681
95       port_protocol: http
96
97 # AAF Credentials
98 aafCreds:
99   identity: dcae@dcae.onap.org
100   password: demo123456!
101
102 #postgres configuration
103 postgres:
104   config:
105     pgUserName: datalake
106
107 # Initial Application Configuration
108 applicationConfig:
109   PRESTO_HOST: dl-presto
110   PRESTO_PORT: 9000
111   PRESTO_USER: user
112   PRESTO_PASSWORD: test
113   HOSTNAME: dl-des
114
115 applicationEnv:
116   PG_HOST: dcae-datalake-pg-primary
117   PG_PORT: '5432'
118   PG_USER:
119     secretUid: *pgUserCredsSecretUid
120     key: login
121   PG_PASSWORD:
122     secretUid: *pgUserCredsSecretUid
123     key: password
124   PG_DB: datalake
125   PRESTO_HOST: dl-presto
126   PRESTO_PORT: '9000'
127   PRESTO_USER: user
128   PRESTO_PASSWORD: test
129
130 # Resource Limit Flavor -By Default Using Small
131 flavor: small
132 # Segregation for Different Environment (Small and Large)
133 resources:
134   small:
135     limits:
136       cpu: 1
137       memory: 1Gi
138     requests:
139       cpu: 1
140       memory: 1Gi
141   large:
142     limits:
143       cpu: 2
144       memory: 2Gi
145     requests:
146       cpu: 2
147       memory: 2Gi
148   unlimited: {}