blob: d4333ef630ac2fd82da2064e14cd51470c774790 [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
seshukm0df1f8e2020-08-17 21:45:49 +053025 security:
26 aaf:
27 enabled: false
28 aaf:
29 auth:
30 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
krishnaa9692b606b2020-10-30 11:29:21 +053031 mariadbGalera:
32 serviceName: mariadb-galera
33 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000034
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010035readinessCheck:
36 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053037 jobs:
38 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010039
jmacc4f04d32018-10-12 18:24:24 +000040#################################################################
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010041# Secrets metaconfig
42#################################################################
43secrets:
44 - uid: db-user-creds
45 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
46 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010047 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010048 login: '{{ .Values.db.userName }}'
49 password: '{{ .Values.db.userPassword }}'
50 passwordPolicy: required
51 - uid: db-admin-creds
52 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
53 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010054 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010055 login: '{{ .Values.db.adminName }}'
56 password: '{{ .Values.db.adminPassword }}'
57 passwordPolicy: required
58
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010059#secretsFilePaths: |
60# - 'my file 1'
61# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010062
63#################################################################
jmacc4f04d32018-10-12 18:24:24 +000064# Application configuration defaults.
65#################################################################
Lukasz Rajewski0a3982a2021-10-11 21:35:16 +020066image: onap/so/bpmn-infra:1.9.2
jmacc4f04d32018-10-12 18:24:24 +000067pullPolicy: Always
68
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010069db:
70 userName: so_user
71 userPassword: so_User123
72 # userCredsExternalSecret: some secret
73 adminName: so_admin
74 adminPassword: so_Admin123
75 # adminCredsExternalSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +053076
77aai:
78 auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
79
80cds:
81 auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
82
83mso:
84 key: 07a7159d3bf51a0e53be7a8f89699be7
85 adapters:
86 requestDb:
87 auth: Basic YnBlbDpwYXNzd29yZDEk
88 db:
89 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
90 password: wLg4sjrAFUS8rfVfdvTXeQ==
91 po:
92 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
93 sdnc:
94 password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
95 sniro:
96 auth: test:testpwd
97 oof:
98 auth: test:testpwd
99so:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100100 sol003:
seshukm0df1f8e2020-08-17 21:45:49 +0530101 adapter:
102 auth: Basic dm5mbTpwYXNzd29yZDEk
103sniro:
104 endpoint: http://replaceme:28090/optimizationInstance/V1/create
105
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100106vnf:
107 api:
108 version: v2
109
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000110replicaCount: 1
111minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530112containerPort: &containerPort 8081
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000113logPath: ./logs/bpmn/
114app: so-bpmn-infra
115service:
seshukm0df1f8e2020-08-17 21:45:49 +0530116 type: ClusterIP
117 internalPort: *containerPort
118 externalPort: 8081
119 portName: so-bpmn-port
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000120updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530121 type: RollingUpdate
122 maxUnavailable: 1
123 maxSurge: 1
124
125#################################################################
126# soHelper part
127#################################################################
128soHelpers:
129 nameOverride: so-bpmn-cert-init
130 certInitializer:
131 nameOverride: so-bpmn-cert-init
132 credsPath: /opt/app/osaaf/local
133 cadi:
134 apiEnforcement: org.onap.so.bpmnPerm
135 containerPort: *containerPort
136
vaibhav16dec0da88292018-08-13 06:10:27 +0000137# Resource Limit flavor -By Default using small
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +0000138flavor: large
vaibhav16dec0da88292018-08-13 06:10:27 +0000139# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000140resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000141 small:
142 limits:
143 memory: 4Gi
144 cpu: 2000m
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000145 requests:
146 memory: 1Gi
147 cpu: 500m
vaibhav16dec0da88292018-08-13 06:10:27 +0000148 large:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000149 limits:
150 memory: 8Gi
151 cpu: 4000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000152 requests:
153 memory: 2Gi
154 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000155 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000156livenessProbe:
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100157 path: /manage/health
158 scheme: HTTP
159 initialDelaySeconds: 600
160 periodSeconds: 60
161 timeoutSeconds: 10
162 successThreshold: 1
163 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000164ingress:
165 enabled: false
166nodeSelector: {}
167tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500168affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200169
170#Pods Service Account
171serviceAccount:
172 nameOverride: so-bpmn-infra
173 roles:
174 - read