blob: 3fec5377164ac4204050dca436a54d76badfca54 [file] [log] [blame]
Jack Lucas6fae7632019-01-25 11:46:00 -05001#============LICENSE_START========================================================
2# ================================================================================
3# Copyright (c) 2019 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#################################################################
21global:
22 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020023 readinessImage: onap/oom/readiness:3.0.1
Jack Lucas6fae7632019-01-25 11:46:00 -050024 loggingRepository: docker.elastic.co
25 loggingImage: beats/filebeat:5.5.0
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000026 tlsRepository: nexus3.onap.org:10001
Jack Lucasc6861312020-03-03 15:57:59 -050027 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Krzysztof Opasiakbb48fc82020-05-05 11:36:30 +020028 envsubstImage: dibi/envsubst
Jack Lucas6fae7632019-01-25 11:46:00 -050029 repositoryCred:
30 user: docker
31 password: docker
32
Krzysztof Opasiakbb48fc82020-05-05 11:36:30 +020033secrets:
34 - uid: pg-user-creds
35 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-inventory-api-pg-user-creds'
36 type: basicAuth
37 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-inventory-api-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
38 login: '{{ .Values.postgres.config.pgUserName }}'
39 password: '{{ .Values.postgres.config.pgUserPassword }}'
40 passwordPolicy: generate
41
Jack Lucas6fae7632019-01-25 11:46:00 -050042config:
43 logstashServiceName: log-ls
44 logstashPort: 5044
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
vv770d2ec85e32020-09-21 20:16:16 +000056image: onap/org.onap.dcaegen2.platform.inventory-api:3.5.1
Jack Lucas6fae7632019-01-25 11:46:00 -050057
58pullPolicy: Always
59
60# probe configuration parameters
61liveness:
62 initialDelaySeconds: 10
63 periodSeconds: 10
64 # necessary to disable liveness probe when setting breakpoints
65 # in debugger so K8s doesn't restart unresponsive container
66 # liveness not desirable for Cloudify Manager container
67 enabled: false
68
69readiness:
70 initialDelaySeconds: 30
71 periodSeconds: 30
72 path: /dcae-service-types
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000073 scheme: HTTPS
Jack Lucas6fae7632019-01-25 11:46:00 -050074
75service:
76 type: ClusterIP
77 name: inventory
78 externalPort: 8080
79 internalPort: 8080
80
81# application configuration override for postgres
82postgres:
83 nameOverride: dcae-inv-pg
84 service:
85 name: dcae-inv-postgres
86 name2: dcae-inv-pg-primary
87 name3: dcae-inv-pg-replica
88 container:
89 name:
90 primary: dcae-inv-pg-primary
91 replica: dcae-inv-pg-replica
92 config:
93 pgUserName: dcae_inv
Krzysztof Opasiakbb48fc82020-05-05 11:36:30 +020094 pgUserExternalSecret: *pgUserCredsSecretName
Jack Lucas6fae7632019-01-25 11:46:00 -050095 pgDatabase: dcae_inventory
Jack Lucas6fae7632019-01-25 11:46:00 -050096 persistence:
97 mountSubPath: dcae-inv/data
98 mountInitPath: dcae-inv
Jack Lucas6fae7632019-01-25 11:46:00 -050099
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"