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