Created
May 26, 2019 14:00
-
-
Save shawnho1018/c8d4ee6c61b3be29216b941c1db177e2 to your computer and use it in GitHub Desktop.
This is to provide namespace privilege to a user.
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
kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
namespace: default | |
name: namespace-admin | |
rules: | |
- apiGroups: ["*"] # 空字符串""表明使用core API group | |
resources: ["*"] | |
verbs: ["*"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment