Improve docker registry secret management
[oom.git] / kubernetes / common / mariadb-galera / values.yaml
1 #################################################################
2 # Global configuration defaults.
3 #################################################################
4 global:
5   nodePortPrefix: 302
6   persistence: {}
7   repository: nexus3.onap.org:10001
8
9
10 #################################################################
11 # Application configuration defaults.
12 #################################################################
13
14 #repository: mysql
15 repository: nexus3.onap.org:10001
16 image: adfinissygroup/k8s-mariadb-galera-centos:v002
17 imageInit: busybox
18 pullPolicy: IfNotPresent
19
20 # application configuration
21 config:
22   mariadbRootPassword: secretpassword
23   userName: my-user
24   userPassword: my-password
25   mysqlDatabase: my-database
26
27 # default number of instances in the StatefulSet
28 replicaCount: 3
29
30 nodeSelector: {}
31
32 affinity: {}
33
34 # probe configuration parameters
35 liveness:
36   initialDelaySeconds: 30
37   periodSeconds: 10
38   timeoutSeconds: 5
39   # necessary to disable liveness probe when setting breakpoints
40   # in debugger so K8s doesn't restart unresponsive container
41   enabled: true
42
43 readiness:
44   initialDelaySeconds: 15
45   periodSeconds: 10
46
47 ## Persist data to a persitent volume
48 persistence:
49   enabled: false
50
51   ## A manually managed Persistent Volume and Claim
52   ## Requires persistence.enabled: true
53   ## If defined, PVC must be created manually before volume will be bound
54   # existingClaim:
55   volumeReclaimPolicy: Retain
56
57   ## database data Persistent Volume Storage Class
58   ## If defined, storageClassName: <storageClass>
59   ## If set to "-", storageClassName: "", which disables dynamic provisioning
60   ## If undefined (the default) or set to null, no storageClassName spec is
61   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
62   ##   GKE, AWS & OpenStack)
63   ##
64   # storageClass: "-"
65   accessMode: ReadWriteOnce
66   size: 2Gi
67
68
69 service:
70   internalPort: 3306
71   name: mariadb-galera
72   portName: mariadb-galera
73   sstPort: 4444
74   sstName: sst
75   replicationPort: 4567
76   replicationName: replication
77   istPort: 4568
78   istName: ist
79
80 ingress:
81   enabled: false
82
83
84 ## Configure MariaDB-Galera with a custom my.cnf file
85 ## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
86 ##
87 externalConfig: {}
88 # externalConfig: |-
89   # [mysqld]
90   # innodb_buffer_pool_size=2G
91
92 #resources: {}
93   # We usually recommend not to specify default resources and to leave this as a conscious
94   # choice for the user. This also increases chances charts run on environments with little
95   # resources, such as Minikube. If you do want to specify resources, uncomment the following
96   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
97   #
98   # Example:
99   # Configure resource requests and limits
100   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
101   # Minimum memory for development is 2 CPU cores and 4GB memory
102   # Minimum memory for production is 4 CPU cores and 8GB memory
103 resources:
104   limits:
105     cpu: 2
106     memory: 4Gi
107   requests:
108     cpu: 2
109     memory: 4Gi
110
111 # Name for mariadb-galera cluster - should be unique accross all projects or other clusters
112 nameOverride: mariadb-galera
113
114 # DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
115 #dnsnameOverride: mariadb-galera