vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 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. |
| 14 | |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | repository: nexus3.onap.org:10001 |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
Krzysztof Opasiak | 79677d3 | 2020-05-05 01:42:23 +0200 | [diff] [blame] | 25 | envsubstImage: dibi/envsubst |
| 26 | |
| 27 | secrets: |
| 28 | - uid: pg-root-pass |
| 29 | name: &pgRootPassSecretName '{{ include "common.release" . }}-vnfsdk-pg-root-pass' |
| 30 | type: password |
| 31 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "vnfsdk-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}' |
| 32 | password: '{{ .Values.postgres.config.pgRootpassword }}' |
| 33 | policy: generate |
| 34 | - uid: pg-user-creds |
| 35 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-vnfsdk-pg-user-creds' |
| 36 | type: basicAuth |
| 37 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "vnfsdk-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 38 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 39 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 40 | passwordPolicy: generate |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 41 | |
| 42 | ################################################################# |
| 43 | # Application configuration defaults. |
| 44 | ################################################################# |
| 45 | # application image |
| 46 | repository: nexus3.onap.org:10001 |
Bogumil Zebek | e76b092 | 2020-05-26 09:21:42 +0200 | [diff] [blame] | 47 | image: onap/vnfsdk/refrepo:1.5.2 |
jasmineWen | fb56f0f | 2018-08-29 15:55:28 +0000 | [diff] [blame] | 48 | postgresRepository: crunchydata |
| 49 | postgresImage: crunchy-postgres:centos7-10.3-1.8.2 |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 50 | pullPolicy: Always |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 51 | |
jasmineWen | fb56f0f | 2018-08-29 15:55:28 +0000 | [diff] [blame] | 52 | # application configuration override for postgres |
| 53 | postgres: |
jasmineWen | 04aef9a | 2018-04-24 15:56:27 +0000 | [diff] [blame] | 54 | nameOverride: vnfsdk-postgres |
jasmineWen | fb56f0f | 2018-08-29 15:55:28 +0000 | [diff] [blame] | 55 | service: |
| 56 | name: vnfsdk-dbset |
| 57 | name2: vnfsdk-dbpri |
| 58 | name3: vnfsdk-dbrep |
| 59 | container: |
| 60 | name: |
| 61 | primary: vnfsdk-dbpri |
| 62 | replica: vnfsdk-dbrep |
| 63 | persistence: |
| 64 | mountSubPath: vnfsdk/data |
| 65 | mountInitPath: vnfsdk |
| 66 | config: |
| 67 | pgUserName: postgres |
| 68 | pgDatabase: postgres |
Krzysztof Opasiak | 79677d3 | 2020-05-05 01:42:23 +0200 | [diff] [blame] | 69 | pgUserExternalSecret: *pgUserCredsSecretName |
| 70 | pgRootPasswordExternalSecret: *pgRootPassSecretName |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 71 | |
| 72 | # flag to enable debugging - application support required |
| 73 | debugEnabled: false |
| 74 | |
| 75 | nodeSelector: {} |
| 76 | |
| 77 | affinity: {} |
| 78 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 79 | # Resource Limit flavor -By Default using small |
vaibhav_16dec | 0acf518 | 2018-09-19 04:28:55 +0000 | [diff] [blame] | 80 | flavor: small |
| 81 | # Segregation for Different environment (Small and Large) |
| 82 | resources: |
| 83 | small: |
| 84 | limits: |
| 85 | cpu: 2000m |
| 86 | memory: 4Gi |
| 87 | requests: |
| 88 | cpu: 500m |
| 89 | memory: 1Gi |
| 90 | large: |
| 91 | limits: |
| 92 | cpu: 4000m |
| 93 | memory: 8Gi |
| 94 | requests: |
| 95 | cpu: 1000m |
| 96 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 97 | unlimited: {} |
vaibhav_16dec | 0acf518 | 2018-09-19 04:28:55 +0000 | [diff] [blame] | 98 | |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 99 | # probe configuration parameters |
| 100 | liveness: |
| 101 | initialDelaySeconds: 10 |
| 102 | periodSeconds: 10 |
| 103 | # necessary to disable liveness probe when setting breakpoints |
| 104 | # in debugger so K8s doesn't restart unresponsive container |
| 105 | enabled: true |
| 106 | |
| 107 | readiness: |
| 108 | initialDelaySeconds: 10 |
| 109 | periodSeconds: 10 |
| 110 | |
| 111 | service: |
| 112 | type: NodePort |
| 113 | name: refrepo |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 114 | portName: refrepo |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 115 | nodePort: 97 |
Kanagaraj Manickam | e470e7d | 2020-03-05 16:45:54 +0530 | [diff] [blame] | 116 | internalPort: 8703 |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 117 | |
| 118 | ingress: |
| 119 | enabled: false |
Lucjan Bryndza | 5bf25c7 | 2019-12-02 14:18:47 +0100 | [diff] [blame] | 120 | service: |
| 121 | - baseaddr: "refrepo" |
| 122 | name: "refrepo" |
Sylvain Desbureaux | 68f1beb | 2020-05-06 15:27:37 +0200 | [diff] [blame] | 123 | port: 8703 |
Lucjan Bryndza | 5bf25c7 | 2019-12-02 14:18:47 +0100 | [diff] [blame] | 124 | config: |
Sylvain Desbureaux | 68f1beb | 2020-05-06 15:27:37 +0200 | [diff] [blame] | 125 | ssl: "redirect" |