Skip to content

Commit 53a246f

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

File tree

10 files changed

+52
-15
lines changed

10 files changed

+52
-15
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-11-26T21:14:50Z"
3-
build_hash: 9715a2a715317a76ae83825294ca50cde9afd97b
4-
go_version: go1.22.4
5-
version: v0.39.1-4-g9715a2a
2+
build_date: "2024-12-09T17:40:28Z"
3+
build_hash: 631aeb190e332addb8379672df6367a0875dce88
4+
go_version: go1.23.3
5+
version: v0.40.0
66
api_directory_checksum: 242bf7b5e9738fbbffafb652a69894b251126d80
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.55.5

config/controller/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ spec:
4141
- "$(LEADER_ELECTION_NAMESPACE)"
4242
- --reconcile-default-max-concurrent-syncs
4343
- "$(RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS)"
44+
- --feature-gates
45+
- "$(FEATURE_GATES)"
4446
image: controller:latest
4547
name: controller
4648
ports:
@@ -76,6 +78,8 @@ spec:
7678
value: "ack-system"
7779
- name: "RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS"
7880
value: "1"
81+
- name: "FEATURE_GATES"
82+
value: ""
7983
securityContext:
8084
allowPrivilegeEscalation: false
8185
privileged: false

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/codeartifact-controller
9-
newTag: 1.0.0
9+
newTag: 1.0.1

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ go 1.22.0
55
toolchain go1.23.2
66

77
require (
8-
github.com/aws-controllers-k8s/runtime v0.39.0
8+
github.com/aws-controllers-k8s/runtime v0.40.0
99
github.com/aws/aws-sdk-go v1.55.5
10+
github.com/go-logr/logr v1.4.2
1011
github.com/spf13/pflag v1.0.5
12+
k8s.io/api v0.31.0
1113
k8s.io/apimachinery v0.31.3
1214
k8s.io/client-go v0.31.0
1315
sigs.k8s.io/controller-runtime v0.19.0
@@ -22,7 +24,6 @@ require (
2224
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
2325
github.com/fsnotify/fsnotify v1.7.0 // indirect
2426
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
25-
github.com/go-logr/logr v1.4.2 // indirect
2627
github.com/go-logr/zapr v1.3.0 // indirect
2728
github.com/go-openapi/jsonpointer v0.19.6 // indirect
2829
github.com/go-openapi/jsonreference v0.20.2 // indirect
@@ -66,7 +67,6 @@ require (
6667
gopkg.in/inf.v0 v0.9.1 // indirect
6768
gopkg.in/yaml.v2 v2.4.0 // indirect
6869
gopkg.in/yaml.v3 v3.0.1 // indirect
69-
k8s.io/api v0.31.0 // indirect
7070
k8s.io/apiextensions-apiserver v0.31.0 // indirect
7171
k8s.io/klog/v2 v2.130.1 // indirect
7272
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/aws-controllers-k8s/runtime v0.39.0 h1:IgOXluSzvb4UcDr9eU7SPw5MJnL7kt5R6DuF5Qu9zVQ=
2-
github.com/aws-controllers-k8s/runtime v0.39.0/go.mod h1:G07g26y1cxyZO6Ngp+LwXf03CqFyLNL7os4Py4IdyGY=
1+
github.com/aws-controllers-k8s/runtime v0.40.0 h1:FplFYgzCIbQsPafarP3dy/4bG1uGR8G1OLYOWO4a7Lc=
2+
github.com/aws-controllers-k8s/runtime v0.40.0/go.mod h1:G07g26y1cxyZO6Ngp+LwXf03CqFyLNL7os4Py4IdyGY=
33
github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU=
44
github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
55
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=

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: codeartifact-chart
33
description: A Helm chart for the ACK service controller for CodeArtifact (codeArtifact)
4-
version: 1.0.0
5-
appVersion: 1.0.0
4+
version: 1.0.1
5+
appVersion: 1.0.1
66
home: https://github.com/aws-controllers-k8s/codeartifact-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ .Chart.Name }} has been installed.
2-
This chart deploys "public.ecr.aws/aws-controllers-k8s/codeartifact-controller:1.0.0".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/codeartifact-controller:1.0.1".
33

44
Check its status by running:
55
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"

helm/values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
image:
66
repository: public.ecr.aws/aws-controllers-k8s/codeartifact-controller
7-
tag: 1.0.0
7+
tag: 1.0.1
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

@@ -163,4 +163,6 @@ featureGates:
163163
# Enables the Team level granularity for CARM. See https://github.com/aws-controllers-k8s/community/issues/2031
164164
TeamLevelCARM: false
165165
# Enable ReadOnlyResources feature/annotation.
166-
ReadOnlyResources: false
166+
ReadOnlyResources: false
167+
# Enable ResourceAdoption feature/annotation.
168+
ResourceAdoption: false

pkg/resource/domain/resource.go

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

pkg/resource/package_group/resource.go

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

0 commit comments

Comments
 (0)