Merge "[DCAE] VES-http input override"
[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   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
30
31 #################################################################
32 # Secrets metaconfig
33 #################################################################
34 secrets:
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
42 subChartsOnly:
43   enabled: true
44
45 # application image
46 repository: nexus3.onap.org:10001
47 image: onap/vid:7.0.0
48 pullPolicy: Always
49
50 # application configuration
51 config:
52   db:
53     userName: vidadmin
54 #    userCredentialsExternalSecret: some secret
55 #    userPassword: password
56   vidkeystorepassword: 'F:.\,csU\&ew8\;tdVitnfo\}O\!g'
57   asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
58   asdcclientrestport: "8443"
59   vidaaiport: "8443"
60   onapport: "30225"
61   onapportrest: "8443"
62   portalhost: "portal.api.simpledemo.onap.org"
63   msoport: "8080"
64   vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
65   msodme2serverurl: http://localhost:8081
66   vidcontactuslink: https://todo_contact_us_link.com
67   vidmysqlmaxconnections: "5"
68   logstashServiceName: log-ls
69   logstashPort: 5044
70   roleaccesscentralized: remote
71
72 mariadb-galera:
73  # '&mariadbConfig' means we "store" the values for  later use in the file
74  # with '*mariadbConfig' pointer.
75   config: &mariadbConfig
76     userCredentialsExternalSecret: '{{ include "common.release" . }}-vid-db-user-secret'
77     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: |-
88     [mysqld]
89     lower_case_table_names = 1
90
91 mariadb-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
98 # default number of instances
99 replicaCount: 1
100
101 nodeSelector: {}
102
103 affinity: {}
104
105 # probe configuration parameters
106 liveness:
107   initialDelaySeconds: 120
108   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
113 readiness:
114   initialDelaySeconds: 10
115   periodSeconds: 10
116
117 service:
118   type: NodePort
119   name: vid
120   portName: vid
121   externalPort: 8443
122   internalPort: 8443
123   nodePort: "00"
124   externalHttpPort: 8080
125   internalHttpPort: 8080
126
127 ingress:
128   enabled: false
129   service:
130        - baseaddr: "vid.api"
131          name: "vid-http"
132          port: 8443
133   config:
134        ssl: "redirect"
135
136 # Resource Limit flavor -By Default using small
137 flavor: small
138 # Segregation for Different environment (Small and Large)
139 resources:
140   small:
141     limits:
142       cpu: 200m
143       memory: 2Gi
144     requests:
145       cpu: 100m
146       memory: 1Gi
147   large:
148     limits:
149       cpu: 400m
150       memory: 4Gi
151     requests:
152       cpu: 200m
153       memory: 2Gi
154   unlimited: {}