openstack-helm/mariadb/templates/pdb-mariadb.yaml
Pete Birley 8ff8e7aeb2 Mariadb: Update to use endpoint values layout and lookups
This PS adjusts the MariaDB chart to use the same endpoint values
layout as used in other openstack-helm components. It also removes
credentials and params from the configmaps and moves them to secrets
and env vars as appropriate.

Change-Id: I9116be7c46cdd16c743ca2784878f3de65665f8c
2017-07-03 13:17:48 +00:00

10 lines
300 B
YAML

apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ tuple "oslo_db" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
spec:
minAvailable: {{ .Values.pod_disruption_budget.mariadb.min_available }}
selector:
matchLabels:
app: mariadb