...
Text file
src/edge-infra.dev/test/fixtures/crds/gcp/secretmanager.cnrm.cloud.google.com_secretmanagersecrets.yaml
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: secretmanagersecrets.secretmanager.cnrm.cloud.google.com
8spec:
9 group: secretmanager.cnrm.cloud.google.com
10 names:
11 kind: SecretManagerSecret
12 listKind: SecretManagerSecretList
13 plural: secretmanagersecrets
14 singular: secretmanagersecret
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: SecretManagerSecret is the Schema for the secretmanager 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 expireTime:
42 description: |-
43 Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
44 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
45 type: string
46 replication:
47 description: |-
48 Immutable. The replication policy of the secret data attached to the Secret. It cannot be changed
49 after the Secret has been created.
50 properties:
51 automatic:
52 description: Immutable. The Secret will automatically be replicated
53 without any restrictions.
54 type: boolean
55 userManaged:
56 description: Immutable. The Secret will automatically be replicated
57 without any restrictions.
58 properties:
59 replicas:
60 description: Immutable. The list of Replicas for this Secret.
61 Cannot be empty.
62 items:
63 properties:
64 customerManagedEncryption:
65 description: Immutable. Customer Managed Encryption
66 for the secret.
67 properties:
68 kmsKeyRef:
69 description: Customer Managed Encryption for the
70 secret.
71 properties:
72 external:
73 description: The external name of the referenced
74 resource
75 type: string
76 kind:
77 description: Kind of the referent.
78 type: string
79 name:
80 description: 'Name of the referent. More info:
81 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
82 type: string
83 namespace:
84 description: 'Namespace of the referent. More
85 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
86 type: string
87 type: object
88 required:
89 - kmsKeyRef
90 type: object
91 location:
92 description: 'Immutable. The canonical IDs of the location
93 to replicate data. For example: "us-east1".'
94 type: string
95 required:
96 - location
97 type: object
98 type: array
99 required:
100 - replicas
101 type: object
102 type: object
103 resourceID:
104 description: Immutable. Optional. The secretId of the resource. Used
105 for creation and acquisition. When unset, the value of `metadata.name`
106 is used as the default.
107 type: string
108 rotation:
109 description: The rotation time and period for a Secret. At 'next_rotation_time',
110 Secret Manager will send a Pub/Sub notification to the topics configured
111 on the Secret. 'topics' must be set to configure rotation.
112 properties:
113 nextRotationTime:
114 description: |-
115 Timestamp in UTC at which the Secret is scheduled to rotate.
116 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
117 type: string
118 rotationPeriod:
119 description: |-
120 Immutable. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).
121 If rotationPeriod is set, 'next_rotation_time' must be set. 'next_rotation_time' will be advanced by this period when the service automatically sends rotation notifications.
122 type: string
123 type: object
124 topics:
125 description: A list of up to 10 Pub/Sub topics to which messages are
126 published when control plane operations are called on the secret
127 or its versions.
128 items:
129 properties:
130 topicRef:
131 description: |-
132 A list of up to 10 Pub/Sub topics to which messages are
133 published when control plane operations are called on the secret
134 or its versions.
135 properties:
136 external:
137 description: The external name of the referenced resource
138 type: string
139 kind:
140 description: Kind of the referent.
141 type: string
142 name:
143 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
144 type: string
145 namespace:
146 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
147 type: string
148 type: object
149 required:
150 - topicRef
151 type: object
152 type: array
153 ttl:
154 description: |-
155 Immutable. The TTL for the Secret.
156 A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
157 type: string
158 required:
159 - replication
160 type: object
161 status:
162 properties:
163 conditions:
164 description: |-
165 Conditions represent the latest available observations of the
166 SecretManagerSecret's current state.
167 items:
168 properties:
169 lastTransitionTime:
170 description: Last time the condition transitioned from one status
171 to another.
172 type: string
173 message:
174 description: Human-readable message indicating details about
175 last transition.
176 type: string
177 reason:
178 description: |-
179 Unique, one-word, CamelCase reason for the condition's last
180 transition.
181 type: string
182 status:
183 description: Status is the status of the condition. Can be True,
184 False, Unknown.
185 type: string
186 type:
187 description: Type is the type of the condition.
188 type: string
189 type: object
190 type: array
191 createTime:
192 description: The time at which the Secret was created.
193 type: string
194 name:
195 description: |-
196 The resource name of the Secret. Format:
197 'projects/{{project}}/secrets/{{secret_id}}'.
198 type: string
199 observedGeneration:
200 description: ObservedGeneration is the generation of the resource
201 that was most recently observed by the Config Connector controller.
202 If this is equal to metadata.generation, then that means that the
203 current reported status reflects the most recent desired state of
204 the resource.
205 type: integer
206 type: object
207 type: object
208 served: true
209 storage: true
View as plain text