apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  labels:
    helm.sh/chart: plugin-barman-cloud-0.3.1
    app.kubernetes.io/name: plugin-barman-cloud
    app.kubernetes.io/instance: cloudnative-pg
    app.kubernetes.io/version: "v0.9.0"
    app.kubernetes.io/managed-by: Helm
  name: cloudnative-pg-plugin-barman-cloud-leader-election-rolebinding
  namespace: cloudnative-pg
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: cloudnative-pg-plugin-barman-cloud-leader-election-role
subjects:
  - kind: ServiceAccount
    name: cloudnative-pg-plugin-barman-cloud
    namespace: cloudnative-pg
