Skip to content

Commit 5ac4c50

Browse files
authored
ACK runtime update to v0.19.0 (#83)
Issue #, if available: aws-controllers-k8s/community#1338 Description of changes: * Update ACK runtime to v0.19.0 * Ignore tags for ScalableTarget, ScalingPolicy because these resources do not support AWS tags. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent b5b1e2d commit 5ac4c50

File tree

13 files changed

+73
-21
lines changed

13 files changed

+73
-21
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-04-15T17:19:34Z"
3-
build_hash: 50c64871bcaf88b9ee200eb8d6b8245fa8f675eb
2+
build_date: "2022-06-14T04:56:33Z"
3+
build_hash: a133935a9a93591a9e1ba9d5ca940cb83a1353b4
44
go_version: go1.17.5
5-
version: v0.18.4
5+
version: v0.19.0
66
api_directory_checksum: 6a10685980ee0dfddcf83fb3555f58e31d1e24c1
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: 08f4d14e9bb9273756d31cdfea0a101a5642ce66
10+
file_checksum: b2ac33cc79c75dfc65066ea3fca66ad781d4ae18
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ resources:
4242
RoleARN:
4343
late_initialize:
4444
min_backoff_seconds: 5
45+
tags:
46+
ignore: true
4547
ScalingPolicy:
4648
hooks:
4749
sdk_read_many_post_set_output:
@@ -63,6 +65,8 @@ resources:
6365
from:
6466
operation: DescribeScalingPolicies
6567
path: ScalingPolicies..CreationTime
68+
tags:
69+
ignore: true
6670
ignore:
6771
resource_names:
6872
- ScheduledAction

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/applicationautoscaling-controller
9-
newTag: v0.2.9
9+
newTag: v0.2.10

generator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ resources:
4242
RoleARN:
4343
late_initialize:
4444
min_backoff_seconds: 5
45+
tags:
46+
ignore: true
4547
ScalingPolicy:
4648
hooks:
4749
sdk_read_many_post_set_output:
@@ -63,6 +65,8 @@ resources:
6365
from:
6466
operation: DescribeScalingPolicies
6567
path: ScalingPolicies..CreationTime
68+
tags:
69+
ignore: true
6670
ignore:
6771
resource_names:
6872
- ScheduledAction

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/aws-controllers-k8s/applicationautoscaling-controller
33
go 1.17
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.18.4
6+
github.com/aws-controllers-k8s/runtime v0.19.0
77
github.com/aws/aws-sdk-go v1.42.0
88
github.com/ghodss/yaml v1.0.0
99
github.com/go-logr/logr v1.2.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hC
6464
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
6565
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
6666
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
67-
github.com/aws-controllers-k8s/runtime v0.18.4 h1:iwLYNwhbuiWZrHPoulGj75oT+alE91wCNkF1FUELiAw=
68-
github.com/aws-controllers-k8s/runtime v0.18.4/go.mod h1:oA8ML1/LL3chPn26P6SzBNu1CUI2nekB+PTqykNs0qU=
67+
github.com/aws-controllers-k8s/runtime v0.19.0 h1:+O5a6jBSBAd8XTNMrVCIYu4G+ZUPZe/G5eopVFO18Dc=
68+
github.com/aws-controllers-k8s/runtime v0.19.0/go.mod h1:oA8ML1/LL3chPn26P6SzBNu1CUI2nekB+PTqykNs0qU=
6969
github.com/aws/aws-sdk-go v1.42.0 h1:BMZws0t8NAhHFsfnT3B40IwD13jVDG5KerlRksctVIw=
7070
github.com/aws/aws-sdk-go v1.42.0/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
7171
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: applicationautoscaling-chart
33
description: A Helm chart for the ACK service controller for AWS Auto Scaling (AutoScaling)
4-
version: v0.2.9
5-
appVersion: v0.2.9
4+
version: v0.2.10
5+
appVersion: v0.2.10
66
home: https://github.com/aws-controllers-k8s/applicationautoscaling-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/applicationautoscaling-controller:v0.2.9".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/applicationautoscaling-controller:v0.2.10".
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)