apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: ops-service-hpa-access
rules:
  - apiGroups: ["autoscaling"]
    resources: ["horizontalpodautoscalers"]
    verbs: ["get", "list", "watch", "update"]
  - apiGroups: ["gateway.serverless.pingcap.com"]
    resources: ["gateways"]
    verbs: ["get", "list", "watch", "update"]
