apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: cluster-admin-oidc
  namespace: headlamp
  labels:
    app.kubernetes.io/name: cluster-admin-oidc
    app.kubernetes.io/instance: headlamp
    app.kubernetes.io/part-of: headlamp
roleRef:
  kind: ClusterRole
  name: cluster-admin
  apiGroup: rbac.authorization.k8s.io
subjects:
  - kind: User
    name: https://authentik.alexlebens.net/application/o/headlamp/#alexanderlebens@gmail.com
    apiGroup: rbac.authorization.k8s.io
  - kind: ServiceAccount
    name: headlamp-admin
    namespace: headlamp
