blob: 6b363c6c77a3d0d670a2e4a82c0699616a8082c4 [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
jmacc4f04d32018-10-12 18:24:24 +000022 persistence:
23 mountPath: /dockerdata-nfs
24
25#################################################################
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010026# Secrets metaconfig
27#################################################################
28secrets:
29 - uid: db-user-creds
30 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-user-creds'
31 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010032 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010033 login: '{{ .Values.db.userName }}'
34 password: '{{ .Values.db.userPassword }}'
35 passwordPolicy: required
36 - uid: db-admin-creds
37 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-admin-creds'
38 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010039 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010040 login: '{{ .Values.db.adminName }}'
41 password: '{{ .Values.db.adminPassword }}'
42 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010043 - uid: "so-onap-certs"
44 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
45 type: generic
46 filePaths: '{{ .Values.secretsFilePaths }}'
47
48#secretsFilePaths: |
49# - 'my file 1'
50# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010051
52#################################################################
jmacc4f04d32018-10-12 18:24:24 +000053# Application configuration defaults.
54#################################################################
Mandeep Khinda60d36d42018-09-24 15:15:48 +000055repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053056image: onap/so/catalog-db-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000057pullPolicy: Always
58
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010059db:
60 userName: so_user
61 userPassword: so_User123
62 # userCredsExternalSecret: some secret
63 adminName: so_admin
64 adminPassword: so_Admin123
65 # adminCredsExternalSecret: some secret
66
Mandeep Khinda60d36d42018-09-24 15:15:48 +000067replicaCount: 1
68minReadySeconds: 10
69containerPort: 8082
70logPath: ./logs/catdb/
71app: catalog-db-adapter
72service:
73 type: ClusterIP
74 internalPort: 8082
75 externalPort: 8082
76 portName: so-catdb-port
77updateStrategy:
78 type: RollingUpdate
79 maxUnavailable: 1
80 maxSurge: 1
81# Resource Limit flavor -By Default using small
82flavor: small
83# Segregation for Different environment (Small and Large)
84resources:
85 small:
86 limits:
87 memory: 4Gi
88 cpu: 2000m
89 requests:
90 memory: 1Gi
91 cpu: 500m
92 large:
93 limits:
94 memory: 8Gi
95 cpu: 4000m
96 requests:
97 memory: 2Gi
98 cpu: 1000m
99 unlimited: {}
100livenessProbe:
101 path: /manage/health
102 port: 8082
103 scheme: HTTP
104 initialDelaySeconds: 600
105 periodSeconds: 60
106 timeoutSeconds: 10
107 successThreshold: 1
108 failureThreshold: 3
109ingress:
110 enabled: false
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +0000111config:
112 openStackUserName: "vnf_user"
113 openStackRegion: "RegionOne"
114 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
115 openStackServiceTenantName: "service"
116 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
117 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
AndrewLamb43687c02019-10-25 10:29:49 +0100118 openStackProjectDomainName: "openStackProjectDomainName"
119 openStackUserDomainName: "openStackUserDomainName"
Sylvain Desbureaux04f765e2020-02-13 11:08:06 +0100120 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
121 openStackKeystoneVersion: "KEYSTONE"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000122nodeSelector: {}
123tolerations: []
124affinity: {}