blob: b04343feef37e7d477b809d420ed2c757b56881d [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
21 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000022 readinessImage: readiness-check:2.0.2
jmacc4f04d32018-10-12 18:24:24 +000023 persistence:
24 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020025 #This configuration specifies Service and port for SDNC OAM interface
26 sdncOamService: sdnc-oam
27 sdncOamPort: 8282
jmacc4f04d32018-10-12 18:24:24 +000028
29#################################################################
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010030# Secrets metaconfig
31#################################################################
32secrets:
33 - uid: db-user-creds
34 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
35 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010036 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010037 login: '{{ .Values.db.userName }}'
38 password: '{{ .Values.db.userPassword }}'
39 passwordPolicy: required
40 - uid: db-admin-creds
41 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010044 login: '{{ .Values.db.adminName }}'
45 password: '{{ .Values.db.adminPassword }}'
46 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010047 - uid: "so-onap-certs"
48 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
49 type: generic
50 filePaths: '{{ .Values.secretsFilePaths }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010051
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010052#secretsFilePaths: |
53# - 'my file 1'
54# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010055
56#################################################################
jmacc4f04d32018-10-12 18:24:24 +000057# Application configuration defaults.
58#################################################################
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000059repository: nexus3.onap.org:10001
seshukm8325af52020-03-27 22:20:41 +053060image: onap/so/bpmn-infra:1.6.0
jmacc4f04d32018-10-12 18:24:24 +000061pullPolicy: Always
62
Krzysztof Opasiak42f027f2020-03-02 21:04:12 +010063db:
64 userName: so_user
65 userPassword: so_User123
66 # userCredsExternalSecret: some secret
67 adminName: so_admin
68 adminPassword: so_Admin123
69 # adminCredsExternalSecret: some secret
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000070replicaCount: 1
71minReadySeconds: 10
72containerPort: 8081
73logPath: ./logs/bpmn/
74app: so-bpmn-infra
75service:
76 type: ClusterIP
77 internalPort: 8081
Brian Freeman1a667932018-09-06 14:45:37 -050078 externalPort: 8081
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000079 portName: so-bpmn-port
80updateStrategy:
81 type: RollingUpdate
82 maxUnavailable: 1
83 maxSurge: 1
vaibhav16dec0da88292018-08-13 06:10:27 +000084# Resource Limit flavor -By Default using small
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +000085flavor: large
vaibhav16dec0da88292018-08-13 06:10:27 +000086# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000087resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000088 small:
89 limits:
90 memory: 4Gi
91 cpu: 2000m
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000092 requests:
93 memory: 1Gi
94 cpu: 500m
vaibhav16dec0da88292018-08-13 06:10:27 +000095 large:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000096 limits:
97 memory: 8Gi
98 cpu: 4000m
vaibhav16dec0da88292018-08-13 06:10:27 +000099 requests:
100 memory: 2Gi
101 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000102 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000103livenessProbe:
104 path: /manage/health
105 scheme: HTTP
106 initialDelaySeconds: 600
107 periodSeconds: 60
108 timeoutSeconds: 10
109 successThreshold: 1
110 failureThreshold: 3
111ingress:
112 enabled: false
113nodeSelector: {}
114tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500115affinity: {}