---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role

metadata:
  name: postgres-passwd
  labels:
    app.kubernetes.io/name: postgres
    app.kubernetes.io/component: passwd

rules:
  - apiGroups:
      - ""
    resources:
      - "secrets"
    verbs:
      - "list"
      - "create"
      - "get"
      - "patch"

...
