[DCAE] DCAEGEN2-Services Service Mesh Patch
[oom.git] / kubernetes / dcaegen2-services / components / dcae-datalake-admin-ui / 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 filebeatConfig:
31   logstashServiceName: log-ls
32   logstashPort: 5044
33
34 #################################################################
35 # Secrets Configuration.
36 #################################################################
37 secrets:
38   - uid: &aafCredsUID aafcreds
39     type: basicAuth
40     login: '{{ .Values.aafCreds.identity }}'
41     password: '{{ .Values.aafCreds.password }}'
42     passwordPolicy: required
43
44 ################################aafcreds#################################
45 # InitContainer Images.
46 #################################################################
47 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
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: false
70
71 # Dependencies
72 readinessCheck:
73   wait_for:
74     - dcae-datalake-feeder
75
76 # Probe Configuration
77 readiness:
78   initialDelaySeconds: 30
79   periodSeconds: 10
80   timeoutSeconds: 1
81   path: /
82   scheme: HTTP
83   port: 8088
84
85 # Service Configuration
86 service:
87   type: ClusterIP
88   name: dl-admin-ui
89   ports:
90     - name: http
91       port: 8088
92       port_protocol: http
93
94 # AAF Credentials
95 aafCreds:
96   identity: dcae@dcae.onap.org
97   password: demo123456!
98
99 # Initial Application Configuration
100 applicationConfig:
101   FEEDER_ADDR: dl-feeder
102
103 # Resource Limit Flavor -By Default Using Small
104 flavor: small
105 # Segregation for Different Environment (Small and Large)
106 resources:
107   small:
108     limits:
109       cpu: 1
110       memory: 1Gi
111     requests:
112       cpu: 1
113       memory: 1Gi
114   large:
115     limits:
116       cpu: 2
117       memory: 2Gi
118     requests:
119       cpu: 2
120       memory: 2Gi
121   unlimited: {}
122
123 #Pods Service Account
124 serviceAccount:
125   nameOverride: dcae-datalake-admin-ui
126   roles:
127     - read