blob: 685afef1ef5dc1004e6e33e265fe28cc36a5cd93 [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:
37 - so-mariadb-config
38
jmacc4f04d32018-10-12 18:24:24 +000039#################################################################
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010040# Secrets metaconfig
41#################################################################
42secrets:
43 - uid: db-user-creds
44 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
45 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010046 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010047 login: '{{ .Values.db.userName }}'
48 password: '{{ .Values.db.userPassword }}'
49 passwordPolicy: required
50 - uid: db-admin-creds
51 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
52 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010053 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010054 login: '{{ .Values.db.adminName }}'
55 password: '{{ .Values.db.adminPassword }}'
56 passwordPolicy: required
57
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010058#secretsFilePaths: |
59# - 'my file 1'
60# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010061
62#################################################################
jmacc4f04d32018-10-12 18:24:24 +000063# Application configuration defaults.
64#################################################################
seshukmb92d3402021-03-15 17:11:32 +053065image: onap/so/bpmn-infra:1.8.1
jmacc4f04d32018-10-12 18:24:24 +000066pullPolicy: Always
67
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010068db:
69 userName: so_user
70 userPassword: so_User123
71 # userCredsExternalSecret: some secret
72 adminName: so_admin
73 adminPassword: so_Admin123
74 # adminCredsExternalSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +053075
76aai:
77 auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
78
79cds:
80 auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
81
82mso:
83 key: 07a7159d3bf51a0e53be7a8f89699be7
84 adapters:
85 requestDb:
86 auth: Basic YnBlbDpwYXNzd29yZDEk
87 db:
88 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
89 password: wLg4sjrAFUS8rfVfdvTXeQ==
90 po:
91 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
92 sdnc:
93 password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
94 sniro:
95 auth: test:testpwd
96 oof:
97 auth: test:testpwd
98so:
99 vnfm:
100 adapter:
101 auth: Basic dm5mbTpwYXNzd29yZDEk
102sniro:
103 endpoint: http://replaceme:28090/optimizationInstance/V1/create
104
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100105vnf:
106 api:
107 version: v2
108
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000109replicaCount: 1
110minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530111containerPort: &containerPort 8081
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000112logPath: ./logs/bpmn/
113app: so-bpmn-infra
114service:
seshukm0df1f8e2020-08-17 21:45:49 +0530115 type: ClusterIP
116 internalPort: *containerPort
117 externalPort: 8081
118 portName: so-bpmn-port
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000119updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530120 type: RollingUpdate
121 maxUnavailable: 1
122 maxSurge: 1
123
124#################################################################
125# soHelper part
126#################################################################
127soHelpers:
128 nameOverride: so-bpmn-cert-init
129 certInitializer:
130 nameOverride: so-bpmn-cert-init
131 credsPath: /opt/app/osaaf/local
132 cadi:
133 apiEnforcement: org.onap.so.bpmnPerm
134 containerPort: *containerPort
135
vaibhav16dec0da88292018-08-13 06:10:27 +0000136# Resource Limit flavor -By Default using small
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +0000137flavor: large
vaibhav16dec0da88292018-08-13 06:10:27 +0000138# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000139resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000140 small:
141 limits:
142 memory: 4Gi
143 cpu: 2000m
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000144 requests:
145 memory: 1Gi
146 cpu: 500m
vaibhav16dec0da88292018-08-13 06:10:27 +0000147 large:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000148 limits:
149 memory: 8Gi
150 cpu: 4000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000151 requests:
152 memory: 2Gi
153 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000154 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000155livenessProbe:
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100156 path: /manage/health
157 scheme: HTTP
158 initialDelaySeconds: 600
159 periodSeconds: 60
160 timeoutSeconds: 10
161 successThreshold: 1
162 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000163ingress:
164 enabled: false
165nodeSelector: {}
166tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500167affinity: {}