blob: 889f2e83ec9cc8e2740cfa000d8e23df031ca2f6 [file] [log] [blame]
Mandeep Khinda60d36d42018-09-24 15:15:48 +00001# Copyright © 2018 AT&T USA
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
21 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000022 readinessImage: readiness-check:2.0.2
jmacc4f04d32018-10-12 18:24:24 +000023 persistence:
24 mountPath: /dockerdata-nfs
25
26#################################################################
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010027# Secrets metaconfig
28#################################################################
29secrets:
30 - uid: db-user-creds
31 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-user-creds'
32 type: basicAuth
33 externalSecret: '{{ .Values.db.userCredsExternalSecret }}'
34 login: '{{ .Values.db.userName }}'
35 password: '{{ .Values.db.userPassword }}'
36 passwordPolicy: required
37 - uid: db-admin-creds
38 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-admin-creds'
39 type: basicAuth
40 externalSecret: '{{ .Values.db.adminCredsExternalSecret }}'
41 login: '{{ .Values.db.adminName }}'
42 password: '{{ .Values.db.adminPassword }}'
43 passwordPolicy: required
44
45#################################################################
jmacc4f04d32018-10-12 18:24:24 +000046# Application configuration defaults.
47#################################################################
Mandeep Khinda60d36d42018-09-24 15:15:48 +000048repository: nexus3.onap.org:10001
seshukmfb56d712019-10-14 10:46:52 +053049image: onap/so/catalog-db-adapter:1.5.3
jmacc4f04d32018-10-12 18:24:24 +000050pullPolicy: Always
51
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010052db:
53 userName: so_user
54 userPassword: so_User123
55 # userCredsExternalSecret: some secret
56 adminName: so_admin
57 adminPassword: so_Admin123
58 # adminCredsExternalSecret: some secret
59
Mandeep Khinda60d36d42018-09-24 15:15:48 +000060replicaCount: 1
61minReadySeconds: 10
62containerPort: 8082
63logPath: ./logs/catdb/
64app: catalog-db-adapter
65service:
66 type: ClusterIP
67 internalPort: 8082
68 externalPort: 8082
69 portName: so-catdb-port
70updateStrategy:
71 type: RollingUpdate
72 maxUnavailable: 1
73 maxSurge: 1
74# Resource Limit flavor -By Default using small
75flavor: small
76# Segregation for Different environment (Small and Large)
77resources:
78 small:
79 limits:
80 memory: 4Gi
81 cpu: 2000m
82 requests:
83 memory: 1Gi
84 cpu: 500m
85 large:
86 limits:
87 memory: 8Gi
88 cpu: 4000m
89 requests:
90 memory: 2Gi
91 cpu: 1000m
92 unlimited: {}
93livenessProbe:
94 path: /manage/health
95 port: 8082
96 scheme: HTTP
97 initialDelaySeconds: 600
98 periodSeconds: 60
99 timeoutSeconds: 10
100 successThreshold: 1
101 failureThreshold: 3
102ingress:
103 enabled: false
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +0000104config:
105 openStackUserName: "vnf_user"
106 openStackRegion: "RegionOne"
107 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
108 openStackServiceTenantName: "service"
109 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
110 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
AndrewLamb43687c02019-10-25 10:29:49 +0100111 openStackProjectDomainName: "openStackProjectDomainName"
112 openStackUserDomainName: "openStackUserDomainName"
Sylvain Desbureaux04f765e2020-02-13 11:08:06 +0100113 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
114 openStackKeystoneVersion: "KEYSTONE"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000115nodeSelector: {}
116tolerations: []
117affinity: {}