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