blob: 93de57e4b33cc5c5efd3f3d1f21e1b73ccf9e020 [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Priyanka5fdca022018-03-13 12:53:06 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
RPMishrae4ee7f12020-10-07 12:09:01 +053024 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
Priyanka5fdca022018-03-13 12:53:06 +000030
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010031#################################################################
32# Secrets metaconfig
33#################################################################
34secrets:
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
Priyanka5fdca022018-03-13 12:53:06 +000042subChartsOnly:
43 enabled: true
44
45# application image
46repository: nexus3.onap.org:10001
Ikramullah, Ikram (fi241c)07e91ee2020-10-08 14:56:42 -040047image: onap/vid:7.0.0
yurynd0707be2017-09-27 14:54:18 +030048pullPolicy: Always
Priyanka5fdca022018-03-13 12:53:06 +000049
Priyanka5fdca022018-03-13 12:53:06 +000050# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +030051config:
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010052 db:
53 userName: vidadmin
54# userCredentialsExternalSecret: some secret
55# userPassword: password
Ittay Sternaf8dccb2020-03-17 17:39:27 +020056 vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g'
Priyanka5fdca022018-03-13 12:53:06 +000057 asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
k.kedronc784bbd2019-09-05 18:28:16 +020058 asdcclientrestport: "8443"
Priyanka5fdca022018-03-13 12:53:06 +000059 vidaaiport: "8443"
Sonsino, Ofir (os0695)c9a6edf2018-10-18 11:26:03 +030060 onapport: "30225"
61 onapportrest: "8443"
62 portalhost: "portal.api.simpledemo.onap.org"
Alexis de Talhouët6c9efc62018-09-20 11:54:03 -040063 msoport: "8080"
Priyanka5fdca022018-03-13 12:53:06 +000064 vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
65 msodme2serverurl: http://localhost:8081
66 vidcontactuslink: https://todo_contact_us_link.com
Priyanka5fdca022018-03-13 12:53:06 +000067 vidmysqlmaxconnections: "5"
BorislavG5f3b6192018-03-25 18:12:38 +030068 logstashServiceName: log-ls
69 logstashPort: 5044
Sonsino, Ofir (os0695)c9a6edf2018-10-18 11:26:03 +030070 roleaccesscentralized: remote
Priyanka5fdca022018-03-13 12:53:06 +000071
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010072mariadb-galera:
RPMishrae4ee7f12020-10-07 12:09:01 +053073 # '&mariadbConfig' means we "store" the values for later use in the file
74 # with '*mariadbConfig' pointer.
75 config: &mariadbConfig
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010076 userCredentialsExternalSecret: '{{ include "common.release" . }}-vid-db-user-secret'
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010077 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 Freeman8a1d3142019-12-06 12:44:53 -050088 [mysqld]
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010089 lower_case_table_names = 1
Priyanka5fdca022018-03-13 12:53:06 +000090
RPMishrae4ee7f12020-10-07 12:09:01 +053091mariadb-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
Priyanka5fdca022018-03-13 12:53:06 +000098# default number of instances
99replicaCount: 1
100
101nodeSelector: {}
102
103affinity: {}
104
105# probe configuration parameters
106liveness:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000107 initialDelaySeconds: 120
Priyanka5fdca022018-03-13 12:53:06 +0000108 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
113readiness:
114 initialDelaySeconds: 10
115 periodSeconds: 10
116
117service:
118 type: NodePort
119 name: vid
BorislavG1ffbd992018-04-24 07:56:27 +0000120 portName: vid
Piotr Daroszd9dc2192018-09-10 10:40:26 +0200121 externalPort: 8443
Piotr Daroszaca7aa52018-08-29 14:27:02 +0200122 internalPort: 8443
Piotr Daroszd9dc2192018-09-10 10:40:26 +0200123 nodePort: "00"
Ittay Stern94094702019-08-04 14:00:22 +0300124 externalHttpPort: 8080
125 internalHttpPort: 8080
Priyanka5fdca022018-03-13 12:53:06 +0000126
127ingress:
128 enabled: false
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200129 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000130 - baseaddr: "vid.api"
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200131 name: "vid-http"
Sylvain Desbureaux31d55902020-05-06 15:26:57 +0200132 port: 8443
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200133 config:
Sylvain Desbureaux31d55902020-05-06 15:26:57 +0200134 ssl: "redirect"
Priyanka5fdca022018-03-13 12:53:06 +0000135
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000136# Resource Limit flavor -By Default using small
vaibhavjayasafb925d2018-09-19 09:33:41 +0000137flavor: small
138# Segregation for Different environment (Small and Large)
139resources:
140 small:
141 limits:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000142 cpu: 200m
vaibhavjayasafb925d2018-09-19 09:33:41 +0000143 memory: 2Gi
144 requests:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000145 cpu: 100m
Mandeep Khinda3c134252018-09-19 23:56:37 +0000146 memory: 1Gi
vaibhavjayasafb925d2018-09-19 09:33:41 +0000147 large:
148 limits:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000149 cpu: 400m
vaibhavjayasafb925d2018-09-19 09:33:41 +0000150 memory: 4Gi
151 requests:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000152 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000153 memory: 2Gi
Ittay Stern91751272019-05-05 12:11:47 +0300154 unlimited: {}