seaweedfs / seaweedfs-operator

seaweedfs kubernetes operator
Apache License 2.0
174 stars 42 forks source link

helm: add permission for leases to leader election role #89

Closed alexminder closed 1 year ago

alexminder commented 1 year ago

Fixes error: E0517 17:50:21.216754 1 leaderelection.go:330] error retrieving resource lock seaweedfs/674006ec.seaweedfs.com: leases.coordination.k8s.io "674006ec.seaweedfs.com" is forbidden: User "system:serviceaccount:seaweedfs:default" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "seaweedfs"

Same as https://github.com/seaweedfs/seaweedfs-operator/pull/68 but for helm template