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