...
Text file
src/edge-infra.dev/test/fixtures/crds/gcp/storage.cnrm.cloud.google.com_storagebucketaccesscontrols.yaml
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: storagebucketaccesscontrols.storage.cnrm.cloud.google.com
8spec:
9 group: storage.cnrm.cloud.google.com
10 names:
11 kind: StorageBucketAccessControl
12 listKind: StorageBucketAccessControlList
13 plural: storagebucketaccesscontrols
14 singular: storagebucketaccesscontrol
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: StorageBucketAccessControl 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 description: Reference to the bucket.
43 properties:
44 external:
45 description: The external name of the referenced resource
46 type: string
47 kind:
48 description: Kind of the referent.
49 type: string
50 name:
51 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
52 type: string
53 namespace:
54 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
55 type: string
56 type: object
57 entity:
58 description: |-
59 Immutable. The entity holding the permission, in one of the following forms:
60 user-userId
61 user-email
62 group-groupId
63 group-email
64 domain-domain
65 project-team-projectId
66 allUsers
67 allAuthenticatedUsers
68 Examples:
69 The user liz@example.com would be user-liz@example.com.
70 The group example@googlegroups.com would be
71 group-example@googlegroups.com.
72 To refer to all members of the Google Apps for Business domain
73 example.com, the entity would be domain-example.com.
74 type: string
75 role:
76 description: 'The access permission for the entity. Possible values:
77 ["OWNER", "READER", "WRITER"].'
78 type: string
79 required:
80 - bucketRef
81 - entity
82 type: object
83 status:
84 properties:
85 conditions:
86 description: |-
87 Conditions represent the latest available observations of the
88 StorageBucketAccessControl's current state.
89 items:
90 properties:
91 lastTransitionTime:
92 description: Last time the condition transitioned from one status
93 to another.
94 type: string
95 message:
96 description: Human-readable message indicating details about
97 last transition.
98 type: string
99 reason:
100 description: |-
101 Unique, one-word, CamelCase reason for the condition's last
102 transition.
103 type: string
104 status:
105 description: Status is the status of the condition. Can be True,
106 False, Unknown.
107 type: string
108 type:
109 description: Type is the type of the condition.
110 type: string
111 type: object
112 type: array
113 domain:
114 description: The domain associated with the entity.
115 type: string
116 email:
117 description: The email address associated with the entity.
118 type: string
119 observedGeneration:
120 description: ObservedGeneration is the generation of the resource
121 that was most recently observed by the Config Connector controller.
122 If this is equal to metadata.generation, then that means that the
123 current reported status reflects the most recent desired state of
124 the resource.
125 type: integer
126 type: object
127 type: object
128 served: true
129 storage: true
View as plain text