-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcrds.yaml
47 lines (47 loc) · 1.14 KB
/
crds.yaml
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
44
45
46
47
# A demo CRD for the Kopf example operators.
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: awsauthmappings.tier.app
spec:
scope: Cluster
group: tier.app
versions:
- name: v1
served: true
storage: true
names:
kind: AwsAuthMapping
plural: awsauthmappings
singular: awsauthmapping
shortNames:
- awsmapping
- awsm
validation:
openAPIV3Schema:
type: object
properties:
spec:
properties:
mappings:
type: array
items:
type: object
properties:
arn:
type: string
username:
type: string
usertype:
type: string
enum: [Role, User]
groups:
type: array
items:
type: string
additionalPrinterColumns:
- name: Message
type: string
priority: 0
JSONPath: .status.create_fn.message
description: As returned from the handler (sometimes).