kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: db2u-role
rules:
- apiGroups: [""]
  resources: ["pods", "pods/log", "pods/exec"]
  verbs: ["get", "list", "patch", "watch", "update", "create"]

- apiGroups: [""]
  resources: ["services"]
  verbs: ["get", "list"]

- apiGroups: ["batch", "extensions", "apps"]
  resources: ["jobs", "deployments"]
  verbs: ["get", "list", "watch", "patch"]
