blob: 2bb7d7b44c32bb78cfa565e1d2253797dbad0fa5 [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
20 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
seshukm0df1f8e2020-08-17 21:45:49 +053022 aafAgentImage: onap/aaf/aaf_agent:2.1.20
23 envsubstImage: dibi/envsubst
jmacc4f04d32018-10-12 18:24:24 +000024 persistence:
25 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020026 #This configuration specifies Service and port for SDNC OAM interface
27 sdncOamService: sdnc-oam
28 sdncOamPort: 8282
seshukm0df1f8e2020-08-17 21:45:49 +053029 security:
30 aaf:
31 enabled: false
32 aaf:
33 auth:
34 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
krishnaa9692b606b2020-10-30 11:29:21 +053035 mariadbGalera:
36 serviceName: mariadb-galera
37 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000038
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010039readinessCheck:
40 wait_for:
41 - so-mariadb-config
42
jmacc4f04d32018-10-12 18:24:24 +000043#################################################################
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010044# Secrets metaconfig
45#################################################################
46secrets:
47 - uid: db-user-creds
48 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
49 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010050 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010051 login: '{{ .Values.db.userName }}'
52 password: '{{ .Values.db.userPassword }}'
53 passwordPolicy: required
54 - uid: db-admin-creds
55 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
56 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010057 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010058 login: '{{ .Values.db.adminName }}'
59 password: '{{ .Values.db.adminPassword }}'
60 passwordPolicy: required
61
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010062#secretsFilePaths: |
63# - 'my file 1'
64# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010065
66#################################################################
jmacc4f04d32018-10-12 18:24:24 +000067# Application configuration defaults.
68#################################################################
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000069repository: nexus3.onap.org:10001
Kalkere Ramesh, Sharandf29b1e2020-11-13 15:51:37 -050070image: onap/so/bpmn-infra:1.7.10
jmacc4f04d32018-10-12 18:24:24 +000071pullPolicy: Always
72
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010073db:
74 userName: so_user
75 userPassword: so_User123
76 # userCredsExternalSecret: some secret
77 adminName: so_admin
78 adminPassword: so_Admin123
79 # adminCredsExternalSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +053080
81aai:
82 auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
83
84cds:
85 auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
86
87mso:
88 key: 07a7159d3bf51a0e53be7a8f89699be7
89 adapters:
90 requestDb:
91 auth: Basic YnBlbDpwYXNzd29yZDEk
92 db:
93 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
94 password: wLg4sjrAFUS8rfVfdvTXeQ==
95 po:
96 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
97 sdnc:
98 password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
99 sniro:
100 auth: test:testpwd
101 oof:
102 auth: test:testpwd
103so:
104 vnfm:
105 adapter:
106 auth: Basic dm5mbTpwYXNzd29yZDEk
107sniro:
108 endpoint: http://replaceme:28090/optimizationInstance/V1/create
109
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100110vnf:
111 api:
112 version: v2
113
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000114replicaCount: 1
115minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530116containerPort: &containerPort 8081
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000117logPath: ./logs/bpmn/
118app: so-bpmn-infra
119service:
seshukm0df1f8e2020-08-17 21:45:49 +0530120 type: ClusterIP
121 internalPort: *containerPort
122 externalPort: 8081
123 portName: so-bpmn-port
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000124updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530125 type: RollingUpdate
126 maxUnavailable: 1
127 maxSurge: 1
128
129#################################################################
130# soHelper part
131#################################################################
132soHelpers:
133 nameOverride: so-bpmn-cert-init
134 certInitializer:
135 nameOverride: so-bpmn-cert-init
136 credsPath: /opt/app/osaaf/local
137 cadi:
138 apiEnforcement: org.onap.so.bpmnPerm
139 containerPort: *containerPort
140
vaibhav16dec0da88292018-08-13 06:10:27 +0000141# Resource Limit flavor -By Default using small
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +0000142flavor: large
vaibhav16dec0da88292018-08-13 06:10:27 +0000143# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000144resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000145 small:
146 limits:
147 memory: 4Gi
148 cpu: 2000m
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000149 requests:
150 memory: 1Gi
151 cpu: 500m
vaibhav16dec0da88292018-08-13 06:10:27 +0000152 large:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000153 limits:
154 memory: 8Gi
155 cpu: 4000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000156 requests:
157 memory: 2Gi
158 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000159 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000160livenessProbe:
Sylvain Desbureaux7c3180e2020-10-26 15:33:45 +0100161 path: /manage/health
162 scheme: HTTP
163 initialDelaySeconds: 600
164 periodSeconds: 60
165 timeoutSeconds: 10
166 successThreshold: 1
167 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000168ingress:
169 enabled: false
170nodeSelector: {}
171tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500172affinity: {}