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