blob: a3c5af2dbc5236bd85720499ead7684f47530533 [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 app:
23 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
krishnaa9692b606b2020-10-30 11:29:21 +053024 mariadbGalera:
25 serviceName: mariadb-galera
26 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000027
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010028readinessCheck:
29 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053030 jobs:
31 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032
jmacc4f04d32018-10-12 18:24:24 +000033#################################################################
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010034# Secrets metaconfig
35#################################################################
36secrets:
37 - uid: db-user-creds
38 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-user-creds'
39 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010040 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010041 login: '{{ .Values.db.userName }}'
42 password: '{{ .Values.db.userPassword }}'
43 passwordPolicy: required
44 - uid: db-admin-creds
45 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-admin-creds'
46 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010047 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010048 login: '{{ .Values.db.adminName }}'
49 password: '{{ .Values.db.adminPassword }}'
50 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010051
52#secretsFilePaths: |
53# - 'my file 1'
54# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010055
56#################################################################
jmacc4f04d32018-10-12 18:24:24 +000057# Application configuration defaults.
58#################################################################
Lukasz Rajewski3f0b0a72023-04-17 16:15:48 +000059image: onap/so/catalog-db-adapter:1.12.1
jmacc4f04d32018-10-12 18:24:24 +000060pullPolicy: Always
61
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010062db:
63 userName: so_user
64 userPassword: so_User123
65 # userCredsExternalSecret: some secret
66 adminName: so_admin
67 adminPassword: so_Admin123
68 # adminCredsExternalSecret: some secret
69
seshukm0df1f8e2020-08-17 21:45:49 +053070mso:
71 adapters:
72 db:
73 auth: Basic YnBlbDpwYXNzd29yZDEk
74
Mandeep Khinda60d36d42018-09-24 15:15:48 +000075replicaCount: 1
76minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053077containerPort: &containerPort 8082
Mandeep Khinda60d36d42018-09-24 15:15:48 +000078logPath: ./logs/catdb/
79app: catalog-db-adapter
80service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010081 type: ClusterIP
82 ports:
83 - port: *containerPort
84 name: http
Mandeep Khinda60d36d42018-09-24 15:15:48 +000085updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010086 type: RollingUpdate
87 maxUnavailable: 1
88 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053089
90#################################################################
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010091# soHelpers part
seshukm0df1f8e2020-08-17 21:45:49 +053092#################################################################
93soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +053094 containerPort: *containerPort
95
Mandeep Khinda60d36d42018-09-24 15:15:48 +000096# Resource Limit flavor -By Default using small
97flavor: small
98# Segregation for Different environment (Small and Large)
99resources:
100 small:
101 limits:
102 memory: 4Gi
103 cpu: 2000m
104 requests:
105 memory: 1Gi
106 cpu: 500m
107 large:
108 limits:
109 memory: 8Gi
110 cpu: 4000m
111 requests:
112 memory: 2Gi
113 cpu: 1000m
114 unlimited: {}
115livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100116 path: /manage/health
117 port: 8082
118 scheme: HTTP
119 initialDelaySeconds: 600
120 periodSeconds: 60
121 timeoutSeconds: 10
122 successThreshold: 1
123 failureThreshold: 3
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000124ingress:
125 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100126serviceMesh:
127 authorizationPolicy:
128 authorizedPrincipals:
129 - serviceAccount: robot-read
130 - serviceAccount: so-bpmn-infra-read
131 - serviceAccount: so-openstack-adapter-read
132 - serviceAccount: so-read
133 - serviceAccount: so-sdc-controller-read
134 - serviceAccount: so-sdnc-adapter-read
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +0000135config:
136 openStackUserName: "vnf_user"
137 openStackRegion: "RegionOne"
138 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
139 openStackServiceTenantName: "service"
140 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
141 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
AndrewLamb43687c02019-10-25 10:29:49 +0100142 openStackProjectDomainName: "openStackProjectDomainName"
143 openStackUserDomainName: "openStackUserDomainName"
Sylvain Desbureaux04f765e2020-02-13 11:08:06 +0100144 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
145 openStackKeystoneVersion: "KEYSTONE"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000146nodeSelector: {}
147tolerations: []
148affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200149
150serviceAccount:
151 nameOverride: so-catalog-db-adapter
152 roles:
153 - read