Last active
July 12, 2023 10:26
-
-
Save leoluz/6d4346796dd29c7bc5104e59d3bcfa66 to your computer and use it in GitHub Desktop.
enable/disable RBAC in docker-for-desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- enable RBAC in docker-for-desktop | |
k delete clusterrolebinding docker-for-desktop-binding | |
-- disable RBAC in docker-for-desktop | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: docker-for-desktop-binding | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: cluster-admin | |
subjects: | |
- apiGroup: rbac.authorization.k8s.io | |
kind: Group | |
name: system:serviceaccounts | |
namespace: kube-system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment