blob: f3d6bdbcb94d1bb6774becff820c79b50679834f [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
jmacc4f04d32018-10-12 18:24:24 +000020 persistence:
21 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053022 security:
23 aaf:
24 enabled: false
25 aaf:
26 auth:
27 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
28 app:
29 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
krishnaa9692b606b2020-10-30 11:29:21 +053030 mariadbGalera:
31 serviceName: mariadb-galera
32 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000033
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010034readinessCheck:
35 wait_for:
36 - so-mariadb-config
37
jmacc4f04d32018-10-12 18:24:24 +000038#################################################################
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010039# Secrets metaconfig
40#################################################################
41secrets:
42 - uid: db-user-creds
43 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-user-creds'
44 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010045 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010046 login: '{{ .Values.db.userName }}'
47 password: '{{ .Values.db.userPassword }}'
48 passwordPolicy: required
49 - uid: db-admin-creds
50 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-admin-creds'
51 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010052 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010053 login: '{{ .Values.db.adminName }}'
54 password: '{{ .Values.db.adminPassword }}'
55 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010056
57#secretsFilePaths: |
58# - 'my file 1'
59# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010060
61#################################################################
jmacc4f04d32018-10-12 18:24:24 +000062# Application configuration defaults.
63#################################################################
seshukme293c3d2021-04-22 22:30:42 +053064image: onap/so/catalog-db-adapter:1.8.2
jmacc4f04d32018-10-12 18:24:24 +000065pullPolicy: Always
66
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010067db:
68 userName: so_user
69 userPassword: so_User123
70 # userCredsExternalSecret: some secret
71 adminName: so_admin
72 adminPassword: so_Admin123
73 # adminCredsExternalSecret: some secret
74
seshukm0df1f8e2020-08-17 21:45:49 +053075mso:
76 adapters:
77 db:
78 auth: Basic YnBlbDpwYXNzd29yZDEk
79
Mandeep Khinda60d36d42018-09-24 15:15:48 +000080replicaCount: 1
81minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053082containerPort: &containerPort 8082
Mandeep Khinda60d36d42018-09-24 15:15:48 +000083logPath: ./logs/catdb/
84app: catalog-db-adapter
85service:
86 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053087 internalPort: *containerPort
88 externalPort: *containerPort
Mandeep Khinda60d36d42018-09-24 15:15:48 +000089 portName: so-catdb-port
90updateStrategy:
91 type: RollingUpdate
92 maxUnavailable: 1
93 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053094
95#################################################################
96# soHelper part
97#################################################################
98soHelpers:
99 nameOverride: so-catalogdb-cert-init
100 certInitializer:
101 nameOverride: so-catalogdb-cert-init
102 credsPath: /opt/app/osaaf/local
103 cadi:
104 apiEnforcement: org.onap.so.catalogDbAdapterPerm
105 containerPort: *containerPort
106
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000107# Resource Limit flavor -By Default using small
108flavor: small
109# Segregation for Different environment (Small and Large)
110resources:
111 small:
112 limits:
113 memory: 4Gi
114 cpu: 2000m
115 requests:
116 memory: 1Gi
117 cpu: 500m
118 large:
119 limits:
120 memory: 8Gi
121 cpu: 4000m
122 requests:
123 memory: 2Gi
124 cpu: 1000m
125 unlimited: {}
126livenessProbe:
127 path: /manage/health
128 port: 8082
129 scheme: HTTP
130 initialDelaySeconds: 600
131 periodSeconds: 60
132 timeoutSeconds: 10
133 successThreshold: 1
134 failureThreshold: 3
135ingress:
136 enabled: false
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +0000137config:
138 openStackUserName: "vnf_user"
139 openStackRegion: "RegionOne"
140 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
141 openStackServiceTenantName: "service"
142 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
143 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
AndrewLamb43687c02019-10-25 10:29:49 +0100144 openStackProjectDomainName: "openStackProjectDomainName"
145 openStackUserDomainName: "openStackUserDomainName"
Sylvain Desbureaux04f765e2020-02-13 11:08:06 +0100146 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
147 openStackKeystoneVersion: "KEYSTONE"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000148nodeSelector: {}
149tolerations: []
150affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200151
152serviceAccount:
153 nameOverride: so-catalog-db-adapter
154 roles:
155 - read
156