Skip to content

Commit

Permalink
Update to ACK runtime v0.38.0, code-generator v0.38.1 (#8)
Browse files Browse the repository at this point in the history
### Update to ACK runtime `v0.38.0`, code-generator `v0.38.1`

----------

* ACK code-generator `v0.38.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.38.1)
* ACK runtime `v0.38.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.38.0)

----------

NOTE:
This PR increments the release version of service controller from `v0.0.1` to `v0.0.2`

Once this PR is merged, release `v0.0.2` will be automatically created for `recyclebin-controller`

**Please close this PR, if you do not want the new patch release for `recyclebin-controller`**

----------

#### stdout for `make build-controller`:

```
building ack-generate ... ok.
==== building recyclebin-controller ====
Copying common custom resource definitions into recyclebin
Building Kubernetes API objects for recyclebin
Generating deepcopy code for recyclebin
Generating custom resource definitions for recyclebin
Building service controller for recyclebin
Generating RBAC manifests for recyclebin
Running gofmt against generated code for recyclebin
Updating additional GitHub repository maintenance files
==== building recyclebin-controller release artifacts ====
Building release artifacts for recyclebin-v0.0.2
Generating common custom resource definitions
Generating custom resource definitions for recyclebin
Generating RBAC manifests for recyclebin
```

----------

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • Loading branch information
ack-bot authored Aug 31, 2024
1 parent 931c1c7 commit d21ee23
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 18 deletions.
8 changes: 4 additions & 4 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ack_generate_info:
build_date: "2024-08-14T02:46:28Z"
build_hash: 62466746500d0c01fcfa8e8e3ca6abd9386e4687
go_version: go1.22.4
version: v0.36.0-1-g6246674
build_date: "2024-08-29T16:58:17Z"
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
go_version: go1.22.5
version: v0.38.1
api_directory_checksum: dce91cc2106bd11e48fec86c54bacda444e14963
api_version: v1alpha1
aws_sdk_go_version: v1.55.5
Expand Down
2 changes: 1 addition & 1 deletion config/controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ kind: Kustomization
images:
- name: controller
newName: public.ecr.aws/aws-controllers-k8s/recyclebin-controller
newTag: 0.0.1
newTag: 0.0.2
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ go 1.22.0
toolchain go1.22.3

require (
github.com/aws-controllers-k8s/runtime v0.37.1
github.com/aws-controllers-k8s/runtime v0.38.0
github.com/aws/aws-sdk-go v1.55.5
github.com/go-logr/logr v1.4.1
github.com/spf13/pflag v1.0.5
k8s.io/api v0.30.1
k8s.io/apimachinery v0.30.1
k8s.io/client-go v0.30.1
sigs.k8s.io/controller-runtime v0.18.4
Expand All @@ -21,7 +23,6 @@ require (
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/zapr v1.3.0 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
Expand Down Expand Up @@ -66,7 +67,6 @@ require (
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.30.1 // indirect
k8s.io/apiextensions-apiserver v0.30.1 // indirect
k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws-controllers-k8s/runtime v0.37.1 h1:OKSG3WnswkazWgUtSZh3RApU6OK3l01LklP1DjWgEFY=
github.com/aws-controllers-k8s/runtime v0.37.1/go.mod h1:gI2pWb20UGLP2SnHf1a1VzTd7iVVy+/I9VAzT0Y+Dew=
github.com/aws-controllers-k8s/runtime v0.38.0 h1:gSEpmBm7OwTPd2kIOU+AIDIivi3teSm5FFrhROfu4wg=
github.com/aws-controllers-k8s/runtime v0.38.0/go.mod h1:gI2pWb20UGLP2SnHf1a1VzTd7iVVy+/I9VAzT0Y+Dew=
github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU=
github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
Expand Down
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: recyclebin-chart
description: A Helm chart for the ACK service controller for Amazon EBS Recycle Bin (Recycle Bin)
version: 0.0.1
appVersion: 0.0.1
version: 0.0.2
appVersion: 0.0.2
home: https://github.com/aws-controllers-k8s/recyclebin-controller
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ .Chart.Name }} has been installed.
This chart deploys "public.ecr.aws/aws-controllers-k8s/recyclebin-controller:0.0.1".
This chart deploys "public.ecr.aws/aws-controllers-k8s/recyclebin-controller:0.0.2".

Check its status by running:
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"
Expand Down
10 changes: 6 additions & 4 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

image:
repository: public.ecr.aws/aws-controllers-k8s/recyclebin-controller
tag: 0.0.1
tag: 0.0.2
pullPolicy: IfNotPresent
pullSecrets: []

Expand Down Expand Up @@ -157,6 +157,8 @@ leaderElection:
# Configuration for feature gates. These are optional controller features that
# can be individually enabled ("true") or disabled ("false") by adding key/value
# pairs below.
featureGates: {}
# featureGate1: true
# featureGate2: false
featureGates:
# Enables the Service level granularity for CARM. See https://github.com/aws-controllers-k8s/community/issues/2031
ServiceLevelCARM: false
# Enables the Team level granularity for CARM. See https://github.com/aws-controllers-k8s/community/issues/2031
TeamLevelCARM: false
6 changes: 5 additions & 1 deletion pkg/resource/rule/manager_factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d21ee23

Please sign in to comment.