blob: 7abf0ca7452d4d209e1614cff3b3fb67a1d69c8d [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
Jack Lucasc6861312020-03-03 15:57:59 -050023 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucas6fae7632019-01-25 11:46:00 -050024
Krzysztof Opasiakbb48fc82020-05-05 11:36:30 +020025secrets:
26 - uid: pg-user-creds
27 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-inventory-api-pg-user-creds'
28 type: basicAuth
29 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-inventory-api-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
30 login: '{{ .Values.postgres.config.pgUserName }}'
31 password: '{{ .Values.postgres.config.pgUserPassword }}'
32 passwordPolicy: generate
33
Jack Lucas6fae7632019-01-25 11:46:00 -050034config:
35 logstashServiceName: log-ls
36 logstashPort: 5044
37 # Addresses of other ONAP entities
38 address:
39 consul:
40 host: consul-server
41 port: 8500
42
43#################################################################
44# Application configuration defaults.
45#################################################################
46# application image
vv770d2ec85e32020-09-21 20:16:16 +000047image: onap/org.onap.dcaegen2.platform.inventory-api:3.5.1
Jack Lucas6fae7632019-01-25 11:46:00 -050048
49pullPolicy: Always
50
51# probe configuration parameters
52liveness:
53 initialDelaySeconds: 10
54 periodSeconds: 10
55 # necessary to disable liveness probe when setting breakpoints
56 # in debugger so K8s doesn't restart unresponsive container
57 # liveness not desirable for Cloudify Manager container
58 enabled: false
59
60readiness:
61 initialDelaySeconds: 30
62 periodSeconds: 30
63 path: /dcae-service-types
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000064 scheme: HTTPS
Jack Lucas6fae7632019-01-25 11:46:00 -050065
66service:
67 type: ClusterIP
68 name: inventory
69 externalPort: 8080
70 internalPort: 8080
71
72# application configuration override for postgres
73postgres:
74 nameOverride: dcae-inv-pg
75 service:
76 name: dcae-inv-postgres
77 name2: dcae-inv-pg-primary
78 name3: dcae-inv-pg-replica
79 container:
80 name:
81 primary: dcae-inv-pg-primary
82 replica: dcae-inv-pg-replica
83 config:
84 pgUserName: dcae_inv
Krzysztof Opasiakbb48fc82020-05-05 11:36:30 +020085 pgUserExternalSecret: *pgUserCredsSecretName
Jack Lucas6fae7632019-01-25 11:46:00 -050086 pgDatabase: dcae_inventory
Jack Lucas6fae7632019-01-25 11:46:00 -050087 persistence:
88 mountSubPath: dcae-inv/data
89 mountInitPath: dcae-inv
Jack Lucas6fae7632019-01-25 11:46:00 -050090
91# Resource Limit flavor -By Default using small
92flavor: small
93# Segregation for Different environment (Small and Large)
94resources:
95 small:
96 limits:
97 cpu: 2
98 memory: 2Gi
99 requests:
100 cpu: 1
101 memory: 1Gi
102 large:
103 limits:
104 cpu: 4
105 memory: 4Gi
106 requests:
107 cpu: 2
108 memory: 2Gi
109 unlimited: {}
110# Kubernetes namespace for components deployed via Cloudify manager
111# If empty, use the common namespace
112# dcae_ns: "dcae"