Revert "basic auth for so-monitoring"
[oom.git] / kubernetes / vid / charts / vid-mariadb-galera / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   persistence: {}
21   repository: nexus3.onap.org:10001
22
23
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
27
28 #repository: mysql
29 repository: nexus3.onap.org:10001
30 image: adfinissygroup/k8s-mariadb-galera-centos:v004
31 imageInit: busybox
32 pullPolicy: IfNotPresent
33
34 # application configuration
35 config:
36   mariadbRootPassword: secretpassword
37 #  userName: my-user
38 #  userPassword: my-password
39 #  mysqlDatabase: my-database
40   userName: vidadmin
41   userPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
42   mysqlDatabase: vid_openecomp_epsdk
43
44
45 # default number of instances in the StatefulSet
46 replicaCount: 2
47
48 nodeSelector: {}
49
50 affinity: {}
51
52 # probe configuration parameters
53 liveness:
54   initialDelaySeconds: 30
55   periodSeconds: 10
56   timeoutSeconds: 5
57   # necessary to disable liveness probe when setting breakpoints
58   # in debugger so K8s doesn't restart unresponsive container
59   enabled: false
60
61 readiness:
62   initialDelaySeconds: 15
63   periodSeconds: 10
64
65 ## Persist data to a persitent volume
66 persistence:
67   enabled: false
68
69   ## A manually managed Persistent Volume and Claim
70   ## Requires persistence.enabled: true
71   ## If defined, PVC must be created manually before volume will be bound
72   # existingClaim:
73   volumeReclaimPolicy: Retain
74
75   ## database data Persistent Volume Storage Class
76   ## If defined, storageClassName: <storageClass>
77   ## If set to "-", storageClassName: "", which disables dynamic provisioning
78   ## If undefined (the default) or set to null, no storageClassName spec is
79   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
80   ##   GKE, AWS & OpenStack)
81   ##
82   # storageClass: "-"
83   accessMode: ReadWriteOnce
84   size: 2Gi
85
86
87 service:
88   internalPort: 3306
89   name: vid-galera
90   portName: vid-galera
91   sstPort: 4444
92   sstName: sst
93   replicationPort: 4567
94   replicationName: replication
95   istPort: 4568
96   istName: ist
97
98 ingress:
99   enabled: false
100
101
102 ## Configure MariaDB-Galera with a custom my.cnf file
103 ## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
104 ##
105 #externalConfig: {}
106 externalConfig: |-
107   lower_case_table_names = 1
108 # Resource Limit flavor -By Default using small
109 flavor: small
110 # Segregation for Different environment (Small and Large)
111 resources:
112   small:
113     limits:
114       cpu: 10m
115       memory: 1Gi
116     requests:
117       cpu: 10m
118       memory: 500Mi
119   large:
120     limits:
121       cpu: 20m
122       memory: 2Gi
123     requests:
124       cpu: 20m
125       memory: 1Gi
126   unlimited: {}
127 # Name for mariadb-galera cluster - should be unique accross all projects or other clusters
128 nameOverride: vid-mariadb-galera
129
130 # DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
131 #dnsnameOverride: mariadb-galera