blob: 47cd73aff27b6790e0c3122ea26be447d9208761 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +01002# Copyright © 2020 Samsung Electronics
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
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
Priyanka5fdca022018-03-13 12:53:06 +000016# Default values for vid.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global:
20 nodePortPrefix: 302
RPMishrae4ee7f12020-10-07 12:09:01 +053021 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
Priyanka5fdca022018-03-13 12:53:06 +000027
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010028#################################################################
29# Secrets metaconfig
30#################################################################
31secrets:
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
Priyanka5fdca022018-03-13 12:53:06 +000039subChartsOnly:
40 enabled: true
41
42# application image
Ikramullah, Ikram (fi241c)07e91ee2020-10-08 14:56:42 -040043image: onap/vid:7.0.0
yurynd0707be2017-09-27 14:54:18 +030044pullPolicy: Always
Priyanka5fdca022018-03-13 12:53:06 +000045
Priyanka5fdca022018-03-13 12:53:06 +000046# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +030047config:
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010048 db:
49 userName: vidadmin
50# userCredentialsExternalSecret: some secret
51# userPassword: password
Ittay Sternaf8dccb2020-03-17 17:39:27 +020052 vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g'
Priyanka5fdca022018-03-13 12:53:06 +000053 asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
k.kedronc784bbd2019-09-05 18:28:16 +020054 asdcclientrestport: "8443"
Priyanka5fdca022018-03-13 12:53:06 +000055 vidaaiport: "8443"
Sonsino, Ofir (os0695)c9a6edf2018-10-18 11:26:03 +030056 onapport: "30225"
57 onapportrest: "8443"
58 portalhost: "portal.api.simpledemo.onap.org"
Alexis de Talhouët6c9efc62018-09-20 11:54:03 -040059 msoport: "8080"
Priyanka5fdca022018-03-13 12:53:06 +000060 vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
61 msodme2serverurl: http://localhost:8081
62 vidcontactuslink: https://todo_contact_us_link.com
Priyanka5fdca022018-03-13 12:53:06 +000063 vidmysqlmaxconnections: "5"
BorislavG5f3b6192018-03-25 18:12:38 +030064 logstashServiceName: log-ls
65 logstashPort: 5044
Sonsino, Ofir (os0695)c9a6edf2018-10-18 11:26:03 +030066 roleaccesscentralized: remote
Priyanka5fdca022018-03-13 12:53:06 +000067
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010068mariadb-galera:
Sylvain Desbureauxab116a52020-11-19 17:27:59 +010069 # '&mariadbConfig' means we "store" the values for later use in the file
70 # with '*mariadbConfig' pointer.
RPMishrae4ee7f12020-10-07 12:09:01 +053071 config: &mariadbConfig
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010072 userCredentialsExternalSecret: '{{ include "common.release" . }}-vid-db-user-secret'
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010073 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 Freeman8a1d3142019-12-06 12:44:53 -050084 [mysqld]
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010085 lower_case_table_names = 1
Priyanka5fdca022018-03-13 12:53:06 +000086
RPMishrae4ee7f12020-10-07 12:09:01 +053087mariadb-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
Priyanka5fdca022018-03-13 12:53:06 +000094# default number of instances
95replicaCount: 1
96
97nodeSelector: {}
98
99affinity: {}
100
101# probe configuration parameters
102liveness:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000103 initialDelaySeconds: 120
Priyanka5fdca022018-03-13 12:53:06 +0000104 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
109readiness:
110 initialDelaySeconds: 10
111 periodSeconds: 10
112
113service:
114 type: NodePort
115 name: vid
BorislavG1ffbd992018-04-24 07:56:27 +0000116 portName: vid
Piotr Daroszd9dc2192018-09-10 10:40:26 +0200117 externalPort: 8443
Piotr Daroszaca7aa52018-08-29 14:27:02 +0200118 internalPort: 8443
Piotr Daroszd9dc2192018-09-10 10:40:26 +0200119 nodePort: "00"
Ittay Stern94094702019-08-04 14:00:22 +0300120 externalHttpPort: 8080
121 internalHttpPort: 8080
Priyanka5fdca022018-03-13 12:53:06 +0000122
123ingress:
124 enabled: false
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200125 service:
Sylvain Desbureauxab116a52020-11-19 17:27:59 +0100126 - baseaddr: "vid.api"
127 name: "vid-http"
128 port: 8443
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200129 config:
Sylvain Desbureauxab116a52020-11-19 17:27:59 +0100130 ssl: "redirect"
Priyanka5fdca022018-03-13 12:53:06 +0000131
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000132# Resource Limit flavor -By Default using small
vaibhavjayasafb925d2018-09-19 09:33:41 +0000133flavor: small
134# Segregation for Different environment (Small and Large)
135resources:
136 small:
137 limits:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000138 cpu: 200m
vaibhavjayasafb925d2018-09-19 09:33:41 +0000139 memory: 2Gi
140 requests:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000141 cpu: 100m
Mandeep Khinda3c134252018-09-19 23:56:37 +0000142 memory: 1Gi
vaibhavjayasafb925d2018-09-19 09:33:41 +0000143 large:
144 limits:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000145 cpu: 400m
vaibhavjayasafb925d2018-09-19 09:33:41 +0000146 memory: 4Gi
147 requests:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000148 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000149 memory: 2Gi
Ittay Stern91751272019-05-05 12:11:47 +0300150 unlimited: {}