...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computebackendbuckets.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeBackendBucket
12 listKind: ComputeBackendBucketList
13 plural: computebackendbuckets
14 singular: computebackendbucket
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeBackendBucket is the Schema for the compute 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 cdnPolicy:
58 description: Cloud CDN configuration for this Backend Bucket.
59 properties:
60 bypassCacheOnRequestHeaders:
61 description: Bypass the cache when the specified request headers
62 are matched - e.g. Pragma or Authorization headers. Up to 5
63 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode
64 settings.
65 items:
66 properties:
67 headerName:
68 description: The header field name to match on when bypassing
69 cache. Values are case-insensitive.
70 type: string
71 type: object
72 type: array
73 cacheKeyPolicy:
74 description: The CacheKeyPolicy for this CdnPolicy.
75 properties:
76 includeHttpHeaders:
77 description: |-
78 Allows HTTP request headers (by name) to be used in the
79 cache key.
80 items:
81 type: string
82 type: array
83 queryStringWhitelist:
84 description: |-
85 Names of query string parameters to include in cache keys.
86 Default parameters are always included. '&' and '=' will
87 be percent encoded and not treated as delimiters.
88 items:
89 type: string
90 type: array
91 type: object
92 cacheMode:
93 description: |-
94 Specifies the cache setting for all responses from this backend.
95 The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC Possible values: ["USE_ORIGIN_HEADERS", "FORCE_CACHE_ALL", "CACHE_ALL_STATIC"].
96 type: string
97 clientTtl:
98 description: Specifies the maximum allowed TTL for cached content
99 served by this origin.
100 type: integer
101 defaultTtl:
102 description: |-
103 Specifies the default TTL for cached content served by this origin for responses
104 that do not have an existing valid TTL (max-age or s-max-age).
105 type: integer
106 maxTtl:
107 description: Specifies the maximum allowed TTL for cached content
108 served by this origin.
109 type: integer
110 negativeCaching:
111 description: Negative caching allows per-status code TTLs to be
112 set, in order to apply fine-grained caching for common errors
113 or redirects.
114 type: boolean
115 negativeCachingPolicy:
116 description: |-
117 Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy.
118 Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs.
119 items:
120 properties:
121 code:
122 description: |-
123 The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501
124 can be specified as values, and you cannot specify a status code more than once.
125 type: integer
126 ttl:
127 description: |-
128 The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s
129 (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
130 type: integer
131 type: object
132 type: array
133 requestCoalescing:
134 description: If true then Cloud CDN will combine multiple concurrent
135 cache fill requests into a small number of requests to the origin.
136 type: boolean
137 serveWhileStale:
138 description: Serve existing content from the cache (if available)
139 when revalidating content with the origin, or when an error
140 is encountered when refreshing the cache.
141 type: integer
142 signedUrlCacheMaxAgeSec:
143 description: |-
144 Maximum number of seconds the response to a signed URL request will
145 be considered fresh. After this time period,
146 the response will be revalidated before being served.
147 When serving responses to signed URL requests,
148 Cloud CDN will internally behave as though
149 all responses from this backend had a "Cache-Control: public,
150 max-age=[TTL]" header, regardless of any existing Cache-Control
151 header. The actual headers served in responses will not be altered.
152 type: integer
153 type: object
154 compressionMode:
155 description: 'Compress text responses using Brotli or gzip compression,
156 based on the client''s Accept-Encoding header. Possible values:
157 ["AUTOMATIC", "DISABLED"].'
158 type: string
159 customResponseHeaders:
160 description: Headers that the HTTP/S load balancer should add to proxied
161 responses.
162 items:
163 type: string
164 type: array
165 description:
166 description: |-
167 An optional textual description of the resource; provided by the
168 client when the resource is created.
169 type: string
170 edgeSecurityPolicy:
171 description: The security policy associated with this backend bucket.
172 type: string
173 enableCdn:
174 description: If true, enable Cloud CDN for this BackendBucket.
175 type: boolean
176 resourceID:
177 description: Immutable. Optional. The name of the resource. Used for
178 creation and acquisition. When unset, the value of `metadata.name`
179 is used as the default.
180 type: string
181 required:
182 - bucketRef
183 type: object
184 status:
185 properties:
186 conditions:
187 description: |-
188 Conditions represent the latest available observations of the
189 ComputeBackendBucket's current state.
190 items:
191 properties:
192 lastTransitionTime:
193 description: Last time the condition transitioned from one status
194 to another.
195 type: string
196 message:
197 description: Human-readable message indicating details about
198 last transition.
199 type: string
200 reason:
201 description: |-
202 Unique, one-word, CamelCase reason for the condition's last
203 transition.
204 type: string
205 status:
206 description: Status is the status of the condition. Can be True,
207 False, Unknown.
208 type: string
209 type:
210 description: Type is the type of the condition.
211 type: string
212 type: object
213 type: array
214 creationTimestamp:
215 description: Creation timestamp in RFC3339 text format.
216 type: string
217 observedGeneration:
218 description: ObservedGeneration is the generation of the resource
219 that was most recently observed by the Config Connector controller.
220 If this is equal to metadata.generation, then that means that the
221 current reported status reflects the most recent desired state of
222 the resource.
223 type: integer
224 selfLink:
225 type: string
226 type: object
227 type: object
228 served: true
229 storage: true
View as plain text