apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: developer-access
  namespace: team1
rules:
  - apiGroups:
    - "" # "" indicates the core API group
    resources:
    - namespaces
    verbs: ["get"]
  - apiGroups:
    - ""
    resources:
    - events
    - pods
    - pods/log
    - services
    - secrets
    - configmaps
    - persistentvolumeclaims
    verbs: ["*"]
  - apiGroups:
    - apps
    - autoscaling
    - batch
    - networking.k8s.io
    - policy
    resources: ["*"]
    verbs: ["*"]
