Skip to content

Commit 7463f8e

Browse files
committed
update to ACK runtime and code-gen v0.16.1
Regenerate the IAM controller with ACK runtime and code-generator v0.16.1 and the code-generator functionality in aws-controllers-k8s/code-generator#268. Signed-off-by: Jay Pipes <[email protected]>
1 parent 10008d6 commit 7463f8e

18 files changed

+1155
-296
lines changed
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2021-12-13T15:45:31Z"
3-
build_hash: 285d87b66b62fbfb859986ddf74c9f9b6ae743fb
2+
build_date: "2022-01-18T18:48:04Z"
3+
build_hash: 8f1ab75e02e732267df5d6e4080beb8089ed3c38
44
go_version: go1.17
5-
version: v0.15.2
6-
api_directory_checksum: 686100a0137cba404a403f0184c1870ca2cbac47
5+
version: v0.16.1
6+
api_directory_checksum: 5c586ade18ff0bb36fe5fcb6d3ffa78b36a2b2c6
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.40.2
99
generator_config_info:
10-
file_checksum: 0a2481b5bcfedf9ae4233187571a15231f48b8aa
10+
file_checksum: e1e788f094e9560f25c4aa9d3aad9f9b3628bd3d
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,14 @@ resources:
5757
late_initialize: {}
5858
Role:
5959
hooks:
60+
sdk_read_one_post_set_output:
61+
template_path: hooks/role/sdk_read_one_post_set_output.go.tpl
6062
sdk_create_post_set_output:
6163
template_path: hooks/role/sdk_create_post_set_output.go.tpl
6264
sdk_update_post_set_output:
6365
template_path: hooks/role/sdk_update_post_set_output.go.tpl
66+
sdk_delete_pre_build_request:
67+
template_path: hooks/role/sdk_delete_pre_build_request.go.tpl
6468
exceptions:
6569
terminal_codes:
6670
- InvalidInput
@@ -92,5 +96,4 @@ resources:
9296
# custom update code path code that uses the Attach/DetachRolePolicy API
9397
# calls to manage the set of PolicyARNs attached to this Role.
9498
Policies:
95-
custom_field:
96-
list_of: AttachRolePolicyInput.PolicyArn
99+
type: "[]*string"

apis/v1alpha1/types.go

-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/deployment.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,14 @@ spec:
5353
valueFrom:
5454
fieldRef:
5555
fieldPath: metadata.namespace
56+
securityContext:
57+
allowPrivilegeEscalation: false
58+
privileged: false
59+
runAsNonRoot: true
60+
capabilities:
61+
drop:
62+
- ALL
5663
terminationGracePeriodSeconds: 10
64+
hostIPC: false
65+
hostNetwork: false
66+
hostPID: false

generator.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ resources:
6363
template_path: hooks/role/sdk_create_post_set_output.go.tpl
6464
sdk_update_post_set_output:
6565
template_path: hooks/role/sdk_update_post_set_output.go.tpl
66+
sdk_delete_pre_build_request:
67+
template_path: hooks/role/sdk_delete_pre_build_request.go.tpl
6668
exceptions:
6769
terminal_codes:
6870
- InvalidInput
@@ -94,5 +96,4 @@ resources:
9496
# custom update code path code that uses the Attach/DetachRolePolicy API
9597
# calls to manage the set of PolicyARNs attached to this Role.
9698
Policies:
97-
custom_field:
98-
list_of: AttachRolePolicyInput.PolicyArn
99+
type: "[]*string"

go.mod

+58-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,65 @@
11
module github.com/aws-controllers-k8s/iam-controller
22

3-
go 1.14
3+
go 1.17
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.15.2
6+
github.com/aws-controllers-k8s/runtime v0.16.1
77
github.com/aws/aws-sdk-go v1.40.2
8-
github.com/go-logr/logr v0.1.0
8+
github.com/go-logr/logr v1.2.0
99
github.com/spf13/pflag v1.0.5
10-
k8s.io/api v0.18.2
11-
k8s.io/apimachinery v0.18.6
12-
k8s.io/client-go v0.18.2
13-
sigs.k8s.io/controller-runtime v0.6.0
10+
k8s.io/api v0.23.0
11+
k8s.io/apimachinery v0.23.0
12+
k8s.io/client-go v0.23.0
13+
sigs.k8s.io/controller-runtime v0.11.0
14+
)
15+
16+
require (
17+
github.com/beorn7/perks v1.0.1 // indirect
18+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
19+
github.com/davecgh/go-spew v1.1.1 // indirect
20+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
21+
github.com/fsnotify/fsnotify v1.5.1 // indirect
22+
github.com/go-logr/zapr v1.2.0 // indirect
23+
github.com/gogo/protobuf v1.3.2 // indirect
24+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
25+
github.com/golang/protobuf v1.5.2 // indirect
26+
github.com/google/go-cmp v0.5.5 // indirect
27+
github.com/google/gofuzz v1.1.0 // indirect
28+
github.com/google/uuid v1.1.2 // indirect
29+
github.com/googleapis/gnostic v0.5.5 // indirect
30+
github.com/imdario/mergo v0.3.12 // indirect
31+
github.com/jaypipes/envutil v1.0.0 // indirect
32+
github.com/jmespath/go-jmespath v0.4.0 // indirect
33+
github.com/json-iterator/go v1.1.12 // indirect
34+
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
35+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
36+
github.com/modern-go/reflect2 v1.0.2 // indirect
37+
github.com/pkg/errors v0.9.1 // indirect
38+
github.com/prometheus/client_golang v1.11.0 // indirect
39+
github.com/prometheus/client_model v0.2.0 // indirect
40+
github.com/prometheus/common v0.28.0 // indirect
41+
github.com/prometheus/procfs v0.6.0 // indirect
42+
go.uber.org/atomic v1.7.0 // indirect
43+
go.uber.org/multierr v1.6.0 // indirect
44+
go.uber.org/zap v1.19.1 // indirect
45+
golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect
46+
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
47+
golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8 // indirect
48+
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
49+
golang.org/x/text v0.3.7 // indirect
50+
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
51+
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
52+
google.golang.org/appengine v1.6.7 // indirect
53+
google.golang.org/protobuf v1.27.1 // indirect
54+
gopkg.in/inf.v0 v0.9.1 // indirect
55+
gopkg.in/yaml.v2 v2.4.0 // indirect
56+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
57+
k8s.io/apiextensions-apiserver v0.23.0 // indirect
58+
k8s.io/component-base v0.23.0 // indirect
59+
k8s.io/klog/v2 v2.30.0 // indirect
60+
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
61+
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b // indirect
62+
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect
63+
sigs.k8s.io/structured-merge-diff/v4 v4.2.0 // indirect
64+
sigs.k8s.io/yaml v1.3.0 // indirect
1465
)

0 commit comments

Comments
 (0)