blob: 51fcd08c4adbf523a30215ff64d8d8ca0a2e3c32 [file] [log] [blame]
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +00001#============LICENSE_START========================================================
2# ================================================================================
Jack Lucasc6861312020-03-03 15:57:59 -05003# Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +00004# ================================================================================
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#################################################################
21global:
22 nodePortPrefixExt: 304
Jack Lucasc70bc7e2019-09-23 09:02:31 -040023 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000024
Krzysztof Opasiakf2816a02020-05-05 11:45:03 +020025secrets:
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
Schmalzried, Terry (ts862m)12db7892020-08-21 20:42:33 -040033 - uid: 'cm-pass'
34 type: password
35 externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
36 password: '{{ .Values.config.cloudifyManagerPassword }}'
37 policy: required
Krzysztof Opasiakf2816a02020-05-05 11:45:03 +020038
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000039config:
Schmalzried, Terry (ts862m)12db7892020-08-21 20:42:33 -040040 cloudifyManagerPassword: "override me"
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000041 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
vv770d42cccf22021-03-29 19:42:55 +000056image: onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.4.2
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000057pullPolicy: Always
58
59# probe configuration parameters
60liveness:
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
68readiness:
vv770d42cccf22021-03-29 19:42:55 +000069 initialDelaySeconds: 300
70 periodSeconds: 90
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000071 path: /ccsdk-app/health
Vijay Venkatesh Kumar694394b2020-02-20 21:50:14 +000072 scheme: HTTPS
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000073
74service:
75 type: NodePort
76 name: dashboard
Vijay Venkatesh Kumar694394b2020-02-20 21:50:14 +000077 externalPort: 8443
78 internalPort: 8443
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000079 nodePort: 18
80# application configuration override for postgres
81postgres:
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
Krzysztof Opasiakf2816a02020-05-05 11:45:03 +020093 pgUserExternalSecret: *pgUserCredsSecretName
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000094 pgDatabase: dashboard_pg_db_common
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000095 pgPort: "5432"
96 persistence:
97 mountSubPath: dcae-dashboard/data
98 mountInitPath: dcae-dashboard
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000099
100# Resource Limit flavor -By Default using small
101flavor: small
102# Segregation for Different environment (Small and Large)
103resources:
104 small:
105 limits:
vv770d42cccf22021-03-29 19:42:55 +0000106 cpu: 0.6
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +0000107 memory: 1Gi
vv770d42cccf22021-03-29 19:42:55 +0000108 requests:
109 cpu: 0.4
110 memory: 600Mib
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +0000111 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"