blob: f47d1429584ce281e3847f18d46261459f245336 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +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
Konrad Bańka7bde1d62020-04-01 16:09:11 +020022 #This configuration specifies Service and port for SDNC OAM interface
23 sdncOamService: sdnc-oam
24 sdncOamPort: 8282
krishnaa9692b606b2020-10-30 11:29:21 +053025 mariadbGalera:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010026 # flag to enable the DB creation via mariadb-operator
27 useOperator: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020028 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053029 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000030
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010031readinessCheck:
32 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053033 jobs:
34 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010035
jmacc4f04d32018-10-12 18:24:24 +000036#################################################################
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010037# Secrets metaconfig
38#################################################################
39secrets:
40 - uid: db-user-creds
41 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010044 login: '{{ .Values.db.userName }}'
45 password: '{{ .Values.db.userPassword }}'
46 passwordPolicy: required
47 - uid: db-admin-creds
48 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
49 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010050 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010051 login: '{{ .Values.db.adminName }}'
52 password: '{{ .Values.db.adminPassword }}'
53 passwordPolicy: required
54
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010055#secretsFilePaths: |
56# - 'my file 1'
57# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010058
59#################################################################
jmacc4f04d32018-10-12 18:24:24 +000060# Application configuration defaults.
61#################################################################
Lukasz Rajewski743dca92023-06-12 07:28:58 +000062image: onap/so/bpmn-infra:1.12.2
jmacc4f04d32018-10-12 18:24:24 +000063pullPolicy: Always
64
Jozsef Csongvai80fdd792021-09-29 09:58:48 -040065bpmn:
66 historyTTL: 14
67
68camunda:
69 sundayCleanupWindowStartTime: "04:00"
70 sundayCleanupWindowEndTime: "10:00"
71
Andreas Geissler2c1ba292024-01-10 22:20:05 +010072# Local mariadb galera instance default name
73mariadb-galera:
74 nameOverride: so-mariadb-galera
75 service:
76 internalPort: 3306
77 mariadbOperator:
78 galera:
79 enabled: false
80
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010081db:
82 userName: so_user
83 userPassword: so_User123
84 # userCredsExternalSecret: some secret
85 adminName: so_admin
86 adminPassword: so_Admin123
87 # adminCredsExternalSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +053088
89aai:
90 auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
91
92cds:
93 auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
94
95mso:
96 key: 07a7159d3bf51a0e53be7a8f89699be7
97 adapters:
98 requestDb:
99 auth: Basic YnBlbDpwYXNzd29yZDEk
100 db:
101 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
102 password: wLg4sjrAFUS8rfVfdvTXeQ==
103 po:
104 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
105 sdnc:
106 password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
107 sniro:
108 auth: test:testpwd
109 oof:
110 auth: test:testpwd
111so:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100112 sol003:
seshukm0df1f8e2020-08-17 21:45:49 +0530113 adapter:
114 auth: Basic dm5mbTpwYXNzd29yZDEk
115sniro:
116 endpoint: http://replaceme:28090/optimizationInstance/V1/create
117
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100118vnf:
119 api:
120 version: v2
121
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000122replicaCount: 1
123minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530124containerPort: &containerPort 8081
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000125logPath: ./logs/bpmn/
126app: so-bpmn-infra
127service:
seshukm0df1f8e2020-08-17 21:45:49 +0530128 type: ClusterIP
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100129 ports:
130 - port: *containerPort
131 name: http
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000132updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530133 type: RollingUpdate
134 maxUnavailable: 1
135 maxSurge: 1
136
137#################################################################
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100138# soHelpers part
seshukm0df1f8e2020-08-17 21:45:49 +0530139#################################################################
140soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530141 containerPort: *containerPort
142
vaibhav16dec0da88292018-08-13 06:10:27 +0000143# Resource Limit flavor -By Default using small
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +0000144flavor: large
vaibhav16dec0da88292018-08-13 06:10:27 +0000145# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000146resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000147 small:
148 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200149 memory: 3Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200150 cpu: 1
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000151 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200152 memory: 3Gi
153 cpu: 0.5
vaibhav16dec0da88292018-08-13 06:10:27 +0000154 large:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000155 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200156 memory: 6Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200157 cpu: 2
vaibhav16dec0da88292018-08-13 06:10:27 +0000158 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200159 memory: 6Gi
160 cpu: 1
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000161 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000162livenessProbe:
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100163 path: /manage/health
164 scheme: HTTP
165 initialDelaySeconds: 600
166 periodSeconds: 60
167 timeoutSeconds: 10
168 successThreshold: 1
169 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000170ingress:
171 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100172serviceMesh:
173 authorizationPolicy:
174 authorizedPrincipals:
175 - serviceAccount: robot-read
176 - serviceAccount: so-admin-cockpit-read
177 - serviceAccount: so-oof-adapter-read
178 - serviceAccount: so-openstack-adapter-read
179 - serviceAccount: so-read
180 - serviceAccount: so-sdc-controller-read
181 - serviceAccount: so-sdnc-adapter-read
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000182nodeSelector: {}
183tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500184affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200185
186#Pods Service Account
187serviceAccount:
188 nameOverride: so-bpmn-infra
189 roles:
190 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000191
192#Log configuration
193log:
194 path: /var/log/onap
195logConfigMapNamePrefix: '{{ include "common.fullname" . }}'