...
Text file
src/edge-infra.dev/test/fixtures/crds/gcp/storage.cnrm.cloud.google.com_storagedefaultobjectaccesscontrols.yaml
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: storagedefaultobjectaccesscontrols.storage.cnrm.cloud.google.com
8spec:
9 group: storage.cnrm.cloud.google.com
10 names:
11 kind: StorageDefaultObjectAccessControl
12 listKind: StorageDefaultObjectAccessControlList
13 plural: storagedefaultobjectaccesscontrols
14 singular: storagedefaultobjectaccesscontrol
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: StorageDefaultObjectAccessControl is the Schema for the storage
21 API
22 properties:
23 apiVersion:
24 description: |-
25 APIVersion defines the versioned schema of this representation of an object.
26 Servers should convert recognized schemas to the latest internal value, and
27 may reject unrecognized values.
28 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
29 type: string
30 kind:
31 description: |-
32 Kind is a string value representing the REST resource this object represents.
33 Servers may infer this from the endpoint the client submits requests to.
34 Cannot be updated.
35 In CamelCase.
36 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
37 type: string
38 metadata:
39 type: object
40 spec:
41 properties:
42 bucketRef:
43 description: Reference to the bucket.
44 properties:
45 external:
46 description: The external name of the referenced resource
47 type: string
48 kind:
49 description: Kind of the referent.
50 type: string
51 name:
52 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
53 type: string
54 namespace:
55 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
56 type: string
57 type: object
58 entity:
59 description: |-
60 The entity holding the permission, in one of the following forms:
61 * user-{{userId}}
62 * user-{{email}} (such as "user-liz@example.com")
63 * group-{{groupId}}
64 * group-{{email}} (such as "group-example@googlegroups.com")
65 * domain-{{domain}} (such as "domain-example.com")
66 * project-team-{{projectId}}
67 * allUsers
68 * allAuthenticatedUsers.
69 type: string
70 object:
71 description: The name of the object, if applied to an object.
72 type: string
73 role:
74 description: 'The access permission for the entity. Possible values:
75 ["OWNER", "READER"].'
76 type: string
77 required:
78 - bucketRef
79 - entity
80 - role
81 type: object
82 status:
83 properties:
84 conditions:
85 description: |-
86 Conditions represent the latest available observations of the
87 StorageDefaultObjectAccessControl's current state.
88 items:
89 properties:
90 lastTransitionTime:
91 description: Last time the condition transitioned from one status
92 to another.
93 type: string
94 message:
95 description: Human-readable message indicating details about
96 last transition.
97 type: string
98 reason:
99 description: |-
100 Unique, one-word, CamelCase reason for the condition's last
101 transition.
102 type: string
103 status:
104 description: Status is the status of the condition. Can be True,
105 False, Unknown.
106 type: string
107 type:
108 description: Type is the type of the condition.
109 type: string
110 type: object
111 type: array
112 domain:
113 description: The domain associated with the entity.
114 type: string
115 email:
116 description: The email address associated with the entity.
117 type: string
118 entityId:
119 description: The ID for the entity.
120 type: string
121 generation:
122 description: The content generation of the object, if applied to an
123 object.
124 type: integer
125 observedGeneration:
126 description: ObservedGeneration is the generation of the resource
127 that was most recently observed by the Config Connector controller.
128 If this is equal to metadata.generation, then that means that the
129 current reported status reflects the most recent desired state of
130 the resource.
131 type: integer
132 projectTeam:
133 description: The project team associated with the entity.
134 properties:
135 projectNumber:
136 description: The project team associated with the entity.
137 type: string
138 team:
139 description: 'The team. Possible values: ["editors", "owners",
140 "viewers"].'
141 type: string
142 type: object
143 type: object
144 type: object
145 served: true
146 storage: true
View as plain text