You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to see?
Since it is not explicitly stated that it is not possible to run tidb-operator without any cluster permissions I expected it to work.
Bug Report
What version of Kubernetes are you using?
Client Version: v1.25.8
Kustomize Version: v4.5.7
Server Version: v1.25.6
What version of TiDB Operator are you using?
v1.4.4
What did you do?
Configure tidb-operator helm chart with the following values:
What did you expect to see?
Since it is not explicitly stated that it is not possible to run tidb-operator without any cluster permissions I expected it to work.
tidb-operator/charts/tidb-operator/values.yaml
Lines 53 to 58 in 772eb86
What did you see instead?
The culprit is that the StorageClassLister:
tidb-operator/pkg/controller/dependences.go
Line 369 in 772eb86
is accessed but it is nil because it was never initialized:
tidb-operator/pkg/controller/dependences.go
Lines 327 to 331 in 772eb86
The text was updated successfully, but these errors were encountered: