blob: 63c6307f069502bf1bc603a19c131c8975328f1b [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
Priyanka5fdca022018-03-13 12:53:06 +000021 readinessRepository: oomk8s
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010022 readinessImage: readiness-check:2.0.2
Priyanka5fdca022018-03-13 12:53:06 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010026#################################################################
27# Secrets metaconfig
28#################################################################
29secrets:
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
Priyanka5fdca022018-03-13 12:53:06 +000037subChartsOnly:
38 enabled: true
39
40# application image
41repository: nexus3.onap.org:10001
Ittay Stern78942172020-03-25 18:12:02 +020042image: onap/vid:6.0.4
yurynd0707be2017-09-27 14:54:18 +030043pullPolicy: Always
Priyanka5fdca022018-03-13 12:53:06 +000044
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +030045# mariadb image for initializing
46mariadb_image: library/mariadb:10
Priyanka5fdca022018-03-13 12:53:06 +000047
48# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +030049config:
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010050 db:
51 userName: vidadmin
52# userCredentialsExternalSecret: some secret
53# userPassword: password
Ittay Sternaf8dccb2020-03-17 17:39:27 +020054 vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g'
Priyanka5fdca022018-03-13 12:53:06 +000055 asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
k.kedronc784bbd2019-09-05 18:28:16 +020056 asdcclientrestport: "8443"
Priyanka5fdca022018-03-13 12:53:06 +000057 vidaaiport: "8443"
Sonsino, Ofir (os0695)c9a6edf2018-10-18 11:26:03 +030058 onapport: "30225"
59 onapportrest: "8443"
60 portalhost: "portal.api.simpledemo.onap.org"
Alexis de Talhouët6c9efc62018-09-20 11:54:03 -040061 msoport: "8080"
Priyanka5fdca022018-03-13 12:53:06 +000062 vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
63 msodme2serverurl: http://localhost:8081
64 vidcontactuslink: https://todo_contact_us_link.com
Priyanka5fdca022018-03-13 12:53:06 +000065 vidmysqlmaxconnections: "5"
BorislavG5f3b6192018-03-25 18:12:38 +030066 logstashServiceName: log-ls
67 logstashPort: 5044
Sonsino, Ofir (os0695)c9a6edf2018-10-18 11:26:03 +030068 roleaccesscentralized: remote
Priyanka5fdca022018-03-13 12:53:06 +000069
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010070mariadb-galera:
71 config:
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
87# default number of instances
88replicaCount: 1
89
90nodeSelector: {}
91
92affinity: {}
93
94# probe configuration parameters
95liveness:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +000096 initialDelaySeconds: 120
Priyanka5fdca022018-03-13 12:53:06 +000097 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
102readiness:
103 initialDelaySeconds: 10
104 periodSeconds: 10
105
106service:
107 type: NodePort
108 name: vid
BorislavG1ffbd992018-04-24 07:56:27 +0000109 portName: vid
Piotr Daroszd9dc2192018-09-10 10:40:26 +0200110 externalPort: 8443
Piotr Daroszaca7aa52018-08-29 14:27:02 +0200111 internalPort: 8443
Piotr Daroszd9dc2192018-09-10 10:40:26 +0200112 nodePort: "00"
Ittay Stern94094702019-08-04 14:00:22 +0300113 externalHttpPort: 8080
114 internalHttpPort: 8080
Priyanka5fdca022018-03-13 12:53:06 +0000115
116ingress:
117 enabled: false
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200118 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000119 - baseaddr: "vid.api"
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200120 name: "vid-http"
Sylvain Desbureaux31d55902020-05-06 15:26:57 +0200121 port: 8443
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200122 config:
Sylvain Desbureaux31d55902020-05-06 15:26:57 +0200123 ssl: "redirect"
Priyanka5fdca022018-03-13 12:53:06 +0000124
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000125# Resource Limit flavor -By Default using small
vaibhavjayasafb925d2018-09-19 09:33:41 +0000126flavor: small
127# Segregation for Different environment (Small and Large)
128resources:
129 small:
130 limits:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000131 cpu: 200m
vaibhavjayasafb925d2018-09-19 09:33:41 +0000132 memory: 2Gi
133 requests:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000134 cpu: 100m
Mandeep Khinda3c134252018-09-19 23:56:37 +0000135 memory: 1Gi
vaibhavjayasafb925d2018-09-19 09:33:41 +0000136 large:
137 limits:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000138 cpu: 400m
vaibhavjayasafb925d2018-09-19 09:33:41 +0000139 memory: 4Gi
140 requests:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000141 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000142 memory: 2Gi
Ittay Stern91751272019-05-05 12:11:47 +0300143 unlimited: {}