a083b519d6d69641203e6bd1d2223e9349d04978
[oom.git] / kubernetes / dcaegen2 / components / dcae-dashboard / values.yaml
1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2019-2021 AT&T Intellectual Property. All rights reserved.
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   nodePortPrefixExt: 304
23   tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
24
25 secrets:
26   - uid: pg-user-creds
27     name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-dashboard-pg-user-creds'
28     type: basicAuth
29     externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-dashboard-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
30     login: '{{ .Values.postgres.config.pgUserName }}'
31     password: '{{ .Values.postgres.config.pgUserPassword }}'
32     passwordPolicy: generate
33   - uid: 'cm-pass'
34     type: password
35     externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
36     password: '{{ .Values.config.cloudifyManagerPassword }}'
37     policy: required
38
39 config:
40   cloudifyManagerPassword: "override me"
41   logstashServiceName: log-ls
42   logstashPort: 5044
43   dhandler_url: https://deployment-handler:8443
44   cfy_url: https://dcae-cloudify-manager/api/v3.1
45   inventory_url: https://inventory:8080
46   # Addresses of other ONAP entities
47   address:
48     consul:
49       host: consul-server
50       port: 8500
51
52 #################################################################
53 # Application configuration defaults.
54 #################################################################
55 # application image
56 image: onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.4.4
57 pullPolicy: Always
58
59 # probe configuration parameters
60 liveness:
61   initialDelaySeconds: 10
62   periodSeconds: 10
63   # necessary to disable liveness probe when setting breakpoints
64   # in debugger so K8s doesn't restart unresponsive container
65   # liveness not desirable for Cloudify Manager container
66   enabled: false
67
68 readiness:
69   initialDelaySeconds: 300
70   periodSeconds: 90
71   path: /ccsdk-app/health
72   scheme: HTTPS
73
74 service:
75   type: NodePort
76   name: dashboard
77   externalPort: 8443
78   internalPort: 8443
79   nodePort: 18
80 # application configuration override for postgres
81 postgres:
82   nameOverride: dcae-dashboard-pg
83   service:
84     name: dcae-dashboard-postgres
85     name2: dcae-dashboard-pg-primary
86     name3: dcae-dashboard-pg-replica
87   container:
88     name:
89       primary: dcae-dashboard-pg-primary
90       replica: dcae-dashboard-pg-replica
91   config:
92     pgUserName: dashboard_pg_admin
93     pgUserExternalSecret: *pgUserCredsSecretName
94     pgDatabase: dashboard_pg_db_common
95     pgPort: "5432"
96   persistence:
97     mountSubPath: dcae-dashboard/data
98     mountInitPath: dcae-dashboard
99
100 #Resource Limit flavor -By Default using small
101 flavor: small
102 #Segregation for Different environment (Small and Large)
103 resources:
104   small:
105     limits:
106       cpu: 2
107       memory: 2Gi
108     requests:
109       cpu: 1
110       memory: 1Gi
111   large:
112     limits:
113       cpu: 4
114       memory: 4Gi
115     requests:
116       cpu: 2
117       memory: 2Gi
118   unlimited: {}
119 # Kubernetes namespace for components deployed via Cloudify manager
120 # If empty, use the common namespace
121 # dcae_ns: "dcae"
122
123 #Pods Service Account
124 serviceAccount:
125   nameOverride: dcae-dashboard
126   roles:
127     - read