Skip to content

Commit 2d07780

Browse files
ack-botmichaelhtm
authored andcommitted
Update to ACK runtime v0.39.0, code-generator v0.39.1 (aws-controllers-k8s#47)
---------- * ACK code-generator `v0.39.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.39.1) * ACK runtime `v0.39.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.39.0) ---------- NOTE: This PR increments the release version of service controller from `v0.0.19` to `v0.0.20` Once this PR is merged, release `v0.0.20` will be automatically created for `acm-controller` **Please close this PR, if you do not want the new patch release for `acm-controller`** ---------- ``` building ack-generate ... ok. ==== building acm-controller ==== Copying common custom resource definitions into acm Building Kubernetes API objects for acm Generating deepcopy code for acm Generating custom resource definitions for acm Building service controller for acm Generating RBAC manifests for acm Running gofmt against generated code for acm Updating additional GitHub repository maintenance files ==== building acm-controller release artifacts ==== Building release artifacts for acm-v0.0.20 Generating common custom resource definitions Generating custom resource definitions for acm Generating RBAC manifests for acm ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent da90cd6 commit 2d07780

16 files changed

+127
-204
lines changed

Diff for: apis/v1alpha1/ack-generate-metadata.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2024-09-16T10:24:09Z"
3-
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
4-
go_version: go1.22.5
5-
version: v0.38.1
6-
api_directory_checksum: b055cc57ac2cc8b07e374803c280b65d1a72f3bf
2+
build_date: "2024-10-10T03:56:31Z"
3+
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
4+
go_version: go1.23.2
5+
version: v0.39.1
6+
api_directory_checksum: e337526dd1438ddb861e06bd92b5f640ba9ed537
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.49.0
99
generator_config_info:

Diff for: config/controller/kustomization.yaml

+1-1
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/acm-controller
9-
newTag: 0.0.19
9+
newTag: 0.0.20

Diff for: config/crd/bases/acm.services.k8s.aws_certificates.yaml

+1-10
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: certificates.acm.services.k8s.aws
88
spec:
99
group: acm.services.k8s.aws
@@ -73,7 +73,6 @@ spec:
7373
Amazon Web Services Private Certificate Authority (https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html)
7474
user guide. The ARN must have the following form:
7575
76-
7776
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
7877
type: string
7978
certificateAuthorityRef:
@@ -120,7 +119,6 @@ spec:
120119
certificate that protects several sites in the same domain. For example,
121120
*.example.com protects www.example.com, site.example.com, and images.example.com.
122121
123-
124122
In compliance with RFC 5280 (https://datatracker.ietf.org/doc/html/rfc5280),
125123
the length of the domain name (technically, the Common Name) that you provide
126124
cannot exceed 64 octets (characters), including periods. To add a longer
@@ -154,7 +152,6 @@ spec:
154152
broken. Check the requirements for the AWS service where you plan to deploy
155153
your certificate.
156154
157-
158155
Default: RSA_2048
159156
type: string
160157
options:
@@ -199,22 +196,18 @@ spec:
199196
names. If you need more than 10 names, you must request a quota increase.
200197
For more information, see Quotas (https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html).
201198
202-
203199
The maximum length of a SAN DNS name is 253 octets. The name is made up of
204200
multiple labels separated by periods. No label can be longer than 63 octets.
205201
Consider the following examples:
206202
207-
208203
* (63 octets).(63 octets).(63 octets).(61 octets) is legal because the
209204
total length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63
210205
octets.
211206
212-
213207
* (64 octets).(63 octets).(63 octets).(61 octets) is not legal because
214208
the total length exceeds 253 octets (64+1+63+1+63+1+61) and the first
215209
label exceeds 63 octets.
216210
217-
218211
* (63 octets).(63 octets).(63 octets).(62 octets) is not legal because
219212
the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets.
220213
items:
@@ -250,7 +243,6 @@ spec:
250243
when it has verified that an "adopted" resource (a resource where the
251244
ARN annotation was set by the Kubernetes user on the CR) exists and
252245
matches the supplied CR's Spec field values.
253-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
254246
https://github.com/aws/aws-controllers-k8s/issues/270
255247
type: string
256248
ownerAccountID:
@@ -482,7 +474,6 @@ spec:
482474
description: |-
483475
The status of the certificate.
484476
485-
486477
A certificate enters status PENDING_VALIDATION upon being requested, unless
487478
it fails for any of the reasons given in the troubleshooting topic Certificate
488479
request fails (https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting-failed.html).

Diff for: config/crd/common/bases/services.k8s.aws_adoptedresources.yaml

+1-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: adoptedresources.services.k8s.aws
88
spec:
99
group: services.k8s.aws
@@ -78,11 +78,9 @@ spec:
7878
automatically converts this to an arbitrary string-string map.
7979
https://github.com/kubernetes-sigs/controller-tools/issues/385
8080
81-
8281
Active discussion about inclusion of this field in the spec is happening in this PR:
8382
https://github.com/kubernetes-sigs/controller-tools/pull/395
8483
85-
8684
Until this is allowed, or if it never is, we will produce a subset of the object meta
8785
that contains only the fields which the user is allowed to modify in the metadata.
8886
properties:
@@ -105,13 +103,11 @@ spec:
105103
and may be truncated by the length of the suffix required to make the value
106104
unique on the server.
107105
108-
109106
If this field is specified and the generated name exists, the server will
110107
NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
111108
ServerTimeout indicating a unique name could not be found in the time allotted, and the client
112109
should retry (optionally after the time indicated in the Retry-After header).
113110
114-
115111
Applied only if Name is not specified.
116112
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
117113
type: string
@@ -140,7 +136,6 @@ spec:
140136
Not all objects are required to be scoped to a namespace - the value of this field for
141137
those objects will be empty.
142138
143-
144139
Must be a DNS_LABEL.
145140
Cannot be updated.
146141
More info: http://kubernetes.io/docs/user-guide/namespaces

Diff for: config/crd/common/bases/services.k8s.aws_fieldexports.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: fieldexports.services.k8s.aws
88
spec:
99
group: services.k8s.aws

Diff for: config/rbac/cluster-role-controller.yaml

+2-28
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ rules:
88
- ""
99
resources:
1010
- configmaps
11+
- secrets
1112
verbs:
1213
- get
1314
- list
@@ -21,15 +22,6 @@ rules:
2122
- get
2223
- list
2324
- watch
24-
- apiGroups:
25-
- ""
26-
resources:
27-
- secrets
28-
verbs:
29-
- get
30-
- list
31-
- patch
32-
- watch
3325
- apiGroups:
3426
- acm.services.k8s.aws
3527
resources:
@@ -68,25 +60,6 @@ rules:
6860
- services.k8s.aws
6961
resources:
7062
- adoptedresources
71-
verbs:
72-
- create
73-
- delete
74-
- get
75-
- list
76-
- patch
77-
- update
78-
- watch
79-
- apiGroups:
80-
- services.k8s.aws
81-
resources:
82-
- adoptedresources/status
83-
verbs:
84-
- get
85-
- patch
86-
- update
87-
- apiGroups:
88-
- services.k8s.aws
89-
resources:
9063
- fieldexports
9164
verbs:
9265
- create
@@ -99,6 +72,7 @@ rules:
9972
- apiGroups:
10073
- services.k8s.aws
10174
resources:
75+
- adoptedresources/status
10276
- fieldexports/status
10377
verbs:
10478
- get

Diff for: go.mod

+28-29
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,36 @@ go 1.22.0
55
toolchain go1.22.5
66

77
require (
8-
github.com/aws-controllers-k8s/acmpca-controller v0.0.17
9-
github.com/aws-controllers-k8s/runtime v0.38.0
10-
github.com/aws/aws-sdk-go v1.49.6
11-
github.com/go-logr/logr v1.4.1
8+
github.com/aws-controllers-k8s/runtime v0.39.0
9+
github.com/aws/aws-sdk-go v1.49.0
10+
github.com/go-logr/logr v1.4.2
1211
github.com/spf13/pflag v1.0.5
13-
k8s.io/api v0.30.1
14-
k8s.io/apimachinery v0.30.1
15-
k8s.io/client-go v0.30.1
16-
sigs.k8s.io/controller-runtime v0.18.4
12+
k8s.io/api v0.31.0
13+
k8s.io/apimachinery v0.31.0
14+
k8s.io/client-go v0.31.0
15+
sigs.k8s.io/controller-runtime v0.19.0
1716
)
1817

1918
require (
2019
github.com/beorn7/perks v1.0.1 // indirect
21-
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
22-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
23-
github.com/davecgh/go-spew v1.1.1 // indirect
20+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
21+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
22+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2423
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
2524
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
2625
github.com/fsnotify/fsnotify v1.7.0 // indirect
26+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
2727
github.com/go-logr/zapr v1.3.0 // indirect
2828
github.com/go-openapi/jsonpointer v0.19.6 // indirect
2929
github.com/go-openapi/jsonreference v0.20.2 // indirect
30-
github.com/go-openapi/swag v0.22.3 // indirect
30+
github.com/go-openapi/swag v0.22.4 // indirect
3131
github.com/gogo/protobuf v1.3.2 // indirect
3232
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
3333
github.com/golang/protobuf v1.5.4 // indirect
3434
github.com/google/gnostic-models v0.6.8 // indirect
3535
github.com/google/go-cmp v0.6.0 // indirect
3636
github.com/google/gofuzz v1.2.0 // indirect
37-
github.com/google/uuid v1.3.0 // indirect
37+
github.com/google/uuid v1.6.0 // indirect
3838
github.com/imdario/mergo v0.3.12 // indirect
3939
github.com/itchyny/gojq v0.12.6 // indirect
4040
github.com/itchyny/timefmt-go v0.1.3 // indirect
@@ -43,35 +43,34 @@ require (
4343
github.com/josharian/intern v1.0.0 // indirect
4444
github.com/json-iterator/go v1.1.12 // indirect
4545
github.com/mailru/easyjson v0.7.7 // indirect
46-
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
4746
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4847
github.com/modern-go/reflect2 v1.0.2 // indirect
4948
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5049
github.com/pkg/errors v0.9.1 // indirect
51-
github.com/prometheus/client_golang v1.18.0 // indirect
52-
github.com/prometheus/client_model v0.5.0 // indirect
53-
github.com/prometheus/common v0.45.0 // indirect
54-
github.com/prometheus/procfs v0.12.0 // indirect
50+
github.com/prometheus/client_golang v1.19.1 // indirect
51+
github.com/prometheus/client_model v0.6.1 // indirect
52+
github.com/prometheus/common v0.55.0 // indirect
53+
github.com/prometheus/procfs v0.15.1 // indirect
5554
github.com/samber/lo v1.37.0 // indirect
55+
github.com/x448/float16 v0.8.4 // indirect
5656
go.uber.org/multierr v1.11.0 // indirect
5757
go.uber.org/zap v1.26.0 // indirect
58-
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
59-
golang.org/x/net v0.23.0 // indirect
60-
golang.org/x/oauth2 v0.12.0 // indirect
61-
golang.org/x/sys v0.18.0 // indirect
62-
golang.org/x/term v0.18.0 // indirect
63-
golang.org/x/text v0.14.0 // indirect
58+
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
59+
golang.org/x/net v0.26.0 // indirect
60+
golang.org/x/oauth2 v0.21.0 // indirect
61+
golang.org/x/sys v0.21.0 // indirect
62+
golang.org/x/term v0.21.0 // indirect
63+
golang.org/x/text v0.16.0 // indirect
6464
golang.org/x/time v0.3.0 // indirect
6565
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
66-
google.golang.org/appengine v1.6.7 // indirect
67-
google.golang.org/protobuf v1.33.0 // indirect
66+
google.golang.org/protobuf v1.34.2 // indirect
6867
gopkg.in/inf.v0 v0.9.1 // indirect
6968
gopkg.in/yaml.v2 v2.4.0 // indirect
7069
gopkg.in/yaml.v3 v3.0.1 // indirect
71-
k8s.io/apiextensions-apiserver v0.30.1 // indirect
72-
k8s.io/klog/v2 v2.120.1 // indirect
70+
k8s.io/apiextensions-apiserver v0.31.0 // indirect
71+
k8s.io/klog/v2 v2.130.1 // indirect
7372
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
74-
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
73+
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
7574
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
7675
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
7776
sigs.k8s.io/yaml v1.4.0 // indirect

0 commit comments

Comments
 (0)