Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T USA |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame^] | 2 | # Copyright © 2020 Huawei |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame^] | 22 | aafAgentImage: onap/aaf/aaf_agent:2.1.20 |
| 23 | envsubstImage: dibi/envsubst |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 24 | persistence: |
| 25 | mountPath: /dockerdata-nfs |
Konrad Bańka | 7bde1d6 | 2020-04-01 16:09:11 +0200 | [diff] [blame] | 26 | #This configuration specifies Service and port for SDNC OAM interface |
| 27 | sdncOamService: sdnc-oam |
| 28 | sdncOamPort: 8282 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame^] | 29 | security: |
| 30 | aaf: |
| 31 | enabled: false |
| 32 | aaf: |
| 33 | auth: |
| 34 | encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 35 | |
| 36 | ################################################################# |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 37 | # Secrets metaconfig |
| 38 | ################################################################# |
| 39 | secrets: |
| 40 | - uid: db-user-creds |
| 41 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds' |
| 42 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 43 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 44 | login: '{{ .Values.db.userName }}' |
| 45 | password: '{{ .Values.db.userPassword }}' |
| 46 | passwordPolicy: required |
| 47 | - uid: db-admin-creds |
| 48 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds' |
| 49 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 50 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 51 | login: '{{ .Values.db.adminName }}' |
| 52 | password: '{{ .Values.db.adminPassword }}' |
| 53 | passwordPolicy: required |
| 54 | |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 55 | #secretsFilePaths: | |
| 56 | # - 'my file 1' |
| 57 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 58 | |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame^] | 59 | |
| 60 | |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 61 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 62 | # Application configuration defaults. |
| 63 | ################################################################# |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 64 | repository: nexus3.onap.org:10001 |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 65 | image: onap/so/bpmn-infra:1.6.4 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 66 | pullPolicy: Always |
| 67 | |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 68 | db: |
| 69 | userName: so_user |
| 70 | userPassword: so_User123 |
| 71 | # userCredsExternalSecret: some secret |
| 72 | adminName: so_admin |
| 73 | adminPassword: so_Admin123 |
| 74 | # adminCredsExternalSecret: some secret |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame^] | 75 | |
| 76 | aai: |
| 77 | auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885 |
| 78 | |
| 79 | cds: |
| 80 | auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
| 81 | |
| 82 | mso: |
| 83 | key: 07a7159d3bf51a0e53be7a8f89699be7 |
| 84 | adapters: |
| 85 | requestDb: |
| 86 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 87 | db: |
| 88 | auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF |
| 89 | password: wLg4sjrAFUS8rfVfdvTXeQ== |
| 90 | po: |
| 91 | auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF |
| 92 | sdnc: |
| 93 | password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F |
| 94 | sniro: |
| 95 | auth: test:testpwd |
| 96 | oof: |
| 97 | auth: test:testpwd |
| 98 | so: |
| 99 | vnfm: |
| 100 | adapter: |
| 101 | auth: Basic dm5mbTpwYXNzd29yZDEk |
| 102 | sniro: |
| 103 | endpoint: http://replaceme:28090/optimizationInstance/V1/create |
| 104 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 105 | replicaCount: 1 |
| 106 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame^] | 107 | containerPort: &containerPort 8081 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 108 | logPath: ./logs/bpmn/ |
| 109 | app: so-bpmn-infra |
| 110 | service: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame^] | 111 | type: ClusterIP |
| 112 | internalPort: *containerPort |
| 113 | externalPort: 8081 |
| 114 | portName: so-bpmn-port |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 115 | updateStrategy: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame^] | 116 | type: RollingUpdate |
| 117 | maxUnavailable: 1 |
| 118 | maxSurge: 1 |
| 119 | |
| 120 | ################################################################# |
| 121 | # soHelper part |
| 122 | ################################################################# |
| 123 | soHelpers: |
| 124 | nameOverride: so-bpmn-cert-init |
| 125 | certInitializer: |
| 126 | nameOverride: so-bpmn-cert-init |
| 127 | credsPath: /opt/app/osaaf/local |
| 128 | cadi: |
| 129 | apiEnforcement: org.onap.so.bpmnPerm |
| 130 | containerPort: *containerPort |
| 131 | |
| 132 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 133 | # Resource Limit flavor -By Default using small |
Ramesh Parthasarathy | 1ceefda | 2018-09-14 21:22:43 +0000 | [diff] [blame] | 134 | flavor: large |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 135 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 136 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 137 | small: |
| 138 | limits: |
| 139 | memory: 4Gi |
| 140 | cpu: 2000m |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 141 | requests: |
| 142 | memory: 1Gi |
| 143 | cpu: 500m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 144 | large: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 145 | limits: |
| 146 | memory: 8Gi |
| 147 | cpu: 4000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 148 | requests: |
| 149 | memory: 2Gi |
| 150 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 151 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 152 | livenessProbe: |
| 153 | path: /manage/health |
| 154 | scheme: HTTP |
| 155 | initialDelaySeconds: 600 |
| 156 | periodSeconds: 60 |
| 157 | timeoutSeconds: 10 |
| 158 | successThreshold: 1 |
| 159 | failureThreshold: 3 |
| 160 | ingress: |
| 161 | enabled: false |
| 162 | nodeSelector: {} |
| 163 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 164 | affinity: {} |