Merge "[DCAEGEN2] Change YAML comment to helm comment"
[oom.git] / kubernetes / dcaegen2 / components / dcae-dashboard / values.yaml
1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2019-2020 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   readinessImage: onap/oom/readiness:3.0.1
24   loggingRepository: docker.elastic.co
25   loggingImage: beats/filebeat:5.5.0
26   tlsRepository: nexus3.onap.org:10001
27   tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
28
29 secrets:
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
37   - uid: 'cm-pass'
38     type: password
39     externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
40     password: '{{ .Values.config.cloudifyManagerPassword }}'
41     policy: required
42
43 config:
44   cloudifyManagerPassword: "override me"
45   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
60 repository: nexus3.onap.org:10001
61 image: onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.4.0
62 pullPolicy: Always
63
64 # probe configuration parameters
65 liveness:
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
73 readiness:
74   initialDelaySeconds: 30
75   periodSeconds: 30
76   path: /ccsdk-app/health
77   scheme: HTTPS
78
79 service:
80   type: NodePort
81   name: dashboard
82   externalPort: 8443
83   internalPort: 8443
84   nodePort: 18
85 # application configuration override for postgres
86 postgres:
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
98     pgUserExternalSecret: *pgUserCredsSecretName
99     pgDatabase: dashboard_pg_db_common
100     pgPort: "5432"
101   persistence:
102     mountSubPath: dcae-dashboard/data
103     mountInitPath: dcae-dashboard
104
105 # Resource Limit flavor -By Default using small
106 flavor: small
107 # Segregation for Different environment (Small and Large)
108 resources:
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"