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