Skip to content

Commit e7e8d14

Browse files
authored
Update ACK runtime to v0.16.0 (#17)
### Update ACK runtime to `v0.16.0` ---------- NOTE: This PR increments the release version of service controller from `v0.0.3` to `v0.0.4` Once this PR is merged, release `v0.0.4` will be automatically created for `lambda-controller` **Please close this PR, if you do not want the new patch release for `lambda-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building lambda-controller ==== Copying common custom resource definitions into lambda Building Kubernetes API objects for lambda Generating deepcopy code for lambda Generating custom resource definitions for lambda Building service controller for lambda Generating RBAC manifests for lambda Running gofmt against generated code for lambda Updating additional GitHub repository maintenance files ==== building lambda-controller release artifacts ==== Building release artifacts for lambda-v0.0.4 Generating common custom resource definitions Generating custom resource definitions for lambda Generating RBAC manifests for lambda ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 9b54428 commit e7e8d14

22 files changed

+1274
-316
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2021-12-20T13:43:11Z"
3-
build_hash: 6f17f51682dc0d16c36aa456fd22855ce9282fbc
4-
go_version: go1.16.4
5-
version: v0.15.2
2+
build_date: "2022-01-07T21:03:16Z"
3+
build_hash: 3e184727de8a4dfd4769e3d88f4f52f885858335
4+
go_version: go1.17.5
5+
version: v0.16.0
66
api_directory_checksum: a3c5e80eca3fc5591e8a0a2763d048f2ed4a6ddd
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.40.28

apis/v1alpha1/zz_generated.deepcopy.go

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

config/controller/deployment.yaml

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

config/crd/common/bases/services.k8s.aws_adoptedresources.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.0
7+
controller-gen.kubebuilder.io/version: v0.7.0
88
creationTimestamp: null
99
name: adoptedresources.services.k8s.aws
1010
spec:

go.mod

+59-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,66 @@
11
module github.com/aws-controllers-k8s/lambda-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.0
77
github.com/aws/aws-sdk-go v1.40.28
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+
github.com/stretchr/objx v0.2.0 // indirect
43+
go.uber.org/atomic v1.7.0 // indirect
44+
go.uber.org/multierr v1.6.0 // indirect
45+
go.uber.org/zap v1.19.1 // indirect
46+
golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect
47+
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
48+
golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8 // indirect
49+
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
50+
golang.org/x/text v0.3.7 // indirect
51+
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
52+
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
53+
google.golang.org/appengine v1.6.7 // indirect
54+
google.golang.org/protobuf v1.27.1 // indirect
55+
gopkg.in/inf.v0 v0.9.1 // indirect
56+
gopkg.in/yaml.v2 v2.4.0 // indirect
57+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
58+
k8s.io/apiextensions-apiserver v0.23.0 // indirect
59+
k8s.io/component-base v0.23.0 // indirect
60+
k8s.io/klog/v2 v2.30.0 // indirect
61+
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
62+
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b // indirect
63+
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect
64+
sigs.k8s.io/structured-merge-diff/v4 v4.2.0 // indirect
65+
sigs.k8s.io/yaml v1.3.0 // indirect
1466
)

0 commit comments

Comments
 (0)