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