Skip to content

Commit 687eb2d

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

15 files changed

+58
-102
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
ack_generate_info:
2-
build_date: "2022-09-06T13:01:36Z"
3-
build_hash: 585f06bbd6d4cc1b738acb85901e7a009bf452c7
2+
build_date: "2022-09-12T19:38:51Z"
3+
build_hash: 2944c8772f216656d84ee02d392eaca501274c1e
44
go_version: go1.17.5
5-
version: v0.20.0
6-
api_directory_checksum: 7d8d584cdaec82ab61d867fc030cb9bb45ac706f
5+
version: v0.20.1
6+
api_directory_checksum: 9deaf0523c157680935dc914518cb7c9f54c43a7
77
api_version: v1alpha1
8-
aws_sdk_go_version: v1.42.0
8+
aws_sdk_go_version: v1.44.93
99
generator_config_info:
1010
file_checksum: adee4dfc3bba2124bb0b30542295e33fa5387f20
1111
original_file_name: generator.yaml

apis/v1alpha1/role.go

Lines changed: 2 additions & 2 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/iam-controller
9-
newTag: v0.0.20
9+
newTag: v0.0.21

config/crd/bases/iam.services.k8s.aws_policies.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
---
32
apiVersion: apiextensions.k8s.io/v1
43
kind: CustomResourceDefinition
54
metadata:
65
annotations:
7-
controller-gen.kubebuilder.io/version: v0.7.0
6+
controller-gen.kubebuilder.io/version: v0.9.2
87
creationTimestamp: null
98
name: policies.iam.services.k8s.aws
109
spec:
@@ -81,12 +80,11 @@ spec:
8180
JSON policy language (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html)
8281
in the IAM User Guide. \n The regex pattern (http://wikipedia.org/wiki/regex)
8382
used to validate this parameter is a string of characters consisting
84-
of the following: \n * Any printable ASCII character ranging
85-
from the space character (\\u0020) through the end of the ASCII
86-
character range \n * The printable characters in the Basic Latin
87-
and Latin-1 Supplement character set (through \\u00FF) \n *
88-
The special characters tab (\\u0009), line feed (\\u000A), and carriage
89-
\ return (\\u000D)"
83+
of the following: \n * Any printable ASCII character ranging from
84+
the space character (\\u0020) through the end of the ASCII character
85+
range \n * The printable characters in the Basic Latin and Latin-1
86+
Supplement character set (through \\u00FF) \n * The special characters
87+
tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D)"
9088
type: string
9189
tags:
9290
description: "A list of tags that you want to attach to the new IAM
@@ -221,9 +219,3 @@ spec:
221219
storage: true
222220
subresources:
223221
status: {}
224-
status:
225-
acceptedNames:
226-
kind: ""
227-
plural: ""
228-
conditions: []
229-
storedVersions: []

config/crd/bases/iam.services.k8s.aws_roles.yaml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
---
32
apiVersion: apiextensions.k8s.io/v1
43
kind: CustomResourceDefinition
54
metadata:
65
annotations:
7-
controller-gen.kubebuilder.io/version: v0.7.0
6+
controller-gen.kubebuilder.io/version: v0.9.2
87
creationTimestamp: null
98
name: roles.iam.services.k8s.aws
109
spec:
@@ -47,21 +46,20 @@ spec:
4746
YAML policy to JSON format before submitting it to IAM. \n The regex
4847
pattern (http://wikipedia.org/wiki/regex) used to validate this
4948
parameter is a string of characters consisting of the following:
50-
\n * Any printable ASCII character ranging from the space character
51-
(\\u0020) through the end of the ASCII character range \n *
52-
The printable characters in the Basic Latin and Latin-1 Supplement
53-
character set (through \\u00FF) \n * The special characters
54-
tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D)
55-
\n Upon success, the response includes the same trust policy in
56-
JSON format."
49+
\n * Any printable ASCII character ranging from the space character
50+
(\\u0020) through the end of the ASCII character range \n * The
51+
printable characters in the Basic Latin and Latin-1 Supplement character
52+
set (through \\u00FF) \n * The special characters tab (\\u0009),
53+
line feed (\\u000A), and carriage return (\\u000D) \n Upon success,
54+
the response includes the same trust policy in JSON format."
5755
type: string
5856
description:
5957
description: A description of the role.
6058
type: string
6159
maxSessionDuration:
6260
description: "The maximum session duration (in seconds) that you want
6361
to set for the specified role. If you do not specify a value for
64-
this setting, the default maximum of one hour is applied. This setting
62+
this setting, the default value of one hour is applied. This setting
6563
can have a value from 1 hour to 12 hours. \n Anyone who assumes
6664
the role from the or API can use the DurationSeconds API parameter
6765
or the duration-seconds CLI parameter to request a longer session.
@@ -220,9 +218,3 @@ spec:
220218
storage: true
221219
subresources:
222220
status: {}
223-
status:
224-
acceptedNames:
225-
kind: ""
226-
plural: ""
227-
conditions: []
228-
storedVersions: []

