Merge "[COMMON] Add limits to mongo statefulsets."
[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   readinessImage: onap/oom/readiness:3.0.1
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25 #################################################################
26 # Secrets metaconfig
27 #################################################################
28 secrets:
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
36 subChartsOnly:
37   enabled: true
38
39 # application image
40 repository: nexus3.onap.org:10001
41 image: onap/vid:7.0.0
42 pullPolicy: Always
43
44 # mariadb image for initializing
45 mariadb_image: library/mariadb:10
46
47 # application configuration
48 config:
49   db:
50     userName: vidadmin
51 #    userCredentialsExternalSecret: some secret
52 #    userPassword: password
53   vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g'
54   asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
55   asdcclientrestport: "8443"
56   vidaaiport: "8443"
57   onapport: "30225"
58   onapportrest: "8443"
59   portalhost: "portal.api.simpledemo.onap.org"
60   msoport: "8080"
61   vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
62   msodme2serverurl: http://localhost:8081
63   vidcontactuslink: https://todo_contact_us_link.com
64   vidmysqlmaxconnections: "5"
65   logstashServiceName: log-ls
66   logstashPort: 5044
67   roleaccesscentralized: remote
68
69 mariadb-galera:
70   config:
71     userCredentialsExternalSecret: '{{ include "common.release" . }}-vid-db-user-secret'
72     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: |-
83     [mysqld]
84     lower_case_table_names = 1
85
86 # default number of instances
87 replicaCount: 1
88
89 nodeSelector: {}
90
91 affinity: {}
92
93 # probe configuration parameters
94 liveness:
95   initialDelaySeconds: 120
96   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
101 readiness:
102   initialDelaySeconds: 10
103   periodSeconds: 10
104
105 service:
106   type: NodePort
107   name: vid
108   portName: vid
109   externalPort: 8443
110   internalPort: 8443
111   nodePort: "00"
112   externalHttpPort: 8080
113   internalHttpPort: 8080
114
115 ingress:
116   enabled: false
117   service:
118        - baseaddr: "vid.api"
119          name: "vid-http"
120          port: 8443
121   config:
122        ssl: "redirect"
123
124 # Resource Limit flavor -By Default using small
125 flavor: small
126 # Segregation for Different environment (Small and Large)
127 resources:
128   small:
129     limits:
130       cpu: 200m
131       memory: 2Gi
132     requests:
133       cpu: 100m
134       memory: 1Gi
135   large:
136     limits:
137       cpu: 400m
138       memory: 4Gi
139     requests:
140       cpu: 200m
141       memory: 2Gi
142   unlimited: {}