blob: 2fc9646c1d92d97342214f27e82aa3007dd83a28 [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:
26 serviceName: mariadb-galera
27 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000028
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010029readinessCheck:
30 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053031 jobs:
32 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010033
jmacc4f04d32018-10-12 18:24:24 +000034#################################################################
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010035# Secrets metaconfig
36#################################################################
37secrets:
38 - uid: db-user-creds
39 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
40 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010041 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010042 login: '{{ .Values.db.userName }}'
43 password: '{{ .Values.db.userPassword }}'
44 passwordPolicy: required
45 - uid: db-admin-creds
46 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
47 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010048 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010049 login: '{{ .Values.db.adminName }}'
50 password: '{{ .Values.db.adminPassword }}'
51 passwordPolicy: required
52
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010053#secretsFilePaths: |
54# - 'my file 1'
55# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010056
57#################################################################
jmacc4f04d32018-10-12 18:24:24 +000058# Application configuration defaults.
59#################################################################
Lukasz Rajewskib6861242022-09-06 13:32:58 +020060image: onap/so/bpmn-infra:1.11.0
jmacc4f04d32018-10-12 18:24:24 +000061pullPolicy: Always
62
Jozsef Csongvai80fdd792021-09-29 09:58:48 -040063bpmn:
64 historyTTL: 14
65
66camunda:
67 sundayCleanupWindowStartTime: "04:00"
68 sundayCleanupWindowEndTime: "10:00"
69
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010070db:
71 userName: so_user
72 userPassword: so_User123
73 # userCredsExternalSecret: some secret
74 adminName: so_admin
75 adminPassword: so_Admin123
76 # adminCredsExternalSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +053077
78aai:
79 auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
80
81cds:
82 auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
83
84mso:
85 key: 07a7159d3bf51a0e53be7a8f89699be7
86 adapters:
87 requestDb:
88 auth: Basic YnBlbDpwYXNzd29yZDEk
89 db:
90 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
91 password: wLg4sjrAFUS8rfVfdvTXeQ==
92 po:
93 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
94 sdnc:
95 password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
96 sniro:
97 auth: test:testpwd
98 oof:
99 auth: test:testpwd
100so:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100101 sol003:
seshukm0df1f8e2020-08-17 21:45:49 +0530102 adapter:
103 auth: Basic dm5mbTpwYXNzd29yZDEk
104sniro:
105 endpoint: http://replaceme:28090/optimizationInstance/V1/create
106
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100107vnf:
108 api:
109 version: v2
110
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000111replicaCount: 1
112minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530113containerPort: &containerPort 8081
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000114logPath: ./logs/bpmn/
115app: so-bpmn-infra
116service:
seshukm0df1f8e2020-08-17 21:45:49 +0530117 type: ClusterIP
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100118 ports:
119 - port: *containerPort
120 name: http
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000121updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530122 type: RollingUpdate
123 maxUnavailable: 1
124 maxSurge: 1
125
126#################################################################
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100127# soHelpers part
seshukm0df1f8e2020-08-17 21:45:49 +0530128#################################################################
129soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530130 containerPort: *containerPort
131
vaibhav16dec0da88292018-08-13 06:10:27 +0000132# Resource Limit flavor -By Default using small
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +0000133flavor: large
vaibhav16dec0da88292018-08-13 06:10:27 +0000134# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000135resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000136 small:
137 limits:
138 memory: 4Gi
139 cpu: 2000m
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000140 requests:
141 memory: 1Gi
142 cpu: 500m
vaibhav16dec0da88292018-08-13 06:10:27 +0000143 large:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000144 limits:
145 memory: 8Gi
146 cpu: 4000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000147 requests:
148 memory: 2Gi
149 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000150 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000151livenessProbe:
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100152 path: /manage/health
153 scheme: HTTP
154 initialDelaySeconds: 600
155 periodSeconds: 60
156 timeoutSeconds: 10
157 successThreshold: 1
158 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000159ingress:
160 enabled: false
161nodeSelector: {}
162tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500163affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200164
165#Pods Service Account
166serviceAccount:
167 nameOverride: so-bpmn-infra
168 roles:
169 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000170
171#Log configuration
172log:
173 path: /var/log/onap
174logConfigMapNamePrefix: '{{ include "common.fullname" . }}'