This can be enabled with:
helm install --name mariadb --set development.enabled=true local/mariadb
This will ensure only a single replica is used and that PVCs (which
require a persistent volume solution) like ceph are not used. Instead
this flag enables a single replica with hostDir storage using the
host path defined in values.yaml which defaults to the following:
/var/lib/openstack-helm/mariadb
This is a major refactor of the mariadb chart. A few things
are accomplished:
* The chart template layout is updated to match our keystone
chart, providing a more structure to the chart.
* The chart was updated to leverage StatefulSets, which requires
Kubernetes 1.5, and helm 2.1.0.
* The bootstrapping process was completely overhauled to support
the unique constraints of statefulsets, namely that they come up
one by one, needing the previous to be in a ready state before
the next is provisioned.
* The references to {{ .IP }} we removed and replaced with POD_IP
environmental passing and address binding was fixed in several
places for wsrep functionality. This may explain several oddities
with the previous setup causing mysterious and intermittent
database consistency issues.