blob: a83770ea454c674a2d0ce4aab42e46fb09236875 [file] [log] [blame]
Jack Lucas7723ffe2020-02-13 17:19:01 -05001#============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#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020024 readinessImage: onap/oom/readiness:3.0.1
Jack Lucas7723ffe2020-02-13 17:19:01 -050025 ingress:
26 enabled: true
27 virtualhost:
28 enabled: false
29#################################################################
30# Secrets metaconfig
31#################################################################
32secrets:
33 - uid: db-root-pass
34 name: &rootPassSecretName '{{ include "common.release" . }}-dcaemod-db-root-pass'
35 type: password
36 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "dcaemod-db-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret)}}'
37 password: '{{ .Values.postgres.config.pgRootPassword }}'
38 - uid: db-primary-pass
39 name: &primaryPassSecretName '{{ include "common.release" . }}-dcaemod-db-primary-pass'
40 type: password
41 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgPrimaryPasswordExternalSecret) .) (hasSuffix "dcaemod-db-primary-pass" .Values.postgres.config.pgPrimaryPasswordExternalSecret)}}'
42 password: '{{ .Values.postgres.config.pgPrimaryPassword }}'
43
44service:
45 type: ClusterIP
46 name: dcaemod-onboarding-api
47 ports:
48 - name: http
Jack Lucas8d8c9b92020-03-30 15:56:46 -040049 port: 8080
Jack Lucas7723ffe2020-02-13 17:19:01 -050050ingress:
51 enabled: true
52 service:
53 - baseaddr: "onboarding"
54 name: dcaemod-onboarding-api
Jack Lucas8d8c9b92020-03-30 15:56:46 -040055 port: 8080
Jack Lucas7723ffe2020-02-13 17:19:01 -050056 config:
57 ssl: "none"
58
59# probe configuration parameters
60liveness:
61 initialDelaySeconds: 60
62 periodSeconds: 30
63 # necessary to disable liveness probe when setting breakpoints
64 # in debugger so K8s doesn't restart unresponsive container
65 enabled: true
66 port: http
67
68readiness:
69 initialDelaySeconds: 60
70 periodSeconds: 20
71 port: http
72 # Should have a proper readiness endpoint or script
73
74# postgres values--overriding defaults in the postgres subchart
75postgres:
76 nameOverride: dcaemod-db
77 service:
78 name: dcaemod-postgres
79 name2: dcaemod-pg-primary
80 name3: dcaemod-pg-replica
81 suffix: svc.cluster.local
82 container:
83 name:
84 primary: dcaemod-pg-primary
85 replica: dcaemod-pg-replica
86 config:
87 pgPrimaryPasswordExternalSecret: *primaryPassSecretName
88 pgRootPasswordExternalSecret: *rootPassSecretName
89 persistence:
90 mountSubPath: dcaemod/data
91 mountInitPath: dcaemod
92
93# application image
94repository: nexus3.onap.org:10001
vv770d601e2b02020-08-17 22:40:00 +000095image: onap/org.onap.dcaegen2.platform.mod.onboardingapi:2.12.2
Jack Lucas7723ffe2020-02-13 17:19:01 -050096
97# Resource Limit flavor -By Default using small
98flavor: small
99# Segregation for Different environment (Small and Large)
100resources:
101 small:
102 limits:
103 cpu: 2
104 memory: 2Gi
105 requests:
106 cpu: 1
107 memory: 1Gi
108 large:
109 limits:
110 cpu: 4
111 memory: 4Gi
112 requests:
113 cpu: 2
114 memory: 2Gi
115 unlimited: {}
vv770d601e2b02020-08-17 22:40:00 +0000116