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