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 |
Konrad Bańka | 7bde1d6 | 2020-04-01 16:09:11 +0200 | [diff] [blame] | 25 | #This configuration specifies Service and port for SDNC OAM interface |
| 26 | sdncOamService: sdnc-oam |
| 27 | sdncOamPort: 8282 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 28 | |
| 29 | ################################################################# |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 30 | # Secrets metaconfig |
| 31 | ################################################################# |
| 32 | secrets: |
| 33 | - uid: db-user-creds |
| 34 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 35 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 36 | login: '{{ .Values.db.userName }}' |
| 37 | password: '{{ .Values.db.userPassword }}' |
| 38 | passwordPolicy: required |
| 39 | - uid: db-admin-creds |
| 40 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 41 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 42 | login: '{{ .Values.db.adminName }}' |
| 43 | password: '{{ .Values.db.adminPassword }}' |
| 44 | passwordPolicy: required |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 45 | - uid: "so-onap-certs" |
| 46 | externalSecret: '{{ tpl (default "" .Values.certSecret) . }}' |
| 47 | type: generic |
| 48 | filePaths: '{{ .Values.secretsFilePaths }}' |
| 49 | |
| 50 | #secretsFilePaths: | |
| 51 | # - 'my file 1' |
| 52 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +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 | f3ceca6 | 2020-05-22 15:05:29 +0530 | [diff] [blame] | 58 | image: onap/so/sdnc-adapter:1.6.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 59 | pullPolicy: Always |
| 60 | |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +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 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 69 | replicaCount: 1 |
| 70 | minReadySeconds: 10 |
| 71 | containerPort: 8086 |
| 72 | logPath: ./logs/sdnc/ |
| 73 | app: sdnc-adapter |
| 74 | service: |
| 75 | type: ClusterIP |
| 76 | internalPort: 8086 |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 77 | externalPort: 8086 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 78 | portName: so-sdnc-port |
| 79 | updateStrategy: |
| 80 | type: RollingUpdate |
| 81 | maxUnavailable: 1 |
| 82 | maxSurge: 1 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 83 | # Resource Limit flavor -By Default using small |
| 84 | flavor: small |
| 85 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 86 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 87 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 88 | limits: |
| 89 | memory: 4Gi |
| 90 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 91 | requests: |
| 92 | memory: 1Gi |
| 93 | cpu: 500m |
| 94 | large: |
| 95 | limits: |
| 96 | memory: 8Gi |
| 97 | cpu: 4000m |
| 98 | requests: |
| 99 | memory: 2Gi |
| 100 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 101 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 102 | livenessProbe: |
| 103 | path: /manage/health |
| 104 | port: 8086 |
| 105 | scheme: HTTP |
| 106 | initialDelaySeconds: 600 |
| 107 | periodSeconds: 60 |
| 108 | timeoutSeconds: 10 |
| 109 | successThreshold: 1 |
| 110 | failureThreshold: 3 |
| 111 | ingress: |
| 112 | enabled: false |
| 113 | nodeSelector: {} |
| 114 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 115 | affinity: {} |