Created
July 20, 2017 08:25
-
-
Save maleck13/34b558e4f6dea254da32af4711fc6cec to your computer and use it in GitHub Desktop.
roles for custom api
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: List | |
| items: | |
| - apiVersion: v1 | |
| kind: ClusterRole | |
| metadata: | |
| name: mobile-api-caller | |
| rules: | |
| - apiGroups: | |
| - mobile.k8s.io | |
| resources: | |
| - mobileapps | |
| verbs: | |
| - create | |
| - get | |
| - update | |
| - delete | |
| - list | |
| - kind: ClusterRoleBinding | |
| apiVersion: v1 | |
| metadata: | |
| name: mobile-api-caller-binding | |
| roleRef: | |
| name: mobile-api-caller | |
| groupNames: | |
| - system:authenticated | |
| - system:anonymous | |
| subjects: | |
| - kind: SystemGroup | |
| name: system:authenticated | |
| - kind: SystemGroup | |
| name: system:anonymous |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment