blob: 4cd3321b7d9e9e53b80bcd2bea0f277be300b2cb [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
24
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010025#################################################################
26# Secrets metaconfig
27#################################################################
28secrets:
29 - uid: vid-db-user-secret
30 name: '{{ include "common.release" . }}-vid-db-user-secret'
31 type: basicAuth
32 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
33 login: '{{ .Values.config.db.userName }}'
34 password: '{{ .Values.config.db.userPassword }}'
35
Priyanka5fdca022018-03-13 12:53:06 +000036subChartsOnly:
37 enabled: true
38
39# application image
40repository: nexus3.onap.org:10001
Ittay Stern78942172020-03-25 18:12:02 +020041image: onap/vid:6.0.4
yurynd0707be2017-09-27 14:54:18 +030042pullPolicy: Always
Priyanka5fdca022018-03-13 12:53:06 +000043
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +030044# mariadb image for initializing
45mariadb_image: library/mariadb:10
Priyanka5fdca022018-03-13 12:53:06 +000046
47# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +030048config:
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010049 db:
50 userName: vidadmin
51# userCredentialsExternalSecret: some secret
52# userPassword: password
Ittay Sternaf8dccb2020-03-17 17:39:27 +020053 vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g'
Priyanka5fdca022018-03-13 12:53:06 +000054 asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
k.kedronc784bbd2019-09-05 18:28:16 +020055 asdcclientrestport: "8443"
Priyanka5fdca022018-03-13 12:53:06 +000056 vidaaiport: "8443"
Sonsino, Ofir (os0695)c9a6edf2018-10-18 11:26:03 +030057 onapport: "30225"
58 onapportrest: "8443"
59 portalhost: "portal.api.simpledemo.onap.org"
Alexis de Talhouët6c9efc62018-09-20 11:54:03 -040060 msoport: "8080"
Priyanka5fdca022018-03-13 12:53:06 +000061 vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
62 msodme2serverurl: http://localhost:8081
63 vidcontactuslink: https://todo_contact_us_link.com
Priyanka5fdca022018-03-13 12:53:06 +000064 vidmysqlmaxconnections: "5"
BorislavG5f3b6192018-03-25 18:12:38 +030065 logstashServiceName: log-ls
66 logstashPort: 5044
Sonsino, Ofir (os0695)c9a6edf2018-10-18 11:26:03 +030067 roleaccesscentralized: remote
Priyanka5fdca022018-03-13 12:53:06 +000068
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010069mariadb-galera:
70 config:
Krzysztof Opasiak4a4703b2020-02-08 01:04:48 +010071 userCredentialsExternalSecret: '{{ include "common.release" . }}-vid-db-user-secret'
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010072 mysqlDatabase: vid_openecomp_epsdk
73 nameOverride: vid-galera
74 service:
75 name: vid-galera
76 portName: mysql-vid
77 internalPort: "3306"
78 replicaCount: 3
79 persistence:
80 enabled: true
81 mountSubPath: vid/maria/data
82 externalConfig: |-
Brian Freeman8a1d3142019-12-06 12:44:53 -050083 [mysqld]
Sylvain Desbureaux6383c442019-11-14 09:28:12 +010084 lower_case_table_names = 1
Priyanka5fdca022018-03-13 12:53:06 +000085
86# default number of instances
87replicaCount: 1
88
89nodeSelector: {}
90
91affinity: {}
92
93# probe configuration parameters
94liveness:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +000095 initialDelaySeconds: 120
Priyanka5fdca022018-03-13 12:53:06 +000096 periodSeconds: 10
97 # necessary to disable liveness probe when setting breakpoints
98 # in debugger so K8s doesn't restart unresponsive container
99 enabled: true
100
101readiness:
102 initialDelaySeconds: 10
103 periodSeconds: 10
104
105service:
106 type: NodePort
107 name: vid
BorislavG1ffbd992018-04-24 07:56:27 +0000108 portName: vid
Piotr Daroszd9dc2192018-09-10 10:40:26 +0200109 externalPort: 8443
Piotr Daroszaca7aa52018-08-29 14:27:02 +0200110 internalPort: 8443
Piotr Daroszd9dc2192018-09-10 10:40:26 +0200111 nodePort: "00"
Ittay Stern94094702019-08-04 14:00:22 +0300112 externalHttpPort: 8080
113 internalHttpPort: 8080
Priyanka5fdca022018-03-13 12:53:06 +0000114
115ingress:
116 enabled: false
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200117 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000118 - baseaddr: "vid.api"
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200119 name: "vid-http"
Sylvain Desbureaux31d55902020-05-06 15:26:57 +0200120 port: 8443
Lucjan Bryndzaa9a362f2019-08-14 09:53:04 +0200121 config:
Sylvain Desbureaux31d55902020-05-06 15:26:57 +0200122 ssl: "redirect"
Priyanka5fdca022018-03-13 12:53:06 +0000123
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000124# Resource Limit flavor -By Default using small
vaibhavjayasafb925d2018-09-19 09:33:41 +0000125flavor: small
126# Segregation for Different environment (Small and Large)
127resources:
128 small:
129 limits:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000130 cpu: 200m
vaibhavjayasafb925d2018-09-19 09:33:41 +0000131 memory: 2Gi
132 requests:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000133 cpu: 100m
Mandeep Khinda3c134252018-09-19 23:56:37 +0000134 memory: 1Gi
vaibhavjayasafb925d2018-09-19 09:33:41 +0000135 large:
136 limits:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000137 cpu: 400m
vaibhavjayasafb925d2018-09-19 09:33:41 +0000138 memory: 4Gi
139 requests:
Mandeep Khindacef0e3c2018-09-21 03:59:17 +0000140 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000141 memory: 2Gi
Ittay Stern91751272019-05-05 12:11:47 +0300142 unlimited: {}