[GENERAL] Use readiness container v3.0.1
[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
38 config:
39   logstashServiceName: log-ls
40   logstashPort: 5044
41   dhandler_url: https://deployment-handler:8443
42   cfy_url: https://dcae-cloudify-manager/api/v3.1
43   inventory_url: https://inventory:8080
44   # Addresses of other ONAP entities
45   address:
46     consul:
47       host: consul-server
48       port: 8500
49
50 #################################################################
51 # Application configuration defaults.
52 #################################################################
53 # application image
54 repository: nexus3.onap.org:10001
55 image: onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.3.2
56 pullPolicy: Always
57
58 # probe configuration parameters
59 liveness:
60   initialDelaySeconds: 10
61   periodSeconds: 10
62   # necessary to disable liveness probe when setting breakpoints
63   # in debugger so K8s doesn't restart unresponsive container
64   # liveness not desirable for Cloudify Manager container
65   enabled: false
66
67 readiness:
68   initialDelaySeconds: 30
69   periodSeconds: 30
70   path: /ccsdk-app/health
71   scheme: HTTPS
72
73 service:
74   type: NodePort
75   name: dashboard
76   externalPort: 8443
77   internalPort: 8443
78   nodePort: 18
79 # application configuration override for postgres
80 postgres:
81   nameOverride: dcae-dashboard-pg
82   service:
83     name: dcae-dashboard-postgres
84     name2: dcae-dashboard-pg-primary
85     name3: dcae-dashboard-pg-replica
86   container:
87     name:
88       primary: dcae-dashboard-pg-primary
89       replica: dcae-dashboard-pg-replica
90   config:
91     pgUserName: dashboard_pg_admin
92     pgUserExternalSecret: *pgUserCredsSecretName
93     pgDatabase: dashboard_pg_db_common
94     pgPort: "5432"
95   persistence:
96     mountSubPath: dcae-dashboard/data
97     mountInitPath: dcae-dashboard
98
99 # Resource Limit flavor -By Default using small
100 flavor: small
101 # Segregation for Different environment (Small and Large)
102 resources:
103   small:
104     limits:
105       cpu: 2
106       memory: 2Gi
107     requests:
108       cpu: 1
109       memory: 1Gi
110   large:
111     limits:
112       cpu: 4
113       memory: 4Gi
114     requests:
115       cpu: 2
116       memory: 2Gi
117   unlimited: {}
118 # Kubernetes namespace for components deployed via Cloudify manager
119 # If empty, use the common namespace
120 # dcae_ns: "dcae"