blob: ef57e7173dce1f9d8a95c8702d61c82d9ffbc3ee [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
2#
3# 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
jmacc4f04d32018-10-12 18:24:24 +000022 persistence:
23 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020024 #This configuration specifies Service and port for SDNC OAM interface
25 sdncOamService: sdnc-oam
26 sdncOamPort: 8282
jmacc4f04d32018-10-12 18:24:24 +000027
28#################################################################
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010029# Secrets metaconfig
30#################################################################
31secrets:
32 - uid: db-user-creds
33 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
34 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010035 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010036 login: '{{ .Values.db.userName }}'
37 password: '{{ .Values.db.userPassword }}'
38 passwordPolicy: required
39 - uid: db-admin-creds
40 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
41 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010042 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010043 login: '{{ .Values.db.adminName }}'
44 password: '{{ .Values.db.adminPassword }}'
45 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010046 - uid: "so-onap-certs"
47 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
48 type: generic
49 filePaths: '{{ .Values.secretsFilePaths }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010050
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010051#secretsFilePaths: |
52# - 'my file 1'
53# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010054
55#################################################################
jmacc4f04d32018-10-12 18:24:24 +000056# Application configuration defaults.
57#################################################################
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000058repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053059image: onap/so/bpmn-infra:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000060pullPolicy: Always
61
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010062db:
63 userName: so_user
64 userPassword: so_User123
65 # userCredsExternalSecret: some secret
66 adminName: so_admin
67 adminPassword: so_Admin123
68 # adminCredsExternalSecret: some secret
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000069replicaCount: 1
70minReadySeconds: 10
71containerPort: 8081
72logPath: ./logs/bpmn/
73app: so-bpmn-infra
74service:
75 type: ClusterIP
76 internalPort: 8081
Brian Freeman1a667932018-09-06 14:45:37 -050077 externalPort: 8081
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000078 portName: so-bpmn-port
79updateStrategy:
80 type: RollingUpdate
81 maxUnavailable: 1
82 maxSurge: 1
vaibhav16dec0da88292018-08-13 06:10:27 +000083# Resource Limit flavor -By Default using small
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +000084flavor: large
vaibhav16dec0da88292018-08-13 06:10:27 +000085# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000086resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000087 small:
88 limits:
89 memory: 4Gi
90 cpu: 2000m
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000091 requests:
92 memory: 1Gi
93 cpu: 500m
vaibhav16dec0da88292018-08-13 06:10:27 +000094 large:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000095 limits:
96 memory: 8Gi
97 cpu: 4000m
vaibhav16dec0da88292018-08-13 06:10:27 +000098 requests:
99 memory: 2Gi
100 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000101 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000102livenessProbe:
103 path: /manage/health
104 scheme: HTTP
105 initialDelaySeconds: 600
106 periodSeconds: 60
107 timeoutSeconds: 10
108 successThreshold: 1
109 failureThreshold: 3
110ingress:
111 enabled: false
112nodeSelector: {}
113tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500114affinity: {}