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 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 26 | security: |
| 27 | aaf: |
| 28 | enabled: false |
| 29 | aaf: |
| 30 | auth: |
| 31 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 32 | |
| 33 | ################################################################# |
Krzysztof Opasiak | c34ed60 | 2020-03-24 23:10:53 +0100 | [diff] [blame] | 34 | # Secrets metaconfig |
| 35 | ################################################################# |
| 36 | secrets: |
| 37 | - uid: db-user-creds |
| 38 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 39 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | c34ed60 | 2020-03-24 23:10:53 +0100 | [diff] [blame] | 40 | login: '{{ .Values.db.userName }}' |
| 41 | password: '{{ .Values.db.userPassword }}' |
| 42 | passwordPolicy: required |
| 43 | - uid: db-admin-creds |
| 44 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 45 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | c34ed60 | 2020-03-24 23:10:53 +0100 | [diff] [blame] | 46 | login: '{{ .Values.db.adminName }}' |
| 47 | password: '{{ .Values.db.adminPassword }}' |
| 48 | passwordPolicy: required |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 49 | |
| 50 | #secretsFilePaths: | |
| 51 | # - 'my file 1' |
| 52 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | c34ed60 | 2020-03-24 23:10:53 +0100 | [diff] [blame] | 53 | |
| 54 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 55 | # Application configuration defaults. |
| 56 | ################################################################# |
| 57 | repository: nexus3.onap.org:10001 |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 58 | image: onap/so/sdc-controller:1.6.4 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 59 | pullPolicy: Always |
| 60 | |
Krzysztof Opasiak | c34ed60 | 2020-03-24 23:10:53 +0100 | [diff] [blame] | 61 | db: |
| 62 | userName: so_user |
| 63 | userPassword: so_User123 |
| 64 | # userCredsExternalSecret: some secret |
| 65 | adminName: so_admin |
| 66 | adminPassword: so_Admin123 |
| 67 | # adminCredsExternalSecret: some secret |
| 68 | |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 69 | aai: |
| 70 | auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586 |
| 71 | mso: |
| 72 | msoKey: 07a7159d3bf51a0e53be7a8f89699be7 |
| 73 | requestDb: |
| 74 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 75 | asdc: |
| 76 | config: |
| 77 | key: 566B754875657232314F5548556D3665 |
| 78 | asdc-connections: |
| 79 | asdc-controller1: |
| 80 | password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F |
| 81 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 82 | replicaCount: 1 |
| 83 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 84 | containerPort: &containerPort 8085 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 85 | logPath: ./logs/sdc/ |
| 86 | app: sdc-controller |
| 87 | service: |
| 88 | type: ClusterIP |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 89 | internalPort: *containerPort |
| 90 | externalPort: *containerPort |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 91 | portName: so-sdc-port |
| 92 | updateStrategy: |
| 93 | type: RollingUpdate |
| 94 | maxUnavailable: 1 |
| 95 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 96 | |
| 97 | ################################################################# |
| 98 | # soHelpers part |
| 99 | ################################################################# |
| 100 | soHelpers: |
| 101 | nameOverride: so-sdc-cert-init |
| 102 | certInitializer: |
| 103 | nameOverride: so-sdc-cert-init |
| 104 | credsPath: /opt/app/osaaf/local |
| 105 | cadi: |
| 106 | apiEnforcement: org.onap.so.sdcControllerPerm |
| 107 | containerPort: *containerPort |
| 108 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 109 | # Resource Limit flavor -By Default using small |
| 110 | flavor: small |
| 111 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 112 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 113 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 114 | limits: |
| 115 | memory: 4Gi |
| 116 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 117 | requests: |
| 118 | memory: 1Gi |
| 119 | cpu: 500m |
| 120 | large: |
| 121 | limits: |
| 122 | memory: 8Gi |
| 123 | cpu: 4000m |
| 124 | requests: |
| 125 | memory: 2Gi |
| 126 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 127 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 128 | livenessProbe: |
| 129 | path: /manage/health |
| 130 | port: 8085 |
| 131 | scheme: HTTP |
| 132 | initialDelaySeconds: 600 |
| 133 | periodSeconds: 60 |
| 134 | timeoutSeconds: 10 |
| 135 | successThreshold: 1 |
| 136 | failureThreshold: 3 |
| 137 | ingress: |
| 138 | enabled: false |
| 139 | nodeSelector: {} |
| 140 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 141 | affinity: {} |