Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | ubuntuInit: ubuntu-init:1.0.0 |
Sandeep Shah | 8f1acc0 | 2020-10-20 16:11:21 -0500 | [diff] [blame] | 25 | envsubstImage: dibi/envsubst |
| 26 | |
| 27 | ################################################################ |
| 28 | # Secrets metaconfig |
| 29 | ################################################################# |
| 30 | |
| 31 | secrets: |
| 32 | - uid: portal-backend-db |
| 33 | type: basicAuth |
| 34 | externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}' |
| 35 | login: '{{ .Values.mariadb.config.backendUserName }}' |
| 36 | password: '{{ .Values.mariadb.config.backendPassword }}' |
| 37 | passwordPolicy: required |
| 38 | - uid: portal-widget |
| 39 | type: basicAuth |
| 40 | externalSecret: '{{ tpl (default "" .Values.config.widgetCredsExternalSecret) . }}' |
| 41 | login: '{{ .Values.config.widgetUsername }}' |
| 42 | password: '{{ .Values.config.widgetPassword }}' |
| 43 | passwordPolicy: required |
| 44 | - uid: portal-account |
| 45 | type: basicAuth |
| 46 | externalSecret: '{{ tpl (default "" .Values.config.accountCredsExternalSecret) . }}' |
| 47 | login: '{{ .Values.config.accountUsername }}' |
| 48 | password: '{{ .Values.config.accountPassword }}' |
| 49 | passwordPolicy: required |
| 50 | - uid: jasypt-enc-key |
| 51 | type: password |
| 52 | externalSecret: '{{ .Values.config.jasyptEncKeyExternalSecret}}' |
| 53 | password: '{{ .Values.config.jasyptEncKey }}' |
| 54 | passwordPolicy: required |
| 55 | |
| 56 | config: |
| 57 | widgetUsername: widget_user |
| 58 | widgetPassword: widget_pass |
| 59 | # widgetCredsExternalSecret: some secret |
| 60 | accountUsername: portal |
| 61 | accountPassword: portal |
| 62 | # accountCredsExternalSecret: some secret |
| 63 | jasyptEncKey: EncryptionKey |
| 64 | # jasyptEncKeyExternalSecret: some secret |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 65 | |
| 66 | ################################################################# |
| 67 | # Application configuration defaults. |
| 68 | ################################################################# |
| 69 | # application image |
| 70 | repository: nexus3.onap.org:10001 |
Sandeep Shah | e614fd3 | 2020-10-30 10:34:08 -0500 | [diff] [blame] | 71 | image: onap/portal-wms:3.4.2 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 72 | pullPolicy: Always |
| 73 | |
| 74 | # flag to enable debugging - application support required |
| 75 | debugEnabled: false |
| 76 | |
| 77 | # default number of instances |
| 78 | replicaCount: 1 |
| 79 | |
| 80 | nodeSelector: {} |
| 81 | |
| 82 | affinity: {} |
| 83 | |
| 84 | # probe configuration parameters |
| 85 | liveness: |
| 86 | initialDelaySeconds: 10 |
| 87 | periodSeconds: 10 |
| 88 | # necessary to disable liveness probe when setting breakpoints |
| 89 | # in debugger so K8s doesn't restart unresponsive container |
| 90 | enabled: true |
| 91 | |
| 92 | readiness: |
| 93 | initialDelaySeconds: 10 |
| 94 | periodSeconds: 10 |
| 95 | |
| 96 | mariadb: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 97 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 98 | name: portal-db |
Sandeep Shah | 8f1acc0 | 2020-10-20 16:11:21 -0500 | [diff] [blame] | 99 | config: |
| 100 | # backendDbExternalSecret: some secret |
| 101 | backendUserName: portal |
| 102 | backendPassword: portal |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 103 | |
| 104 | service: |
| 105 | type: ClusterIP |
| 106 | name: portal-widget |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 107 | portName: portal-widget |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 108 | externalPort: 8082 |
| 109 | internalPort: 8082 |
| 110 | |
| 111 | ingress: |
| 112 | enabled: false |
| 113 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 114 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 115 | flavor: small |
| 116 | # Segregation for Different environment (Small and Large) |
| 117 | resources: |
| 118 | small: |
| 119 | limits: |
| 120 | cpu: 1 |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 121 | memory: 430Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 122 | requests: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 123 | cpu: 1m |
| 124 | memory: 360Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 125 | large: |
| 126 | limits: |
| 127 | cpu: 2 |
| 128 | memory: 8Gi |
| 129 | requests: |
| 130 | cpu: 1 |
| 131 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 132 | unlimited: {} |