Created
June 9, 2017 19:10
-
-
Save lazypower/e4e3afe9b0b470736ecf13d8009ab5ef to your computer and use it in GitHub Desktop.
This file contains hidden or 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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: development | |
--- | |
kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
namespace: development | |
name: developers | |
rules: | |
- apiGroups: [""] | |
resources: ["pods", "replicaset", "replicationcontroller", "deployment", "configmap", "secrets"] | |
verbs: ["update", "get", "list", "watch", "create", "patch", "delete"] | |
--- | |
kind: RoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: developers | |
namespace: development | |
subjects: | |
- kind: Group | |
name: developers | |
apiGroup: rbac.authorization.k8s.io | |
roleRef: | |
kind: Role | |
name: developers | |
apiGroup: rbac.authorization.k8s.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment