blob: d5cee518dbc231aa103f38e4c8c98331e9c4e198 [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
sanket12345148634b2024-02-23 13:26:42 +01003# Copyright © 2024 Deutsche Telekom Intellectual Property. All rights reserved.
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00004# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
jmacc4f04d32018-10-12 18:24:24 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
20 nodePortPrefixExt: 304
jmacc4f04d32018-10-12 18:24:24 +000021 persistence:
22 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020023 #This configuration specifies Service and port for SDNC OAM interface
24 sdncOamService: sdnc-oam
25 sdncOamPort: 8282
krishnaa9692b606b2020-10-30 11:29:21 +053026 mariadbGalera:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010027 # flag to enable the DB creation via mariadb-operator
28 useOperator: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020029 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053030 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000031
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032readinessCheck:
33 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053034 jobs:
35 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010036
jmacc4f04d32018-10-12 18:24:24 +000037#################################################################
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010038# Secrets metaconfig
39#################################################################
40secrets:
41 - uid: db-user-creds
42 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
43 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010044 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010045 login: '{{ .Values.db.userName }}'
46 password: '{{ .Values.db.userPassword }}'
47 passwordPolicy: required
48 - uid: db-admin-creds
49 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
50 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010051 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010052 login: '{{ .Values.db.adminName }}'
53 password: '{{ .Values.db.adminPassword }}'
54 passwordPolicy: required
55
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010056#secretsFilePaths: |
57# - 'my file 1'
58# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010059
60#################################################################
jmacc4f04d32018-10-12 18:24:24 +000061# Application configuration defaults.
62#################################################################
sanket12345148634b2024-02-23 13:26:42 +010063image: onap/so/bpmn-infra:1.13.0
jmacc4f04d32018-10-12 18:24:24 +000064pullPolicy: Always
65
sanket12345148634b2024-02-23 13:26:42 +010066kafkaUser:
67 acls:
68 - name: so-consumer
69 type: group
70 patternType: literal
71 operations: [Read]
72 - name: unauthenticated.PNF_READY
73 type: topic
74 patternType: literal
75 operations: [Read]
76 - name: unauthenticated.PNF_UPDATE
77 type: topic
78 patternType: literal
79 operations: [Read]
80
Jozsef Csongvai80fdd792021-09-29 09:58:48 -040081bpmn:
82 historyTTL: 14
83
84camunda:
85 sundayCleanupWindowStartTime: "04:00"
86 sundayCleanupWindowEndTime: "10:00"
87
Andreas Geissler2c1ba292024-01-10 22:20:05 +010088# Local mariadb galera instance default name
89mariadb-galera:
90 nameOverride: so-mariadb-galera
91 service:
92 internalPort: 3306
93 mariadbOperator:
94 galera:
95 enabled: false
96
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010097db:
98 userName: so_user
99 userPassword: so_User123
100 # userCredsExternalSecret: some secret
101 adminName: so_admin
102 adminPassword: so_Admin123
103 # adminCredsExternalSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +0530104
105aai:
106 auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
107
108cds:
109 auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
110
111mso:
112 key: 07a7159d3bf51a0e53be7a8f89699be7
113 adapters:
114 requestDb:
115 auth: Basic YnBlbDpwYXNzd29yZDEk
116 db:
117 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
118 password: wLg4sjrAFUS8rfVfdvTXeQ==
119 po:
120 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
121 sdnc:
122 password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
123 sniro:
124 auth: test:testpwd
125 oof:
126 auth: test:testpwd
127so:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100128 sol003:
seshukm0df1f8e2020-08-17 21:45:49 +0530129 adapter:
130 auth: Basic dm5mbTpwYXNzd29yZDEk
131sniro:
132 endpoint: http://replaceme:28090/optimizationInstance/V1/create
133
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100134vnf:
135 api:
136 version: v2
137
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000138replicaCount: 1
139minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530140containerPort: &containerPort 8081
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000141logPath: ./logs/bpmn/
142app: so-bpmn-infra
143service:
seshukm0df1f8e2020-08-17 21:45:49 +0530144 type: ClusterIP
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100145 ports:
146 - port: *containerPort
147 name: http
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000148updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530149 type: RollingUpdate
150 maxUnavailable: 1
151 maxSurge: 1
152
153#################################################################
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100154# soHelpers part
seshukm0df1f8e2020-08-17 21:45:49 +0530155#################################################################
156soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530157 containerPort: *containerPort
158
vaibhav16dec0da88292018-08-13 06:10:27 +0000159# Resource Limit flavor -By Default using small
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +0000160flavor: large
vaibhav16dec0da88292018-08-13 06:10:27 +0000161# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000162resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000163 small:
164 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100165 cpu: "1"
166 memory: "3Gi"
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000167 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100168 cpu: "0.5"
169 memory: "3Gi"
vaibhav16dec0da88292018-08-13 06:10:27 +0000170 large:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000171 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100172 cpu: "2"
173 memory: "6Gi"
vaibhav16dec0da88292018-08-13 06:10:27 +0000174 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100175 cpu: "1"
176 memory: "6Gi"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000177 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000178livenessProbe:
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100179 path: /manage/health
180 scheme: HTTP
181 initialDelaySeconds: 600
182 periodSeconds: 60
183 timeoutSeconds: 10
184 successThreshold: 1
185 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000186ingress:
187 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100188serviceMesh:
189 authorizationPolicy:
190 authorizedPrincipals:
191 - serviceAccount: robot-read
192 - serviceAccount: so-admin-cockpit-read
193 - serviceAccount: so-oof-adapter-read
194 - serviceAccount: so-openstack-adapter-read
195 - serviceAccount: so-read
196 - serviceAccount: so-sdc-controller-read
197 - serviceAccount: so-sdnc-adapter-read
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000198nodeSelector: {}
199tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500200affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200201
202#Pods Service Account
203serviceAccount:
204 nameOverride: so-bpmn-infra
205 roles:
206 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000207
208#Log configuration
209log:
210 path: /var/log/onap
211logConfigMapNamePrefix: '{{ include "common.fullname" . }}'