Skip to content

Instantly share code, notes, and snippets.

@infamousjoeg
Created April 24, 2024 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infamousjoeg/efa73b5699affac0c93829cd0dba0ea0 to your computer and use it in GitHub Desktop.
Save infamousjoeg/efa73b5699affac0c93829cd0dba0ea0 to your computer and use it in GitHub Desktop.
ClusterRoleBinding admin to ClusterRole system:service-account-issuer-discovery
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: admin-service-account-issuer-discovery
subjects:
- kind: User
name: admin@example.com # Replace this with your actual admin username
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: system:service-account-issuer-discovery
apiGroup: rbac.authorization.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment