blob: 7ef1bed0e84cc889fbafbeab30fc27eb8647efe2 [file] [log] [blame]
Mandeep Khinda60d36d42018-09-24 15:15:48 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Mandeep Khinda60d36d42018-09-24 15:15:48 +00003# 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
seshukm0df1f8e2020-08-17 21:45:49 +053022 aafAgentImage: onap/aaf/aaf_agent:2.1.20
23 envsubstImage: dibi/envsubst
jmacc4f04d32018-10-12 18:24:24 +000024 persistence:
25 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053026 security:
27 aaf:
28 enabled: false
29 aaf:
30 auth:
31 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
32 app:
33 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
krishnaa9692b606b2020-10-30 11:29:21 +053034 mariadbGalera:
35 serviceName: mariadb-galera
36 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000037
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010038readinessCheck:
39 wait_for:
40 - so-mariadb-config
41
jmacc4f04d32018-10-12 18:24:24 +000042#################################################################
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010043# Secrets metaconfig
44#################################################################
45secrets:
46 - uid: db-user-creds
47 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-user-creds'
48 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010049 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010050 login: '{{ .Values.db.userName }}'
51 password: '{{ .Values.db.userPassword }}'
52 passwordPolicy: required
53 - uid: db-admin-creds
54 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-admin-creds'
55 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010056 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010057 login: '{{ .Values.db.adminName }}'
58 password: '{{ .Values.db.adminPassword }}'
59 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010060
61#secretsFilePaths: |
62# - 'my file 1'
63# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010064
65#################################################################
jmacc4f04d32018-10-12 18:24:24 +000066# Application configuration defaults.
67#################################################################
Mandeep Khinda60d36d42018-09-24 15:15:48 +000068repository: nexus3.onap.org:10001
seshukm4c285fc2020-10-16 15:45:14 +053069image: onap/so/catalog-db-adapter:1.7.9
jmacc4f04d32018-10-12 18:24:24 +000070pullPolicy: Always
71
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010072db:
73 userName: so_user
74 userPassword: so_User123
75 # userCredsExternalSecret: some secret
76 adminName: so_admin
77 adminPassword: so_Admin123
78 # adminCredsExternalSecret: some secret
79
seshukm0df1f8e2020-08-17 21:45:49 +053080mso:
81 adapters:
82 db:
83 auth: Basic YnBlbDpwYXNzd29yZDEk
84
Mandeep Khinda60d36d42018-09-24 15:15:48 +000085replicaCount: 1
86minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053087containerPort: &containerPort 8082
Mandeep Khinda60d36d42018-09-24 15:15:48 +000088logPath: ./logs/catdb/
89app: catalog-db-adapter
90service:
91 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053092 internalPort: *containerPort
93 externalPort: *containerPort
Mandeep Khinda60d36d42018-09-24 15:15:48 +000094 portName: so-catdb-port
95updateStrategy:
96 type: RollingUpdate
97 maxUnavailable: 1
98 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053099
100#################################################################
101# soHelper part
102#################################################################
103soHelpers:
104 nameOverride: so-catalogdb-cert-init
105 certInitializer:
106 nameOverride: so-catalogdb-cert-init
107 credsPath: /opt/app/osaaf/local
108 cadi:
109 apiEnforcement: org.onap.so.catalogDbAdapterPerm
110 containerPort: *containerPort
111
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000112# Resource Limit flavor -By Default using small
113flavor: small
114# Segregation for Different environment (Small and Large)
115resources:
116 small:
117 limits:
118 memory: 4Gi
119 cpu: 2000m
120 requests:
121 memory: 1Gi
122 cpu: 500m
123 large:
124 limits:
125 memory: 8Gi
126 cpu: 4000m
127 requests:
128 memory: 2Gi
129 cpu: 1000m
130 unlimited: {}
131livenessProbe:
132 path: /manage/health
133 port: 8082
134 scheme: HTTP
135 initialDelaySeconds: 600
136 periodSeconds: 60
137 timeoutSeconds: 10
138 successThreshold: 1
139 failureThreshold: 3
140ingress:
141 enabled: false
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +0000142config:
143 openStackUserName: "vnf_user"
144 openStackRegion: "RegionOne"
145 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
146 openStackServiceTenantName: "service"
147 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
148 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
AndrewLamb43687c02019-10-25 10:29:49 +0100149 openStackProjectDomainName: "openStackProjectDomainName"
150 openStackUserDomainName: "openStackUserDomainName"
Sylvain Desbureaux04f765e2020-02-13 11:08:06 +0100151 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
152 openStackKeystoneVersion: "KEYSTONE"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000153nodeSelector: {}
154tolerations: []
155affinity: {}