Skip to content

Commit 5e5a5dc

Browse files
authored
Update ACK runtime to v0.19.1 (#90)
Issue #, if available: aws-controllers-k8s/community#1350 Description of changes: * Update ACK runtime to v0.19.1 * ignore ACK system tags from the tag assertion in e2e tests By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 48abf6c commit 5e5a5dc

38 files changed

+718
-59
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-06-15T23:33:58Z"
3-
build_hash: 6acf40fe3e3cfd97b799ef7cbf1e89e01c3db8f7
4-
go_version: go1.18.2
5-
version: v0.18.4-15-g6acf40f
6-
api_directory_checksum: 7ded8dc716ff929b62e5d5b43a2c656a55f85985
2+
build_date: "2022-06-17T17:52:08Z"
3+
build_hash: a45f3b900849ec03c5e16ed2778c0b8e2923ffee
4+
go_version: go1.17.5
5+
version: v0.19.1
6+
api_directory_checksum: 4bdcfc19ab3ec6ae11525e6eb3a201e4a25b00fa
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: 88ac4e4fff9ca9605e40c329178021face7472a8
10+
file_checksum: c9c7e5d1decf6b529a8b451570ccc4fdfe1e6f79
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ resources:
199199
fields:
200200
GlobalClusterIdentifier:
201201
is_primary_key: true
202+
tags:
203+
ignore: true
202204
DBParameterGroup:
203205
renames:
204206
operations:

cmd/controller/main.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ spec:
6666
- name: ACK_LOG_LEVEL
6767
value: "info"
6868
- name: ACK_RESOURCE_TAGS
69-
value: "services.k8s.aws/managed=true,services.k8s.aws/created=%UTCNOW%,services.k8s.aws/namespace=%KUBERNETES_NAMESPACE%"
69+
value: "services.k8s.aws/controller-version=%CONTROLLER_SERVICE%-%CONTROLLER_VERSION%,services.k8s.aws/namespace=%K8S_NAMESPACE%"
7070
securityContext:
7171
allowPrivilegeEscalation: false
7272
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/rds-controller
9-
newTag: v0.0.24
9+
newTag: v0.0.25

generator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ resources:
199199
fields:
200200
GlobalClusterIdentifier:
201201
is_primary_key: true
202+
tags:
203+
ignore: true
202204
DBParameterGroup:
203205
renames:
204206
operations:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.17
44

55
require (
66
github.com/aws-controllers-k8s/kms-controller v0.0.15
7-
github.com/aws-controllers-k8s/runtime v0.18.4
7+
github.com/aws-controllers-k8s/runtime v0.19.1
88
github.com/aws/aws-sdk-go v1.42.0
99
github.com/go-logr/logr v1.2.0
1010
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj
6666
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
6767
github.com/aws-controllers-k8s/kms-controller v0.0.15 h1:v9LLAE2Q517CvlP80EgXNq2juGCTLUfpn1OjBGY+n8Y=
6868
github.com/aws-controllers-k8s/kms-controller v0.0.15/go.mod h1:EbxvdZDS2n3JCMmhfjhavSutzt/9J0jXSvGj2bufS68=
69-
github.com/aws-controllers-k8s/runtime v0.18.4 h1:iwLYNwhbuiWZrHPoulGj75oT+alE91wCNkF1FUELiAw=
7069
github.com/aws-controllers-k8s/runtime v0.18.4/go.mod h1:oA8ML1/LL3chPn26P6SzBNu1CUI2nekB+PTqykNs0qU=
70+
github.com/aws-controllers-k8s/runtime v0.19.1 h1:OBV7vbIbLFRpXdAwJfoPGphhjTa7xSc3pS/kuYlKzRU=
71+
github.com/aws-controllers-k8s/runtime v0.19.1/go.mod h1:oA8ML1/LL3chPn26P6SzBNu1CUI2nekB+PTqykNs0qU=
7172
github.com/aws/aws-sdk-go v1.42.0 h1:BMZws0t8NAhHFsfnT3B40IwD13jVDG5KerlRksctVIw=
7273
github.com/aws/aws-sdk-go v1.42.0/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
7374
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=

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: rds-chart
33
description: A Helm chart for the ACK service controller for Amazon Relational Database Service (RDS)
4-
version: v0.0.24
5-
appVersion: v0.0.24
4+
version: v0.0.25
5+
appVersion: v0.0.25
66
home: https://github.com/aws-controllers-k8s/rds-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/rds-controller:v0.0.24".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/rds-controller:v0.0.25".
33

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

0 commit comments

Comments
 (0)