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 |
RPMishra | e4ee7f1 | 2020-10-07 12:09:01 +0530 | [diff] [blame] | 21 | mariadbGalera: &mariadbGalera |
| 22 | #This flag allows VID to instantiate its own mariadb-galera cluster |
| 23 | localCluster: false |
| 24 | service: mariadb-galera |
| 25 | internalPort: 3306 |
| 26 | nameOverride: mariadb-galera |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 27 | |
Krzysztof Opasiak | 4a4703b | 2020-02-08 01:04:48 +0100 | [diff] [blame] | 28 | ################################################################# |
| 29 | # Secrets metaconfig |
| 30 | ################################################################# |
| 31 | secrets: |
| 32 | - uid: vid-db-user-secret |
| 33 | name: '{{ include "common.release" . }}-vid-db-user-secret' |
| 34 | type: basicAuth |
| 35 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 36 | login: '{{ .Values.config.db.userName }}' |
| 37 | password: '{{ .Values.config.db.userPassword }}' |
| 38 | |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 39 | subChartsOnly: |
| 40 | enabled: true |
| 41 | |
| 42 | # application image |
Ikramullah, Ikram (fi241c) | 07e91ee | 2020-10-08 14:56:42 -0400 | [diff] [blame] | 43 | image: onap/vid:7.0.0 |
yuryn | d0707be | 2017-09-27 14:54:18 +0300 | [diff] [blame] | 44 | pullPolicy: Always |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 45 | |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 46 | # application configuration |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 47 | config: |
Krzysztof Opasiak | 4a4703b | 2020-02-08 01:04:48 +0100 | [diff] [blame] | 48 | db: |
| 49 | userName: vidadmin |
| 50 | # userCredentialsExternalSecret: some secret |
| 51 | # userPassword: password |
Ittay Stern | af8dccb | 2020-03-17 17:39:27 +0200 | [diff] [blame] | 52 | vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g' |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 53 | asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=" |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 54 | asdcclientrestport: "8443" |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 55 | vidaaiport: "8443" |
Sonsino, Ofir (os0695) | c9a6edf | 2018-10-18 11:26:03 +0300 | [diff] [blame] | 56 | onapport: "30225" |
| 57 | onapportrest: "8443" |
| 58 | portalhost: "portal.api.simpledemo.onap.org" |
Alexis de Talhouët | 6c9efc6 | 2018-09-20 11:54:03 -0400 | [diff] [blame] | 59 | msoport: "8080" |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 60 | vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz |
| 61 | msodme2serverurl: http://localhost:8081 |
| 62 | vidcontactuslink: https://todo_contact_us_link.com |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 63 | vidmysqlmaxconnections: "5" |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 64 | logstashServiceName: log-ls |
| 65 | logstashPort: 5044 |
Sonsino, Ofir (os0695) | c9a6edf | 2018-10-18 11:26:03 +0300 | [diff] [blame] | 66 | roleaccesscentralized: remote |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 67 | |
Sylvain Desbureaux | 6383c44 | 2019-11-14 09:28:12 +0100 | [diff] [blame] | 68 | mariadb-galera: |
Sylvain Desbureaux | ab116a5 | 2020-11-19 17:27:59 +0100 | [diff] [blame] | 69 | # '&mariadbConfig' means we "store" the values for later use in the file |
| 70 | # with '*mariadbConfig' pointer. |
RPMishra | e4ee7f1 | 2020-10-07 12:09:01 +0530 | [diff] [blame] | 71 | config: &mariadbConfig |
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 | |
RPMishra | e4ee7f1 | 2020-10-07 12:09:01 +0530 | [diff] [blame] | 87 | mariadb-init: |
| 88 | config: *mariadbConfig |
| 89 | nameOverride: vid-mariadb-init |
| 90 | # A configMap of same name is created. It points to file that will be run after |
| 91 | # The DB has been created. |
| 92 | dbScriptConfigMap: '{{ include "common.release" . }}-vid-db-init' |
| 93 | |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 94 | # default number of instances |
| 95 | replicaCount: 1 |
| 96 | |
| 97 | nodeSelector: {} |
| 98 | |
| 99 | affinity: {} |
| 100 | |
| 101 | # probe configuration parameters |
| 102 | liveness: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 103 | initialDelaySeconds: 120 |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 104 | periodSeconds: 10 |
| 105 | # necessary to disable liveness probe when setting breakpoints |
| 106 | # in debugger so K8s doesn't restart unresponsive container |
| 107 | enabled: true |
| 108 | |
| 109 | readiness: |
| 110 | initialDelaySeconds: 10 |
| 111 | periodSeconds: 10 |
| 112 | |
| 113 | service: |
| 114 | type: NodePort |
| 115 | name: vid |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 116 | portName: vid |
Piotr Darosz | d9dc219 | 2018-09-10 10:40:26 +0200 | [diff] [blame] | 117 | externalPort: 8443 |
Piotr Darosz | aca7aa5 | 2018-08-29 14:27:02 +0200 | [diff] [blame] | 118 | internalPort: 8443 |
Piotr Darosz | d9dc219 | 2018-09-10 10:40:26 +0200 | [diff] [blame] | 119 | nodePort: "00" |
Ittay Stern | 9409470 | 2019-08-04 14:00:22 +0300 | [diff] [blame] | 120 | externalHttpPort: 8080 |
| 121 | internalHttpPort: 8080 |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 122 | |
| 123 | ingress: |
| 124 | enabled: false |
Lucjan Bryndza | a9a362f | 2019-08-14 09:53:04 +0200 | [diff] [blame] | 125 | service: |
Sylvain Desbureaux | ab116a5 | 2020-11-19 17:27:59 +0100 | [diff] [blame] | 126 | - baseaddr: "vid.api" |
| 127 | name: "vid-http" |
| 128 | port: 8443 |
Lucjan Bryndza | a9a362f | 2019-08-14 09:53:04 +0200 | [diff] [blame] | 129 | config: |
Sylvain Desbureaux | ab116a5 | 2020-11-19 17:27:59 +0100 | [diff] [blame] | 130 | ssl: "redirect" |
Priyanka | 5fdca02 | 2018-03-13 12:53:06 +0000 | [diff] [blame] | 131 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 132 | # Resource Limit flavor -By Default using small |
vaibhavjayas | afb925d | 2018-09-19 09:33:41 +0000 | [diff] [blame] | 133 | flavor: small |
| 134 | # Segregation for Different environment (Small and Large) |
| 135 | resources: |
| 136 | small: |
| 137 | limits: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 138 | cpu: 200m |
vaibhavjayas | afb925d | 2018-09-19 09:33:41 +0000 | [diff] [blame] | 139 | memory: 2Gi |
| 140 | requests: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 141 | cpu: 100m |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 142 | memory: 1Gi |
vaibhavjayas | afb925d | 2018-09-19 09:33:41 +0000 | [diff] [blame] | 143 | large: |
| 144 | limits: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 145 | cpu: 400m |
vaibhavjayas | afb925d | 2018-09-19 09:33:41 +0000 | [diff] [blame] | 146 | memory: 4Gi |
| 147 | requests: |
Mandeep Khinda | cef0e3c | 2018-09-21 03:59:17 +0000 | [diff] [blame] | 148 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 149 | memory: 2Gi |
Ittay Stern | 9175127 | 2019-05-05 12:11:47 +0300 | [diff] [blame] | 150 | unlimited: {} |