Skip to content

Commit

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

----------

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

----------

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

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

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

----------

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

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

----------

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 Feb 22, 2024
1 parent f2134fa commit feff1ee
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 15 deletions.
8 changes: 4 additions & 4 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ack_generate_info:
build_date: "2024-02-14T04:02:01Z"
build_hash: 947081ffebdeefcf2c61c4ca6d7e68810bdf9d08
build_date: "2024-02-22T15:47:05Z"
build_hash: c2165b65565ab3a094cfb474c4396f4d14c7ef1e
go_version: go1.22.0
version: v0.30.0
api_directory_checksum: 6a2500584b1f1eb0e6a236568777288d89f93cc0
version: v0.31.0
api_directory_checksum: 94e82d8f26183568f1be0fbcf2d92048e9b95c9e
api_version: v1alpha1
aws_sdk_go_version: v1.49.8
generator_config_info:
Expand Down
19 changes: 19 additions & 0 deletions cmd/controller/main.go

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

12 changes: 12 additions & 0 deletions config/controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ spec:
capabilities:
drop:
- ALL
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
securityContext:
seccompProfile:
type: RuntimeDefault
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/keyspaces-controller
newTag: 0.0.8
newTag: 0.0.9
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ go 1.21
toolchain go1.21.5

require (
github.com/aws-controllers-k8s/runtime v0.30.0
github.com/aws-controllers-k8s/runtime v0.31.0
github.com/aws/aws-sdk-go v1.49.8
github.com/go-logr/logr v1.4.1
github.com/spf13/pflag v1.0.5
k8s.io/api v0.29.0
k8s.io/apimachinery v0.29.0
k8s.io/client-go v0.29.0
sigs.k8s.io/controller-runtime v0.17.0
sigs.k8s.io/controller-runtime v0.17.2
)

require (
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws-controllers-k8s/runtime v0.30.0 h1:AibYRdi/7xUA3t8BA0u8g+J+OioaTAT6R4Vq8hxLiYw=
github.com/aws-controllers-k8s/runtime v0.30.0/go.mod h1:Pv1ozlUaO11KO2mwPN/HzhAtZ70ZDE9UP24mjsbkul0=
github.com/aws-controllers-k8s/runtime v0.31.0 h1:/N5u2x9jB1JD8tGYe6P2rihA/ratHc5b8Au0YRjneyo=
github.com/aws-controllers-k8s/runtime v0.31.0/go.mod h1:6qr9ULkjOHo0fTwEUkE+48IxHqNbHxvvf/9JzGoR8pM=
github.com/aws/aws-sdk-go v1.49.8 h1:gKgEiyJ8CPnr4r6pS06WfNXvp6z34JER1pBIwuocvVA=
github.com/aws/aws-sdk-go v1.49.8/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
Expand Down Expand Up @@ -215,8 +215,8 @@ k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/A
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=
k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI=
k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/controller-runtime v0.17.0 h1:fjJQf8Ukya+VjogLO6/bNX9HE6Y2xpsO5+fyS26ur/s=
sigs.k8s.io/controller-runtime v0.17.0/go.mod h1:+MngTvIQQQhfXtwfdGw/UOQ/aIaqsYywfCINOtwMO/s=
sigs.k8s.io/controller-runtime v0.17.2 h1:FwHwD1CTUemg0pW2otk7/U5/i5m2ymzvOXdbeGOUvw0=
sigs.k8s.io/controller-runtime v0.17.2/go.mod h1:+MngTvIQQQhfXtwfdGw/UOQ/aIaqsYywfCINOtwMO/s=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=
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: keyspaces-chart
description: A Helm chart for the ACK service controller for Amazon Keyspaces (Keyspaces)
version: 0.0.8
appVersion: 0.0.8
version: 0.0.9
appVersion: 0.0.9
home: https://github.com/aws-controllers-k8s/keyspaces-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/keyspaces-controller:0.0.8".
This chart deploys "public.ecr.aws/aws-controllers-k8s/keyspaces-controller:0.0.9".

Check its status by running:
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"
Expand Down
12 changes: 12 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,18 @@ spec:
capabilities:
drop:
- ALL
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
securityContext:
seccompProfile:
type: RuntimeDefault
Expand Down
2 changes: 1 addition & 1 deletion 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/keyspaces-controller
tag: 0.0.8
tag: 0.0.9
pullPolicy: IfNotPresent
pullSecrets: []

Expand Down

0 comments on commit feff1ee

Please sign in to comment.