22a5a5b1cb959d758c5c68fbb4efece515b8af23
[oom.git] / kubernetes / dcaegen2-services / components / dcae-datalake-admin-ui / 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   centralizedLoggingEnabled: true
25
26 #################################################################
27 # Filebeat Configuration Defaults.
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
43 ################################aafcreds#################################
44 # InitContainer Images.
45 #################################################################
46 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
47 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
48
49 #################################################################
50 # Application Configuration Defaults.
51 #################################################################
52 # Application Image
53 image: onap/org.onap.dcaegen2.services.datalakeadminui:1.1.1
54
55 # Log directory where logging sidecar should look for log files
56 # if path is set to null sidecar won't be deployed in spite of
57 # global.centralizedLoggingEnabled setting.
58 log:
59   path: /var/log/ONAP/dcaegen2/services/datalake-admin-ui
60 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
61
62 # Directory where TLS certs should be stored
63 # if absent, no certs will be retrieved and stored
64 certDirectory: /opt/app/datalake-admin-ui/etc/cert/
65
66 # TLS role -- set to true if microservice acts as server
67 # If true, an init container will retrieve a server cert
68 # and key from AAF and mount them in certDirectory.
69 tlsServer: true
70
71 # Dependencies
72 readinessCheck:
73   wait_for:
74     - aaf-cm
75     - dcae-datalake-feeder
76
77 # Probe Configuration
78 readiness:
79   initialDelaySeconds: 30
80   periodSeconds: 10
81   timeoutSeconds: 1
82   path: /
83   scheme: HTTP
84   port: 8088
85
86 # Service Configuration
87 service:
88   type: ClusterIP
89   name: dl-admin-ui
90   ports:
91     - name: http
92       port: 8088
93       port_protocol: http
94
95 # AAF Credentials
96 aafCreds:
97   identity: dcae@dcae.onap.org
98   password: demo123456!
99
100 # Initial Application Configuration
101 applicationConfig:
102   FEEDER_ADDR: dl-feeder
103
104 # Resource Limit Flavor -By Default Using Small
105 flavor: small
106 # Segregation for Different Environment (Small and Large)
107 resources:
108   small:
109     limits:
110       cpu: 1
111       memory: 1Gi
112     requests:
113       cpu: 1
114       memory: 1Gi
115   large:
116     limits:
117       cpu: 2
118       memory: 2Gi
119     requests:
120       cpu: 2
121       memory: 2Gi
122   unlimited: {}
123
124 #Pods Service Account
125 serviceAccount:
126   nameOverride: dcae-datalake-admin-ui
127   roles:
128     - read