openstack-helm/barbican/templates/pdb-api.yaml
Larry Rensing b8a97aa5ac Adding pod disruption budget for barbican
This PS adds a default pod disruption budget for barbican-api
to ensure at least one replica is running.

Change-Id: I505028d6c277edb3a1da2690545e630df5e2fb16
2017-05-18 15:30:43 +00:00

9 lines
212 B
YAML

apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: barbican-api
spec:
minAvailable: {{ .Values.pod_disruption_budget.api.min_available }}
selector:
matchLabels:
app: barbican-api