Skip to content

Commit

Permalink
Update to ACK runtime v0.40.0, code-generator v0.40.0 (#33)
Browse files Browse the repository at this point in the history
### 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 `ssm-controller`

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

----------

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

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

----------

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 Jan 14, 2025
1 parent 8dde7cc commit d1a03bc
Show file tree
Hide file tree
Showing 11 changed files with 72 additions and 14 deletions.
6 changes: 3 additions & 3 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-11-21T18:52:39Z"
build_hash: 655d51f3ad38633c3f488d02dce8a2298a7f819f
build_date: "2024-12-09T17:27:00Z"
build_hash: 631aeb190e332addb8379672df6367a0875dce88
go_version: go1.23.3
version: v0.39.1-4-g655d51f
version: v0.40.0
api_directory_checksum: a2f35b3c891c7e51fae98918c04ce54056af56b4
api_version: v1alpha1
aws_sdk_go_version: v1.49.0
Expand Down
4 changes: 4 additions & 0 deletions config/controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
- "$(LEADER_ELECTION_NAMESPACE)"
- --reconcile-default-max-concurrent-syncs
- "$(RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS)"
- --feature-gates
- "$(FEATURE_GATES)"
image: controller:latest
name: controller
ports:
Expand Down Expand Up @@ -76,6 +78,8 @@ spec:
value: "ack-system"
- name: "RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS"
value: "1"
- name: "FEATURE_GATES"
value: ""
securityContext:
allowPrivilegeEscalation: false
privileged: false
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/ssm-controller
newTag: 1.0.0
newTag: 1.0.1
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.5

require (
github.com/aws-controllers-k8s/runtime v0.39.0
github.com/aws-controllers-k8s/runtime v0.40.0
github.com/aws/aws-sdk-go v1.49.0
github.com/go-logr/logr v1.4.2
github.com/spf13/pflag v1.0.5
k8s.io/api v0.31.0
k8s.io/apimachinery v0.31.0
k8s.io/client-go v0.31.0
sigs.k8s.io/controller-runtime v0.19.0
Expand All @@ -22,7 +24,6 @@ require (
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-logr/logr v1.4.2 // 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.31.0 // indirect
k8s.io/apiextensions-apiserver v0.31.0 // indirect
k8s.io/klog/v2 v2.130.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.39.0 h1:IgOXluSzvb4UcDr9eU7SPw5MJnL7kt5R6DuF5Qu9zVQ=
github.com/aws-controllers-k8s/runtime v0.39.0/go.mod h1:G07g26y1cxyZO6Ngp+LwXf03CqFyLNL7os4Py4IdyGY=
github.com/aws-controllers-k8s/runtime v0.40.0 h1:FplFYgzCIbQsPafarP3dy/4bG1uGR8G1OLYOWO4a7Lc=
github.com/aws-controllers-k8s/runtime v0.40.0/go.mod h1:G07g26y1cxyZO6Ngp+LwXf03CqFyLNL7os4Py4IdyGY=
github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY=
github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
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: ssm-chart
description: A Helm chart for the ACK service controller for Systems Manager (SSM)
version: 1.0.0
appVersion: 1.0.0
version: 1.0.1
appVersion: 1.0.1
home: https://github.com/aws-controllers-k8s/ssm-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/ssm-controller:1.0.0".
This chart deploys "public.ecr.aws/aws-controllers-k8s/ssm-controller:1.0.1".

Check its status by running:
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"
Expand Down
6 changes: 4 additions & 2 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/ssm-controller
tag: 1.0.0
tag: 1.0.1
pullPolicy: IfNotPresent
pullSecrets: []

Expand Down Expand Up @@ -163,4 +163,6 @@ featureGates:
# Enables the Team level granularity for CARM. See https://github.com/aws-controllers-k8s/community/issues/2031
TeamLevelCARM: false
# Enable ReadOnlyResources feature/annotation.
ReadOnlyResources: false
ReadOnlyResources: false
# Enable ResourceAdoption feature/annotation.
ResourceAdoption: false
20 changes: 20 additions & 0 deletions pkg/resource/document/resource.go

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

16 changes: 16 additions & 0 deletions pkg/resource/patch_baseline/resource.go

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

16 changes: 16 additions & 0 deletions pkg/resource/resource_data_sync/resource.go

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

0 comments on commit d1a03bc

Please sign in to comment.