blob: 8e3f94dc645bce52671f7998f0887976de479092 [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
23 readinessRepository: oomk8s
24 readinessImage: readiness-check:2.0.0
25 loggingRepository: docker.elastic.co
26 loggingImage: beats/filebeat:5.5.0
27 tlsRepository: nexus3.onap.org:10001
Jack Lucasc70bc7e2019-09-23 09:02:31 -040028 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000029
Krzysztof Opasiakf2816a02020-05-05 11:45:03 +020030secrets:
31 - uid: pg-user-creds
32 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-dashboard-pg-user-creds'
33 type: basicAuth
34 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-dashboard-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
35 login: '{{ .Values.postgres.config.pgUserName }}'
36 password: '{{ .Values.postgres.config.pgUserPassword }}'
37 passwordPolicy: generate
38
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000039config:
40 logstashServiceName: log-ls
41 logstashPort: 5044
42 dhandler_url: https://deployment-handler:8443
43 cfy_url: https://dcae-cloudify-manager/api/v3.1
44 inventory_url: https://inventory:8080
45 # Addresses of other ONAP entities
46 address:
47 consul:
48 host: consul-server
49 port: 8500
50
51#################################################################
52# Application configuration defaults.
53#################################################################
54# application image
55repository: nexus3.onap.org:10001
Jack Lucas00efe372020-03-11 13:48:20 -040056image: onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.3.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:
69 initialDelaySeconds: 30
70 periodSeconds: 30
71 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:
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"