-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path00-crds.yml
43 lines (43 loc) · 1.04 KB
/
00-crds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: rbacsyncconfigs.rbacsync.getcruise.com
spec:
group: rbacsync.getcruise.com
names:
kind: RBACSyncConfig
plural: rbacsyncconfigs
singular: rbacsyncconfig
shortNames:
- rsc
scope: Namespaced
versions:
- name: v1alpha
served: true
storage: true
schema:
openAPIV3Schema:
type: object
# TODO(sday): Create open API spec that validates all configs are RoleBindings
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clusterrbacsyncconfigs.rbacsync.getcruise.com
spec:
group: rbacsync.getcruise.com
names:
kind: ClusterRBACSyncConfig
plural: clusterrbacsyncconfigs
singular: clusterrbacsyncconfig
shortNames:
- crsc
scope: Cluster
versions:
- name: v1alpha
served: true
storage: true
schema:
openAPIV3Schema:
type: object
# TODO(sday): Create open API spec that validates all configs are ClusterRoleBindings