Skip to content

Commit 295a3b9

Browse files
authored
Update to ACK runtime v0.30.0, code-generator v0.30.0 (#48)
### 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 `v1.0.7` to `v1.0.8` Once this PR is merged, release `v1.0.8` will be automatically created for `sns-controller` **Please close this PR, if you do not want the new patch release for `sns-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building sns-controller ==== Copying common custom resource definitions into sns Building Kubernetes API objects for sns Generating deepcopy code for sns Generating custom resource definitions for sns Building service controller for sns Generating RBAC manifests for sns Running gofmt against generated code for sns Updating additional GitHub repository maintenance files ==== building sns-controller release artifacts ==== Building release artifacts for sns-v1.0.8 Generating common custom resource definitions Generating custom resource definitions for sns Generating RBAC manifests for sns ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent bcecef4 commit 295a3b9

28 files changed

+1070
-787
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2024-01-29T07:05:33Z"
3-
build_hash: 92f531cde5631865cfc3dfa778cbc9611f3a64c3
4-
go_version: go1.21.5
5-
version: v0.29.2
2+
build_date: "2024-02-14T04:00:05Z"
3+
build_hash: 947081ffebdeefcf2c61c4ca6d7e68810bdf9d08
4+
go_version: go1.22.0
5+
version: v0.30.0
66
api_directory_checksum: 7c43c51981644a8d71e17546dc282a16d5363364
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.49.0

apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: public.ecr.aws/aws-controllers-k8s/sns-controller
9-
newTag: 1.0.7
9+
newTag: 1.0.8

config/crd/bases/sns.services.k8s.aws_platformapplications.yaml

Lines changed: 79 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.14.0
87
name: platformapplications.sns.services.k8s.aws
98
spec:
109
group: sns.services.k8s.aws
@@ -22,33 +21,43 @@ spec:
2221
API
2322
properties:
2423
apiVersion:
25-
description: 'APIVersion defines the versioned schema of this representation
26-
of an object. Servers should convert recognized schemas to the latest
27-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
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
2829
type: string
2930
kind:
30-
description: 'Kind is a string value representing the REST resource this
31-
object represents. Servers may infer this from the endpoint the client
32-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
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
3337
type: string
3438
metadata:
3539
type: object
3640
spec:
37-
description: "PlatformApplicationSpec defines the desired state of PlatformApplication.
38-
\n Platform application object."
41+
description: |-
42+
PlatformApplicationSpec defines the desired state of PlatformApplication.
43+
44+
45+
Platform application object.
3946
properties:
4047
eventDeliveryFailure:
4148
type: string
4249
eventEndpointCreated:
4350
type: string
4451
eventEndpointCreatedRef:
4552
description: "AWSResourceReferenceWrapper provides a wrapper around
46-
*AWSResourceReference type to provide more user friendly syntax
47-
for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
53+
*AWSResourceReference\ntype to provide more user friendly syntax
54+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
55+
\ name: my-api"
4856
properties:
4957
from:
50-
description: AWSResourceReference provides all the values necessary
51-
to reference another k8s resource for finding the identifier(Id/ARN/Name)
58+
description: |-
59+
AWSResourceReference provides all the values necessary to reference another
60+
k8s resource for finding the identifier(Id/ARN/Name)
5261
properties:
5362
name:
5463
type: string
@@ -58,12 +67,14 @@ spec:
5867
type: string
5968
eventEndpointDeletedRef:
6069
description: "AWSResourceReferenceWrapper provides a wrapper around
61-
*AWSResourceReference type to provide more user friendly syntax
62-
for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
70+
*AWSResourceReference\ntype to provide more user friendly syntax
71+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
72+
\ name: my-api"
6373
properties:
6474
from:
65-
description: AWSResourceReference provides all the values necessary
66-
to reference another k8s resource for finding the identifier(Id/ARN/Name)
75+
description: |-
76+
AWSResourceReference provides all the values necessary to reference another
77+
k8s resource for finding the identifier(Id/ARN/Name)
6778
properties:
6879
name:
6980
type: string
@@ -73,12 +84,14 @@ spec:
7384
type: string
7485
eventEndpointUpdatedRef:
7586
description: "AWSResourceReferenceWrapper provides a wrapper around
76-
*AWSResourceReference type to provide more user friendly syntax
77-
for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
87+
*AWSResourceReference\ntype to provide more user friendly syntax
88+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
89+
\ name: my-api"
7890
properties:
7991
from:
80-
description: AWSResourceReference provides all the values necessary
81-
to reference another k8s resource for finding the identifier(Id/ARN/Name)
92+
description: |-
93+
AWSResourceReference provides all the values necessary to reference another
94+
k8s resource for finding the identifier(Id/ARN/Name)
8295
properties:
8396
name:
8497
type: string
@@ -88,26 +101,30 @@ spec:
88101
type: string
89102
failureFeedbackRoleRef:
90103
description: "AWSResourceReferenceWrapper provides a wrapper around
91-
*AWSResourceReference type to provide more user friendly syntax
92-
for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
104+
*AWSResourceReference\ntype to provide more user friendly syntax
105+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
106+
\ name: my-api"
93107
properties:
94108
from:
95-
description: AWSResourceReference provides all the values necessary
96-
to reference another k8s resource for finding the identifier(Id/ARN/Name)
109+
description: |-
110+
AWSResourceReference provides all the values necessary to reference another
111+
k8s resource for finding the identifier(Id/ARN/Name)
97112
properties:
98113
name:
99114
type: string
100115
type: object
101116
type: object
102117
name:
103-
description: Application names must be made up of only uppercase and
104-
lowercase ASCII letters, numbers, underscores, hyphens, and periods,
105-
and must be between 1 and 256 characters long.
118+
description: |-
119+
Application names must be made up of only uppercase and lowercase ASCII letters,
120+
numbers, underscores, hyphens, and periods, and must be between 1 and 256
121+
characters long.
106122
type: string
107123
platform:
108-
description: 'The following platforms are supported: ADM (Amazon Device
109-
Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX,
110-
and GCM (Firebase Cloud Messaging).'
124+
description: |-
125+
The following platforms are supported: ADM (Amazon Device Messaging), APNS
126+
(Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud
127+
Messaging).
111128
type: string
112129
platformCredential:
113130
type: string
@@ -117,12 +134,14 @@ spec:
117134
type: string
118135
successFeedbackRoleRef:
119136
description: "AWSResourceReferenceWrapper provides a wrapper around
120-
*AWSResourceReference type to provide more user friendly syntax
121-
for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
137+
*AWSResourceReference\ntype to provide more user friendly syntax
138+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
139+
\ name: my-api"
122140
properties:
123141
from:
124-
description: AWSResourceReference provides all the values necessary
125-
to reference another k8s resource for finding the identifier(Id/ARN/Name)
142+
description: |-
143+
AWSResourceReference provides all the values necessary to reference another
144+
k8s resource for finding the identifier(Id/ARN/Name)
126145
properties:
127146
name:
128147
type: string
@@ -138,24 +157,26 @@ spec:
138157
description: PlatformApplicationStatus defines the observed state of PlatformApplication
139158
properties:
140159
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,
143163
constructed ARN for the resource
144164
properties:
145165
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
154-
https://github.com/aws/aws-controllers-k8s/issues/270'
166+
description: |-
167+
ARN is the Amazon Resource Name for the resource. This is a
168+
globally-unique identifier and is set only by the ACK service controller
169+
once the controller has orchestrated the creation of the resource OR
170+
when it has verified that an "adopted" resource (a resource where the
171+
ARN annotation was set by the Kubernetes user on the CR) exists and
172+
matches the supplied CR's Spec field values.
173+
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
174+
https://github.com/aws/aws-controllers-k8s/issues/270
155175
type: string
156176
ownerAccountID:
157-
description: OwnerAccountID is the AWS Account ID of the account
158-
that owns the backend AWS service API resource.
177+
description: |-
178+
OwnerAccountID is the AWS Account ID of the account that owns the
179+
backend AWS service API resource.
159180
type: string
160181
region:
161182
description: Region is the AWS region in which the resource exists
@@ -166,14 +187,16 @@ spec:
166187
- region
167188
type: object
168189
conditions:
169-
description: All CRS managed by ACK have a common `Status.Conditions`
170-
member that contains a collection of `ackv1alpha1.Condition` objects
171-
that describe the various terminal states of the CR and its backend
172-
AWS service API resource
190+
description: |-
191+
All CRS managed by ACK have a common `Status.Conditions` member that
192+
contains a collection of `ackv1alpha1.Condition` objects that describe
193+
the various terminal states of the CR and its backend AWS service API
194+
resource
173195
items:
174-
description: Condition is the common struct used by all CRDs managed
175-
by ACK service controllers to indicate terminal states of the
176-
CR and its backend AWS service API resource
196+
description: |-
197+
Condition is the common struct used by all CRDs managed by ACK service
198+
controllers to indicate terminal states of the CR and its backend AWS
199+
service API resource
177200
properties:
178201
lastTransitionTime:
179202
description: Last time the condition transitioned from one status

0 commit comments

Comments
 (0)