config/rbac/cluster-role-controller.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
---
32
apiVersion: rbac.authorization.k8s.io/v1
43
kind: ClusterRole

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/aws-controllers-k8s/iam-controller
33
go 1.17
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.20.0
7-
github.com/aws/aws-sdk-go v1.42.0
6+
github.com/aws-controllers-k8s/runtime v0.20.1
7+
github.com/aws/aws-sdk-go v1.44.93
88
github.com/go-logr/logr v1.2.0
99
github.com/spf13/pflag v1.0.5
1010
k8s.io/api v0.23.0
@@ -45,10 +45,10 @@ require (
4545
go.uber.org/atomic v1.7.0 // indirect
4646
go.uber.org/multierr v1.6.0 // indirect
4747
go.uber.org/zap v1.19.1 // indirect
48-
golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect
48+
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
4949
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
50-
golang.org/x/sys v0.0.0-20211124211545-fe61309f8881 // indirect
51-
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
50+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
51+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
5252
golang.org/x/text v0.3.7 // indirect
5353
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
5454
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect

go.sum

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hC
6464
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
6565
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
6666
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
67-
github.com/aws-controllers-k8s/runtime v0.20.0 h1:W91KYhjc+AvMhxguJTs3P5ZbkI6DUDzLdhL9pMjBxZE=
68-
github.com/aws-controllers-k8s/runtime v0.20.0/go.mod h1:oA8ML1/LL3chPn26P6SzBNu1CUI2nekB+PTqykNs0qU=
69-
github.com/aws/aws-sdk-go v1.42.0 h1:BMZws0t8NAhHFsfnT3B40IwD13jVDG5KerlRksctVIw=
70-
github.com/aws/aws-sdk-go v1.42.0/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
67+
github.com/aws-controllers-k8s/runtime v0.20.1 h1:L/Huf1shRahx5BqJBCSS5u+vYg3f0Rotsq1jutORpdI=
68+
github.com/aws-controllers-k8s/runtime v0.20.1/go.mod h1:k7z4qlf6aK1Kzd4ff49wzcyhDKHjWaUpqxrwgl4uS1o=
69+
github.com/aws/aws-sdk-go v1.44.93 h1:hAgd9fuaptBatSft27/5eBMdcA8+cIMqo96/tZ6rKl8=
70+
github.com/aws/aws-sdk-go v1.44.93/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
7171
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=
7272
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
7373
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
@@ -599,10 +599,10 @@ golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLd
599599
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
600600
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
601601
golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
602-
golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
603602
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
604-
golang.org/x/net v0.0.0-20210825183410-e898025ed96a h1:bRuuGXV8wwSdGTB+CtJf+FjgO1APK1CoO39T4BN/XBw=
605603
golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
604+
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk=
605+
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
606606
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
607607
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
608608
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -694,11 +694,13 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc
694694
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
695695
golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
696696
golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
697-
golang.org/x/sys v0.0.0-20211124211545-fe61309f8881 h1:TyHqChC80pFkXWraUUf6RuB5IqFdQieMLwwCJokV2pc=
698697
golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
698+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e h1:fLOSk5Q00efkSvAm+4xcoXD+RRmLmmulPn5I3Y9F2EM=
699+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
699700
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
700-
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b h1:9zKuko04nR4gjZ4+DNjHqRlAJqbJETHwiNKDqTfOjfE=
701701
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
702+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
703+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
702704
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
703705
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
704706
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: iam-chart
33
description: A Helm chart for the ACK service controller for AWS Identity & Access Management (IAM)
4-
version: v0.0.20
5-
appVersion: v0.0.20
4+
version: v0.0.21
5+
appVersion: v0.0.21
66
home: https://github.com/aws-controllers-k8s/iam-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/iam.services.k8s.aws_policies.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
---
32
apiVersion: apiextensions.k8s.io/v1
43
kind: CustomResourceDefinition
54
metadata:
65
annotations:
7-
controller-gen.kubebuilder.io/version: v0.7.0
6+
controller-gen.kubebuilder.io/version: v0.9.2
87
creationTimestamp: null
98
name: policies.iam.services.k8s.aws
109
spec:
@@ -81,12 +80,11 @@ spec:
8180
JSON policy language (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html)
8281
in the IAM User Guide. \n The regex pattern (http://wikipedia.org/wiki/regex)
8382
used to validate this parameter is a string of characters consisting
84-
of the following: \n * Any printable ASCII character ranging
85-
from the space character (\\u0020) through the end of the ASCII
86-
character range \n * The printable characters in the Basic Latin
87-
and Latin-1 Supplement character set (through \\u00FF) \n *
88-
The special characters tab (\\u0009), line feed (\\u000A), and carriage
89-
\ return (\\u000D)"
83+
of the following: \n * Any printable ASCII character ranging from
84+
the space character (\\u0020) through the end of the ASCII character
85+
range \n * The printable characters in the Basic Latin and Latin-1
86+
Supplement character set (through \\u00FF) \n * The special characters
87+
tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D)"
9088
type: string
9189
tags:
9290
description: "A list of tags that you want to attach to the new IAM
@@ -221,9 +219,3 @@ spec:
221219
storage: true
222220
subresources:
223221
status: {}
224-
status:
225-
acceptedNames:
226-
kind: ""
227-
plural: ""
228-
conditions: []
229-
storedVersions: []

0 commit comments

Comments
 (0)