blob: a26ae5d196c3d69f9786fbc973f4ff2aedfc8782 [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
23 readinessRepository: oomk8s
24 readinessImage: readiness-check:2.0.0
25 loggingRepository: docker.elastic.co
26 loggingImage: beats/filebeat:5.5.0
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000027 tlsRepository: nexus3.onap.org:10001
Jack Lucasc6861312020-03-03 15:57:59 -050028 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Krzysztof Opasiakbb48fc82020-05-05 11:36:30 +020029 envsubstImage: dibi/envsubst
Jack Lucas6fae7632019-01-25 11:46:00 -050030 repositoryCred:
31 user: docker
32 password: docker
33
Krzysztof Opasiakbb48fc82020-05-05 11:36:30 +020034secrets:
35 - uid: pg-user-creds
36 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-inventory-api-pg-user-creds'
37 type: basicAuth
38 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-inventory-api-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
39 login: '{{ .Values.postgres.config.pgUserName }}'
40 password: '{{ .Values.postgres.config.pgUserPassword }}'
41 passwordPolicy: generate
42
Jack Lucas6fae7632019-01-25 11:46:00 -050043config:
44 logstashServiceName: log-ls
45 logstashPort: 5044
46 # Addresses of other ONAP entities
47 address:
48 consul:
49 host: consul-server
50 port: 8500
51
52#################################################################
53# Application configuration defaults.
54#################################################################
55# application image
56repository: nexus3.onap.org:10001
Vijay Venkatesh Kumar694394b2020-02-20 21:50:14 +000057image: onap/org.onap.dcaegen2.platform.inventory-api:3.4.1
Jack Lucas6fae7632019-01-25 11:46:00 -050058
59pullPolicy: Always
60
61# probe configuration parameters
62liveness:
63 initialDelaySeconds: 10
64 periodSeconds: 10
65 # necessary to disable liveness probe when setting breakpoints
66 # in debugger so K8s doesn't restart unresponsive container
67 # liveness not desirable for Cloudify Manager container
68 enabled: false
69
70readiness:
71 initialDelaySeconds: 30
72 periodSeconds: 30
73 path: /dcae-service-types
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000074 scheme: HTTPS
Jack Lucas6fae7632019-01-25 11:46:00 -050075
76service:
77 type: ClusterIP
78 name: inventory
79 externalPort: 8080
80 internalPort: 8080
81
82# application configuration override for postgres
83postgres:
84 nameOverride: dcae-inv-pg
85 service:
86 name: dcae-inv-postgres
87 name2: dcae-inv-pg-primary
88 name3: dcae-inv-pg-replica
89 container:
90 name:
91 primary: dcae-inv-pg-primary
92 replica: dcae-inv-pg-replica
93 config:
94 pgUserName: dcae_inv
Krzysztof Opasiakbb48fc82020-05-05 11:36:30 +020095 pgUserExternalSecret: *pgUserCredsSecretName
Jack Lucas6fae7632019-01-25 11:46:00 -050096 pgDatabase: dcae_inventory
Jack Lucas6fae7632019-01-25 11:46:00 -050097 persistence:
98 mountSubPath: dcae-inv/data
99 mountInitPath: dcae-inv
Jack Lucas6fae7632019-01-25 11:46:00 -0500100
101# Resource Limit flavor -By Default using small
102flavor: small
103# Segregation for Different environment (Small and Large)
104resources:
105 small:
106 limits:
107 cpu: 2
108 memory: 2Gi
109 requests:
110 cpu: 1
111 memory: 1Gi
112 large:
113 limits:
114 cpu: 4
115 memory: 4Gi
116 requests:
117 cpu: 2
118 memory: 2Gi
119 unlimited: {}
120# Kubernetes namespace for components deployed via Cloudify manager
121# If empty, use the common namespace
122# dcae_ns: "dcae"