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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame^] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 22 | persistence: |
| 23 | mountPath: /dockerdata-nfs |
| 24 | |
| 25 | ################################################################# |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 26 | # Secrets metaconfig |
| 27 | ################################################################# |
| 28 | secrets: |
| 29 | - uid: db-user-creds |
| 30 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 31 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 32 | login: '{{ .Values.db.userName }}' |
| 33 | password: '{{ .Values.db.userPassword }}' |
| 34 | passwordPolicy: required |
| 35 | - uid: db-admin-creds |
| 36 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 37 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 38 | login: '{{ .Values.db.adminName }}' |
| 39 | password: '{{ .Values.db.adminPassword }}' |
| 40 | passwordPolicy: required |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 41 | - uid: "so-onap-certs" |
| 42 | externalSecret: '{{ tpl (default "" .Values.certSecret) . }}' |
| 43 | type: generic |
| 44 | filePaths: '{{ .Values.secretsFilePaths }}' |
| 45 | |
| 46 | #secretsFilePaths: | |
| 47 | # - 'my file 1' |
| 48 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 49 | |
| 50 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 51 | # Application configuration defaults. |
| 52 | ################################################################# |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 53 | image: onap/so/openstack-adapter:1.6.4 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 54 | pullPolicy: Always |
| 55 | repository: nexus3.onap.org:10001 |
| 56 | |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 57 | db: |
| 58 | userName: so_user |
| 59 | userPassword: so_User123 |
| 60 | # userCredsExternalSecret: some secret |
| 61 | adminName: so_admin |
| 62 | adminPassword: so_Admin123 |
| 63 | # adminCredsExternalSecret: some secret |
| 64 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 65 | replicaCount: 1 |
| 66 | minReadySeconds: 10 |
| 67 | containerPort: 8087 |
| 68 | logPath: ./logs/openstack/ |
| 69 | app: openstack-adapter |
| 70 | service: |
| 71 | type: ClusterIP |
| 72 | internalPort: 8087 |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 73 | externalPort: 8087 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 74 | portName: so-optack-port |
| 75 | updateStrategy: |
| 76 | type: RollingUpdate |
| 77 | maxUnavailable: 1 |
| 78 | maxSurge: 1 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 79 | # Resource Limit flavor -By Default using small |
| 80 | flavor: small |
| 81 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 82 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 83 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 84 | limits: |
| 85 | memory: 4Gi |
| 86 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 87 | requests: |
| 88 | memory: 1Gi |
| 89 | cpu: 500m |
| 90 | large: |
| 91 | limits: |
| 92 | memory: 8Gi |
| 93 | cpu: 4000m |
| 94 | requests: |
| 95 | memory: 2Gi |
| 96 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 97 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 98 | livenessProbe: |
| 99 | path: /manage/health |
| 100 | port: 8087 |
| 101 | scheme: HTTP |
| 102 | initialDelaySeconds: 600 |
| 103 | periodSeconds: 60 |
| 104 | timeoutSeconds: 10 |
| 105 | successThreshold: 1 |
| 106 | failureThreshold: 3 |
| 107 | ingress: |
| 108 | enabled: false |
Ramesh Parthasarathy | c98749e | 2018-10-11 21:06:37 +0000 | [diff] [blame] | 109 | config: |
| 110 | openStackUserName: "vnf_user" |
| 111 | openStackRegion: "RegionOne" |
| 112 | openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0" |
| 113 | openStackServiceTenantName: "service" |
| 114 | openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e" |
| 115 | openStackTenantId: "d570c718cbc545029f40e50b75eb13df" |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 116 | nodeSelector: {} |
| 117 | tolerations: [] |
| 118 | affinity: {} |