Merge "[GENERAL] Update chart version to Guilin"
[oom.git] / kubernetes / vid / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Copyright © 2020 Samsung Electronics
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
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
21   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
27
28 #################################################################
29 # Secrets metaconfig
30 #################################################################
31 secrets:
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
39 subChartsOnly:
40   enabled: true
41
42 # application image
43 image: onap/vid:7.0.0
44 pullPolicy: Always
45
46 # application configuration
47 config:
48   db:
49     userName: vidadmin
50 #    userCredentialsExternalSecret: some secret
51 #    userPassword: password
52   vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g'
53   asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
54   asdcclientrestport: "8443"
55   vidaaiport: "8443"
56   onapport: "30225"
57   onapportrest: "8443"
58   portalhost: "portal.api.simpledemo.onap.org"
59   msoport: "8080"
60   vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
61   msodme2serverurl: http://localhost:8081
62   vidcontactuslink: https://todo_contact_us_link.com
63   vidmysqlmaxconnections: "5"
64   logstashServiceName: log-ls
65   logstashPort: 5044
66   roleaccesscentralized: remote
67
68 mariadb-galera:
69   # '&mariadbConfig' means we "store" the values for  later use in the file
70   # with '*mariadbConfig' pointer.
71   config: &mariadbConfig
72     userCredentialsExternalSecret: '{{ include "common.release" . }}-vid-db-user-secret'
73     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: |-
84     [mysqld]
85     lower_case_table_names = 1
86
87 mariadb-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
94 # default number of instances
95 replicaCount: 1
96
97 nodeSelector: {}
98
99 affinity: {}
100
101 # probe configuration parameters
102 liveness:
103   initialDelaySeconds: 120
104   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
109 readiness:
110   initialDelaySeconds: 10
111   periodSeconds: 10
112
113 service:
114   type: NodePort
115   name: vid
116   portName: vid
117   externalPort: 8443
118   internalPort: 8443
119   nodePort: "00"
120   externalHttpPort: 8080
121   internalHttpPort: 8080
122
123 ingress:
124   enabled: false
125   service:
126     - baseaddr: "vid.api"
127       name: "vid-http"
128       port: 8443
129   config:
130     ssl: "redirect"
131
132 # Resource Limit flavor -By Default using small
133 flavor: small
134 # Segregation for Different environment (Small and Large)
135 resources:
136   small:
137     limits:
138       cpu: 200m
139       memory: 2Gi
140     requests:
141       cpu: 100m
142       memory: 1Gi
143   large:
144     limits:
145       cpu: 400m
146       memory: 4Gi
147     requests:
148       cpu: 200m
149       memory: 2Gi
150   unlimited: {}