blob: a86a1eed49724c50d4666ffd13c37a35d9060ba7 [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020023 readinessImage: onap/oom/readiness:3.0.1
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000024 loggingRepository: docker.elastic.co
25 loggingImage: beats/filebeat:5.5.0
26 tlsRepository: nexus3.onap.org:10001
Jack Lucasc70bc7e2019-09-23 09:02:31 -040027 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000028
Krzysztof Opasiakf2816a02020-05-05 11:45:03 +020029secrets:
30 - uid: pg-user-creds
31 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-dashboard-pg-user-creds'
32 type: basicAuth
33 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-dashboard-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
34 login: '{{ .Values.postgres.config.pgUserName }}'
35 password: '{{ .Values.postgres.config.pgUserPassword }}'
36 passwordPolicy: generate
Schmalzried, Terry (ts862m)12db7892020-08-21 20:42:33 -040037 - uid: 'cm-pass'
38 type: password
39 externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
40 password: '{{ .Values.config.cloudifyManagerPassword }}'
41 policy: required
Krzysztof Opasiakf2816a02020-05-05 11:45:03 +020042
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000043config:
Schmalzried, Terry (ts862m)12db7892020-08-21 20:42:33 -040044 cloudifyManagerPassword: "override me"
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000045 logstashServiceName: log-ls
46 logstashPort: 5044
47 dhandler_url: https://deployment-handler:8443
48 cfy_url: https://dcae-cloudify-manager/api/v3.1
49 inventory_url: https://inventory:8080
50 # Addresses of other ONAP entities
51 address:
52 consul:
53 host: consul-server
54 port: 8500
55
56#################################################################
57# Application configuration defaults.
58#################################################################
59# application image
60repository: nexus3.onap.org:10001
vv770d2ec85e32020-09-21 20:16:16 +000061image: onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.4.0
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000062pullPolicy: Always
63
64# probe configuration parameters
65liveness:
66 initialDelaySeconds: 10
67 periodSeconds: 10
68 # necessary to disable liveness probe when setting breakpoints
69 # in debugger so K8s doesn't restart unresponsive container
70 # liveness not desirable for Cloudify Manager container
71 enabled: false
72
73readiness:
74 initialDelaySeconds: 30
75 periodSeconds: 30
76 path: /ccsdk-app/health
Vijay Venkatesh Kumar694394b2020-02-20 21:50:14 +000077 scheme: HTTPS
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000078
79service:
80 type: NodePort
81 name: dashboard
Vijay Venkatesh Kumar694394b2020-02-20 21:50:14 +000082 externalPort: 8443
83 internalPort: 8443
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000084 nodePort: 18
85# application configuration override for postgres
86postgres:
87 nameOverride: dcae-dashboard-pg
88 service:
89 name: dcae-dashboard-postgres
90 name2: dcae-dashboard-pg-primary
91 name3: dcae-dashboard-pg-replica
92 container:
93 name:
94 primary: dcae-dashboard-pg-primary
95 replica: dcae-dashboard-pg-replica
96 config:
97 pgUserName: dashboard_pg_admin
Krzysztof Opasiakf2816a02020-05-05 11:45:03 +020098 pgUserExternalSecret: *pgUserCredsSecretName
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000099 pgDatabase: dashboard_pg_db_common
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +0000100 pgPort: "5432"
101 persistence:
102 mountSubPath: dcae-dashboard/data
103 mountInitPath: dcae-dashboard
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +0000104
105# Resource Limit flavor -By Default using small
106flavor: small
107# Segregation for Different environment (Small and Large)
108resources:
109 small:
110 limits:
111 cpu: 2
112 memory: 2Gi
113 requests:
114 cpu: 1
115 memory: 1Gi
116 large:
117 limits:
118 cpu: 4
119 memory: 4Gi
120 requests:
121 cpu: 2
122 memory: 2Gi
123 unlimited: {}
124# Kubernetes namespace for components deployed via Cloudify manager
125# If empty, use the common namespace
126# dcae_ns: "dcae"