vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Krzysztof Opasiak | 4a4703b | 2020-02-08 01:04:48 +0100 | [diff] [blame] | 2 | # Copyright © 2020 Samsung Electronics |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +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 | |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 16 | # Default values for vid. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
Sylvain Desbureaux | 6383c44 | 2019-11-14 09:28:12 +0100 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
Krzysztof Opasiak | 4a4703b | 2020-02-08 01:04:48 +0100 | [diff] [blame] | 26 | ################################################################# |
| 27 | # Secrets metaconfig |
| 28 | ################################################################# |
| 29 | secrets: |
| 30 | - uid: vid-db-user-secret |
| 31 | name: '{{ include "common.release" . }}-vid-db-user-secret' |
| 32 | type: basicAuth |
| 33 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 34 | login: '{{ .Values.config.db.userName }}' |
| 35 | password: '{{ .Values.config.db.userPassword }}' |
| 36 | |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 37 | subChartsOnly: |
| 38 | enabled: true |
| 39 | |
| 40 | # application image |
| 41 | repository: nexus3.onap.org:10001 |
Ittay Stern | 7894217 | 2020-03-25 18:12:02 +0200 | [diff] [blame] | 42 | image: onap/vid:6.0.4 |
yuryn | d0707be | 2017-09-27 14:54:18 +0300 | [diff] [blame] | 43 | pullPolicy: Always |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 44 | |
Sonsino, Ofir (os0695) | 2dda01d | 2018-05-30 18:41:14 +0300 | [diff] [blame] | 45 | # mariadb image for initializing |
| 46 | mariadb_image: library/mariadb:10 |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 47 | |
| 48 | # application configuration |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 49 | config: |
Krzysztof Opasiak | 4a4703b | 2020-02-08 01:04:48 +0100 | [diff] [blame] | 50 | db: |
| 51 | userName: vidadmin |
| 52 | # userCredentialsExternalSecret: some secret |
| 53 | # userPassword: password |
Ittay Stern | af8dccb | 2020-03-17 17:39:27 +0200 | [diff] [blame] | 54 | vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g' |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 55 | asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=" |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 56 | asdcclientrestport: "8443" |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 57 | vidaaiport: "8443" |
Sonsino, Ofir (os0695) | c9a6edf | 2018-10-18 11:26:03 +0300 | [diff] [blame] | 58 | onapport: "30225" |
| 59 | onapportrest: "8443" |
| 60 | portalhost: "portal.api.simpledemo.onap.org" |
Alexis de Talhouët | 6c9efc6 | 2018-09-20 11:54:03 -0400 | [diff] [blame] | 61 | msoport: "8080" |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 62 | vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz |
| 63 | msodme2serverurl: http://localhost:8081 |
| 64 | vidcontactuslink: https://todo_contact_us_link.com |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 65 | vidmysqlmaxconnections: "5" |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 66 | logstashServiceName: log-ls |
| 67 | logstashPort: 5044 |
Sonsino, Ofir (os0695) | c9a6edf | 2018-10-18 11:26:03 +0300 | [diff] [blame] | 68 | roleaccesscentralized: remote |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 69 | |
Sylvain Desbureaux | 6383c44 | 2019-11-14 09:28:12 +0100 | [diff] [blame] | 70 | mariadb-galera: |
| 71 | config: |
Krzysztof Opasiak | 4a4703b | 2020-02-08 01:04:48 +0100 | [diff] [blame] | 72 | userCredentialsExternalSecret: '{{ include "common.release" . }}-vid-db-user-secret' |
Sylvain Desbureaux | 6383c44 | 2019-11-14 09:28:12 +0100 | [diff] [blame] | 73 | mysqlDatabase: vid_openecomp_epsdk |
| 74 | nameOverride: vid-galera |
| 75 | service: |
| 76 | name: vid-galera |
| 77 | portName: mysql-vid |
| 78 | internalPort: "3306" |
| 79 | replicaCount: 3 |
| 80 | persistence: |
| 81 | enabled: true |
| 82 | mountSubPath: vid/maria/data |
| 83 | externalConfig: |- |
Brian Freeman | 8a1d314 | 2019-12-06 12:44:53 -0500 | [diff] [blame] | 84 | [mysqld] |
Sylvain Desbureaux | 6383c44 | 2019-11-14 09:28:12 +0100 | [diff] [blame] | 85 | lower_case_table_names = 1 |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 86 | |
| 87 | # default number of instances |
| 88 | replicaCount: 1 |
| 89 | |
| 90 | nodeSelector: {} |
| 91 | |
| 92 | affinity: {} |
| 93 | |
| 94 | # probe configuration parameters |
| 95 | liveness: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 96 | initialDelaySeconds: 120 |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 97 | periodSeconds: 10 |
| 98 | # necessary to disable liveness probe when setting breakpoints |
| 99 | # in debugger so K8s doesn't restart unresponsive container |
| 100 | enabled: true |
| 101 | |
| 102 | readiness: |
| 103 | initialDelaySeconds: 10 |
| 104 | periodSeconds: 10 |
| 105 | |
| 106 | service: |
| 107 | type: NodePort |
| 108 | name: vid |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 109 | portName: vid |
Piotr Darosz | d9dc219 | 2018-09-10 10:40:26 +0200 | [diff] [blame] | 110 | externalPort: 8443 |
Piotr Darosz | aca7aa5 | 2018-08-29 14:27:02 +0200 | [diff] [blame] | 111 | internalPort: 8443 |
Piotr Darosz | d9dc219 | 2018-09-10 10:40:26 +0200 | [diff] [blame] | 112 | nodePort: "00" |
Ittay Stern | 9409470 | 2019-08-04 14:00:22 +0300 | [diff] [blame] | 113 | externalHttpPort: 8080 |
| 114 | internalHttpPort: 8080 |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 115 | |
| 116 | ingress: |
| 117 | enabled: false |
Lucjan Bryndza | a9a362f | 2019-08-14 09:53:04 +0200 | [diff] [blame] | 118 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 119 | - baseaddr: "vid.api" |
Lucjan Bryndza | a9a362f | 2019-08-14 09:53:04 +0200 | [diff] [blame] | 120 | name: "vid-http" |
Sylvain Desbureaux | 31d5590 | 2020-05-06 15:26:57 +0200 | [diff] [blame] | 121 | port: 8443 |
Lucjan Bryndza | a9a362f | 2019-08-14 09:53:04 +0200 | [diff] [blame] | 122 | config: |
Sylvain Desbureaux | 31d5590 | 2020-05-06 15:26:57 +0200 | [diff] [blame] | 123 | ssl: "redirect" |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 124 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 125 | # Resource Limit flavor -By Default using small |
vaibhavjayas | afb925d | 2018-09-19 09:33:41 +0000 | [diff] [blame] | 126 | flavor: small |
| 127 | # Segregation for Different environment (Small and Large) |
| 128 | resources: |
| 129 | small: |
| 130 | limits: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 131 | cpu: 200m |
vaibhavjayas | afb925d | 2018-09-19 09:33:41 +0000 | [diff] [blame] | 132 | memory: 2Gi |
| 133 | requests: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 134 | cpu: 100m |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 135 | memory: 1Gi |
vaibhavjayas | afb925d | 2018-09-19 09:33:41 +0000 | [diff] [blame] | 136 | large: |
| 137 | limits: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 138 | cpu: 400m |
vaibhavjayas | afb925d | 2018-09-19 09:33:41 +0000 | [diff] [blame] | 139 | memory: 4Gi |
| 140 | requests: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 141 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 142 | memory: 2Gi |
Ittay Stern | 9175127 | 2019-05-05 12:11:47 +0300 | [diff] [blame] | 143 | unlimited: {} |