Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 1 | # 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. |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
| 17 | global: |
| 18 | nodePortPrefix: 302 |
| 19 | nodePortPrefixExt: 304 |
| 20 | repository: nexus3.onap.org:10001 |
| 21 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 23 | persistence: |
| 24 | mountPath: /dockerdata-nfs |
| 25 | |
| 26 | ################################################################# |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 27 | # Secrets metaconfig |
| 28 | ################################################################# |
| 29 | secrets: |
| 30 | - uid: db-user-creds |
| 31 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds' |
| 32 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 33 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 34 | login: '{{ .Values.db.userName }}' |
| 35 | password: '{{ .Values.db.userPassword }}' |
| 36 | passwordPolicy: required |
| 37 | - uid: db-admin-creds |
| 38 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds' |
| 39 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 40 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 41 | login: '{{ .Values.db.adminName }}' |
| 42 | password: '{{ .Values.db.adminPassword }}' |
| 43 | passwordPolicy: required |
| 44 | |
| 45 | |
| 46 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 47 | # Application configuration defaults. |
| 48 | ################################################################# |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 49 | repository: nexus3.onap.org:10001 |
seshukm | fb56d71 | 2019-10-14 10:46:52 +0530 | [diff] [blame] | 50 | image: onap/so/bpmn-infra:1.5.3 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 51 | pullPolicy: Always |
| 52 | |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 53 | db: |
| 54 | userName: so_user |
| 55 | userPassword: so_User123 |
| 56 | # userCredsExternalSecret: some secret |
| 57 | adminName: so_admin |
| 58 | adminPassword: so_Admin123 |
| 59 | # adminCredsExternalSecret: some secret |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 60 | replicaCount: 1 |
| 61 | minReadySeconds: 10 |
| 62 | containerPort: 8081 |
| 63 | logPath: ./logs/bpmn/ |
| 64 | app: so-bpmn-infra |
| 65 | service: |
| 66 | type: ClusterIP |
| 67 | internalPort: 8081 |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 68 | externalPort: 8081 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 69 | portName: so-bpmn-port |
| 70 | updateStrategy: |
| 71 | type: RollingUpdate |
| 72 | maxUnavailable: 1 |
| 73 | maxSurge: 1 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 74 | # Resource Limit flavor -By Default using small |
Ramesh Parthasarathy | 1ceefda | 2018-09-14 21:22:43 +0000 | [diff] [blame] | 75 | flavor: large |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 76 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 77 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 78 | small: |
| 79 | limits: |
| 80 | memory: 4Gi |
| 81 | cpu: 2000m |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 82 | requests: |
| 83 | memory: 1Gi |
| 84 | cpu: 500m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 85 | large: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 86 | limits: |
| 87 | memory: 8Gi |
| 88 | cpu: 4000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 89 | requests: |
| 90 | memory: 2Gi |
| 91 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 92 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 93 | livenessProbe: |
| 94 | path: /manage/health |
| 95 | scheme: HTTP |
| 96 | initialDelaySeconds: 600 |
| 97 | periodSeconds: 60 |
| 98 | timeoutSeconds: 10 |
| 99 | successThreshold: 1 |
| 100 | failureThreshold: 3 |
| 101 | ingress: |
| 102 | enabled: false |
| 103 | nodeSelector: {} |
| 104 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 105 | affinity: {} |