...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: storagenotifications.storage.cnrm.cloud.google.com
8spec:
9 group: storage.cnrm.cloud.google.com
10 names:
11 kind: StorageNotification
12 listKind: StorageNotificationList
13 plural: storagenotifications
14 singular: storagenotification
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: StorageNotification is the Schema for the storage API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 bucketRef:
42 properties:
43 external:
44 description: The external name of the referenced resource
45 type: string
46 kind:
47 description: Kind of the referent.
48 type: string
49 name:
50 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
51 type: string
52 namespace:
53 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
54 type: string
55 type: object
56 customAttributes:
57 additionalProperties:
58 type: string
59 description: Immutable. A set of key/value attribute pairs to attach
60 to each Cloud Pub/Sub message published for this notification subscription.
61 type: object
62 eventTypes:
63 description: 'Immutable. List of event type filters for this notification
64 config. If not specified, Cloud Storage will send notifications
65 for all event types. The valid types are: "OBJECT_FINALIZE", "OBJECT_METADATA_UPDATE",
66 "OBJECT_DELETE", "OBJECT_ARCHIVE".'
67 items:
68 type: string
69 type: array
70 objectNamePrefix:
71 description: Immutable. Specifies a prefix path filter for this notification
72 config. Cloud Storage will only send notifications for objects in
73 this bucket whose names begin with the specified prefix.
74 type: string
75 payloadFormat:
76 description: Immutable. The desired content of the Payload. One of
77 "JSON_API_V1" or "NONE".
78 type: string
79 resourceID:
80 description: Immutable. Optional. The service-generated notificationId
81 of the resource. Used for acquisition only. Leave unset to create
82 a new resource.
83 type: string
84 topicRef:
85 properties:
86 external:
87 description: The external name of the referenced resource
88 type: string
89 kind:
90 description: Kind of the referent.
91 type: string
92 name:
93 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
94 type: string
95 namespace:
96 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
97 type: string
98 type: object
99 required:
100 - bucketRef
101 - payloadFormat
102 - topicRef
103 type: object
104 status:
105 properties:
106 conditions:
107 description: |-
108 Conditions represent the latest available observations of the
109 StorageNotification's current state.
110 items:
111 properties:
112 lastTransitionTime:
113 description: Last time the condition transitioned from one status
114 to another.
115 type: string
116 message:
117 description: Human-readable message indicating details about
118 last transition.
119 type: string
120 reason:
121 description: |-
122 Unique, one-word, CamelCase reason for the condition's last
123 transition.
124 type: string
125 status:
126 description: Status is the status of the condition. Can be True,
127 False, Unknown.
128 type: string
129 type:
130 description: Type is the type of the condition.
131 type: string
132 type: object
133 type: array
134 notificationId:
135 description: The ID of the created notification.
136 type: string
137 observedGeneration:
138 description: ObservedGeneration is the generation of the resource
139 that was most recently observed by the Config Connector controller.
140 If this is equal to metadata.generation, then that means that the
141 current reported status reflects the most recent desired state of
142 the resource.
143 type: integer
144 selfLink:
145 description: The URI of the created resource.
146 type: string
147 type: object
148 type: object
149 served: true
150 storage: true
View as plain text