VictoriaMetrics / operator

Kubernetes operator for Victoria Metrics
Apache License 2.0
436 stars 146 forks source link

Duplicate api groups in cluster role? #1167

Open uhthomas opened 2 days ago

uhthomas commented 2 days ago

Is there any reason for this?

https://github.com/VictoriaMetrics/operator/blob/b3e19a2c7d9eece919839bbb8698bcf0f9703d4b/config/rbac/role.yaml#L305-L309

f41gh7 commented 2 days ago

I don't think that there is any reason for that. This file should be generate by some operator-sdk command based on needed permissions on reconcile controllers. Need to fix that.

Btw, extensions seems to be deprecated k8s API.

uhthomas commented 2 days ago

That's a good point, the extensions API group should be removed too.