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 |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 47 | - uid: "so-onap-certs" |
| 48 | externalSecret: '{{ tpl (default "" .Values.certSecret) . }}' |
| 49 | type: generic |
| 50 | filePaths: '{{ .Values.secretsFilePaths }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 51 | |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 52 | #secretsFilePaths: | |
| 53 | # - 'my file 1' |
| 54 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 55 | |
| 56 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 57 | # Application configuration defaults. |
| 58 | ################################################################# |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 59 | repository: nexus3.onap.org:10001 |
seshukm | 96f6be9 | 2020-05-31 17:06:50 +0530 | [diff] [blame] | 60 | image: onap/so/bpmn-infra:1.6.3 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 61 | pullPolicy: Always |
| 62 | |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 63 | db: |
| 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 Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 70 | replicaCount: 1 |
| 71 | minReadySeconds: 10 |
| 72 | containerPort: 8081 |
| 73 | logPath: ./logs/bpmn/ |
| 74 | app: so-bpmn-infra |
| 75 | service: |
| 76 | type: ClusterIP |
| 77 | internalPort: 8081 |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 78 | externalPort: 8081 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 79 | portName: so-bpmn-port |
| 80 | updateStrategy: |
| 81 | type: RollingUpdate |
| 82 | maxUnavailable: 1 |
| 83 | maxSurge: 1 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 84 | # Resource Limit flavor -By Default using small |
Ramesh Parthasarathy | 1ceefda | 2018-09-14 21:22:43 +0000 | [diff] [blame] | 85 | flavor: large |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 86 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 87 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 88 | small: |
| 89 | limits: |
| 90 | memory: 4Gi |
| 91 | cpu: 2000m |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 92 | requests: |
| 93 | memory: 1Gi |
| 94 | cpu: 500m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 95 | large: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 96 | limits: |
| 97 | memory: 8Gi |
| 98 | cpu: 4000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 99 | requests: |
| 100 | memory: 2Gi |
| 101 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 102 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 103 | livenessProbe: |
| 104 | path: /manage/health |
| 105 | scheme: HTTP |
| 106 | initialDelaySeconds: 600 |
| 107 | periodSeconds: 60 |
| 108 | timeoutSeconds: 10 |
| 109 | successThreshold: 1 |
| 110 | failureThreshold: 3 |
| 111 | ingress: |
| 112 | enabled: false |
| 113 | nodeSelector: {} |
| 114 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 115 | affinity: {} |