Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[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: 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