Skip to content

Commit 3a0b858

Browse files
committed
Add support for podDisruptionBudgets
1 parent dea10ac commit 3a0b858

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{- $podDisruptionBudgets := (index .Values "podDisruptionBudgets") }}
2+
{{- range .Values.podDisruptionBudgets }}
3+
{{ toYaml . }}
4+
---
5+
{{- end -}}

weaviate/values.yaml

+27-4
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,12 @@ authentication:
255255
authorization:
256256
rbac:
257257
enabled: false
258-
# admins:
258+
# root_users:
259259
# - admin_user1
260260
# - admin_user2
261-
# viewers:
262-
# - viewer_user1
263-
# - readonly_user1
261+
# root_groups:
262+
# - /root_group1
263+
# - /root_group2
264264
admin_list:
265265
enabled: false
266266
# users:
@@ -2046,3 +2046,26 @@ affinity:
20462046
##
20472047
priorityClassName: ""
20482048
globalPriorityClassName: ""
2049+
2050+
# Optionally define a list of pod disruption budgets.
2051+
# Below are commented examples on how to configure this option.
2052+
# ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
2053+
podDisruptionBudgets:
2054+
# - apiVersion: policy/v1
2055+
# kind: PodDisruptionBudget
2056+
# metadata:
2057+
# name: weaviate
2058+
# spec:
2059+
# minAvailable: 1
2060+
# selector:
2061+
# matchLabels:
2062+
# app: weaviate
2063+
# - apiVersion: policy/v1
2064+
# kind: PodDisruptionBudget
2065+
# metadata:
2066+
# name: transformers-inference
2067+
# spec:
2068+
# minAvailable: 1
2069+
# selector:
2070+
# matchLabels:
2071+
# app: transformers-inference

0 commit comments

Comments
 (0)