You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update to ACK runtime v0.30.0, code-generator v0.30.0 (#28)
### Update to ACK runtime `v0.30.0`, code-generator `v0.30.0`
----------
* ACK code-generator `v0.30.0` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.30.0)
* ACK runtime `v0.30.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.30.0)
----------
NOTE:
This PR increments the release version of service controller from `v0.0.6` to `v0.0.7`
Once this PR is merged, release `v0.0.7` will be automatically created for `cloudfront-controller`
**Please close this PR, if you do not want the new patch release for `cloudfront-controller`**
----------
#### stdout for `make build-controller`:
```
building ack-generate ... ok.
==== building cloudfront-controller ====
Copying common custom resource definitions into cloudfront
Building Kubernetes API objects for cloudfront
Generating deepcopy code for cloudfront
Generating custom resource definitions for cloudfront
Building service controller for cloudfront
Generating RBAC manifests for cloudfront
Running gofmt against generated code for cloudfront
Updating additional GitHub repository maintenance files
==== building cloudfront-controller release artifacts ====
Building release artifacts for cloudfront-v0.0.7
Generating common custom resource definitions
Generating custom resource definitions for cloudfront
Generating RBAC manifests for cloudfront
```
----------
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
description: CachePolicy is the Schema for the CachePolicies API
22
21
properties:
23
22
apiVersion:
24
-
description: 'APIVersion defines the versioned schema of this representation
25
-
of an object. Servers should convert recognized schemas to the latest
26
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
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
27
28
type: string
28
29
kind:
29
-
description: 'Kind is a string value representing the REST resource this
30
-
object represents. Servers may infer this from the endpoint the client
31
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
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
32
36
type: string
33
37
metadata:
34
38
type: object
35
39
spec:
36
-
description: "CachePolicySpec defines the desired state of CachePolicy.
37
-
\n A cache policy. \n When it's attached to a cache behavior, the cache
38
-
policy determines the following: \n * The values that CloudFront includes
39
-
in the cache key. These values can include HTTP headers, cookies, and
40
-
URL query strings. CloudFront uses the cache key to find an object in
41
-
its cache that it can return to the viewer. \n * The default, minimum,
42
-
and maximum time to live (TTL) values that you want objects to stay
43
-
in the CloudFront cache. \n The headers, cookies, and query strings
44
-
that are included in the cache key are also included in requests that
45
-
CloudFront sends to the origin. CloudFront sends a request when it can't
46
-
find a valid object in its cache that matches the request's cache key.
47
-
If you want to send values to the origin but not include them in the
48
-
cache key, use OriginRequestPolicy."
40
+
description: |-
41
+
CachePolicySpec defines the desired state of CachePolicy.
42
+
43
+
44
+
A cache policy.
45
+
46
+
47
+
When it's attached to a cache behavior, the cache policy determines the following:
48
+
49
+
50
+
* The values that CloudFront includes in the cache key. These values can
51
+
include HTTP headers, cookies, and URL query strings. CloudFront uses
52
+
the cache key to find an object in its cache that it can return to the
53
+
viewer.
54
+
55
+
56
+
* The default, minimum, and maximum time to live (TTL) values that you
57
+
want objects to stay in the CloudFront cache.
58
+
59
+
60
+
The headers, cookies, and query strings that are included in the cache key
61
+
are also included in requests that CloudFront sends to the origin. CloudFront
62
+
sends a request when it can't find a valid object in its cache that matches
63
+
the request's cache key. If you want to send values to the origin but not
64
+
include them in the cache key, use OriginRequestPolicy.
49
65
properties:
50
66
cachePolicyConfig:
51
67
description: A cache policy configuration.
@@ -64,22 +80,24 @@ spec:
64
80
name:
65
81
type: string
66
82
parametersInCacheKeyAndForwardedToOrigin:
67
-
description: "This object determines the values that CloudFront
68
-
includes in the cache key. These values can include HTTP headers,
69
-
cookies, and URL query strings. CloudFront uses the cache key
70
-
to find an object in its cache that it can return to the viewer.
71
-
\n The headers, cookies, and query strings that are included
72
-
in the cache key are also included in requests that CloudFront
73
-
sends to the origin. CloudFront sends a request when it can't
74
-
find an object in its cache that matches the request's cache
75
-
key. If you want to send values to the origin but not include
76
-
them in the cache key, use OriginRequestPolicy."
83
+
description: |-
84
+
This object determines the values that CloudFront includes in the cache key.
85
+
These values can include HTTP headers, cookies, and URL query strings. CloudFront
86
+
uses the cache key to find an object in its cache that it can return to the
87
+
viewer.
88
+
89
+
90
+
The headers, cookies, and query strings that are included in the cache key
91
+
are also included in requests that CloudFront sends to the origin. CloudFront
92
+
sends a request when it can't find an object in its cache that matches the
93
+
request's cache key. If you want to send values to the origin but not include
94
+
them in the cache key, use OriginRequestPolicy.
77
95
properties:
78
96
cookiesConfig:
79
-
description: An object that determines whether any cookies
80
-
in viewer requests (and if so, which cookies) are included
81
-
in the cache key and in requests that CloudFront sends to
82
-
the origin.
97
+
description: |-
98
+
An object that determines whether any cookies in viewer requests (and if
99
+
so, which cookies) are included in the cache key and in requests that CloudFront
100
+
sends to the origin.
83
101
properties:
84
102
cookieBehavior:
85
103
type: string
@@ -97,9 +115,10 @@ spec:
97
115
enableAcceptEncodingGzip:
98
116
type: boolean
99
117
headersConfig:
100
-
description: An object that determines whether any HTTP headers
101
-
(and if so, which headers) are included in the cache key
102
-
and in requests that CloudFront sends to the origin.
118
+
description: |-
119
+
An object that determines whether any HTTP headers (and if so, which headers)
120
+
are included in the cache key and in requests that CloudFront sends to the
121
+
origin.
103
122
properties:
104
123
headerBehavior:
105
124
type: string
@@ -113,10 +132,10 @@ spec:
113
132
type: object
114
133
type: object
115
134
queryStringsConfig:
116
-
description: An object that determines whether any URL query
117
-
strings in viewer requests (and if so, which query strings)
118
-
are included in the cache key and in requests that CloudFront
119
-
sends to the origin.
135
+
description: |-
136
+
An object that determines whether any URL query strings in viewer requests
137
+
(and if so, which query strings) are included in the cache key and in requests
138
+
that CloudFront sends to the origin.
120
139
properties:
121
140
queryStringBehavior:
122
141
type: string
@@ -138,24 +157,26 @@ spec:
138
157
description: CachePolicyStatus defines the observed state of CachePolicy
139
158
properties:
140
159
ackResourceMetadata:
141
-
description: All CRs managed by ACK have a common `Status.ACKResourceMetadata`
142
-
member that is used to contain resource sync state, account ownership,
160
+
description: |-
161
+
All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
162
+
that is used to contain resource sync state, account ownership,
143
163
constructed ARN for the resource
144
164
properties:
145
165
arn:
146
-
description: 'ARN is the Amazon Resource Name for the resource.
147
-
This is a globally-unique identifier and is set only by the
148
-
ACK service controller once the controller has orchestrated
149
-
the creation of the resource OR when it has verified that an
150
-
"adopted" resource (a resource where the ARN annotation was
151
-
set by the Kubernetes user on the CR) exists and matches the
152
-
supplied CR''s Spec field values. TODO(vijat@): Find a better
153
-
strategy for resources that do not have ARN in CreateOutputResponse
0 commit comments