Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(helm-charts): remove tolerance for all taint (#17077)

liyang851f3db6f20d
diff --git a/helm-charts/bytebase/templates/statefulset.yaml b/helm-charts/bytebase/templates/statefulset.yaml
index 71e61a9da6..640a762b8b 100644
--- a/helm-charts/bytebase/templates/statefulset.yaml
+++ b/helm-charts/bytebase/templates/statefulset.yaml
@@ -221,10 +221,9 @@ spec:
{{- if .Values.bytebase.affinity }}
{{ toYaml .Values.bytebase.affinity | nindent 8 }}
{{- end }}
- tolerations:
- {{- if .Values.bytebase.tolerations }}
- {{ toYaml .Values.bytebase.tolerations | nindent 8 }}
- {{- end }}
+ {{- if .Values.bytebase.tolerations }}
+ tolerations: {{ toYaml .Values.bytebase.tolerations | nindent 8 }}
+ {{- end }}
---
{{- if and $persistenceEnable (not $persistenceExistingClaim) }}
apiVersion: v1
diff --git a/helm-charts/bytebase/values.yaml b/helm-charts/bytebase/values.yaml
index 600b9d1667..80bb51e274 100644
--- a/helm-charts/bytebase/values.yaml
+++ b/helm-charts/bytebase/values.yaml
@@ -76,7 +76,10 @@ bytebase:
# values:
# - value
+ # If specified, the pod's tolerations.
# ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
- # An empty key with operator Exists matches all keys, values and effects which means this will tolerate everything.
- tolerations:
- - operator: "Exists"
+ tolerations: []
+ # - key: "key"
+ # operator: "Equal"
+ # value: "value"
+ # effect: "NoSchedule"