diff --git a/magnum/templates/pdb-api.yaml b/magnum/templates/pdb-api.yaml new file mode 100644 index 0000000000..f2a6ef8d6d --- /dev/null +++ b/magnum/templates/pdb-api.yaml @@ -0,0 +1,9 @@ +apiVersion: policy/v1beta1 +kind: PodDisruptionBudget +metadata: + name: magnum-api +spec: + minAvailable: {{ .Values.pod_disruption_budget.api.min_available }} + selector: + matchLabels: + app: magnum-api \ No newline at end of file diff --git a/magnum/values.yaml b/magnum/values.yaml index 1fa8b85827..5ec6fcdde0 100644 --- a/magnum/values.yaml +++ b/magnum/values.yaml @@ -44,6 +44,10 @@ upgrades: max_unavailable: 1 max_surge: 3 +pod_disruption_budget: + api: + min_available: 1 + keystone_secrets: admin: "magnum-env-keystone-admin" user: "magnum-env-keystone-user"