Skip to content
Snippets Groups Projects
pdlc-dp-role-binding.yaml 508 B
Newer Older
# Author: Panagiotis Karamolegkos (UPRC)

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding # RoleBinding
metadata:
  namespace: he-codeco-pdlc  # The desired namespace for the CRD
  name: crd-resource-lister-binding
subjects:
- kind: ServiceAccount
  name: default  # Adjust to the correct service account name if different
  namespace: he-codeco-pdlc  # The desired namespace for the CRD
roleRef:
  kind: ClusterRole # Role
  name: crd-resource-lister
  apiGroup: rbac.authorization.k8s.io