Skip to content

Commit 499728d

Browse files
authored
Update ACK runtime to v0.19.1 (#158)
Issue #, if available: aws-controllers-k8s/community#1351 Description of changes: * Update ACK runtime to v0.19.1 * ignore ack system tags during tag assertion. Unable to use acktest from test-infra because of key name difference. Key vs key * ignore tags for ModelPackage because tags are only supported for ModelPackageGroup. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 30303d8 commit 499728d

File tree

78 files changed

+2254
-139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2254
-139
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-04-15T17:35:33Z"
3-
build_hash: 50c64871bcaf88b9ee200eb8d6b8245fa8f675eb
2+
build_date: "2022-06-20T23:10:59Z"
3+
build_hash: a45f3b900849ec03c5e16ed2778c0b8e2923ffee
44
go_version: go1.17.5
5-
version: v0.18.4
6-
api_directory_checksum: 9d9c4b7aa0e162d1a592013f0f15d4209d0c3978
5+
version: v0.19.1
6+
api_directory_checksum: c85c803ad116fb0b69ebade89c0bc8686a6a54eb
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: cb5e4958c4f7eda6f35e116de3494a226690820c
10+
file_checksum: b92928815107834d0161ca4114c8b1a639e47b51
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
@@ -540,6 +540,8 @@ resources:
540540
Tags:
541541
compare:
542542
is_ignored: true
543+
tags:
544+
ignore: true
543545
FeatureGroup:
544546
update_conditions_custom_method_name: CustomUpdateConditions
545547
exceptions:
@@ -716,6 +718,8 @@ resources:
716718
OnStart:
717719
compare:
718720
is_ignored: true
721+
tags:
722+
ignore: true
719723
Domain:
720724
exceptions:
721725
errors:

apis/v1alpha1/types.go

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

apis/v1alpha1/zz_generated.deepcopy.go

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

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/sagemaker-controller
9-
newTag: v0.3.1
9+
newTag: v0.3.2

generator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@ resources:
540540
Tags:
541541
compare:
542542
is_ignored: true
543+
tags:
544+
ignore: true
543545
FeatureGroup:
544546
update_conditions_custom_method_name: CustomUpdateConditions
545547
exceptions:
@@ -716,6 +718,8 @@ resources:
716718
OnStart:
717719
compare:
718720
is_ignored: true
721+
tags:
722+
ignore: true
719723
Domain:
720724
exceptions:
721725
errors:

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/sagemaker-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.1
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.1 h1:OBV7vbIbLFRpXdAwJfoPGphhjTa7xSc3pS/kuYlKzRU=
68+
github.com/aws-controllers-k8s/runtime v0.19.1/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=

0 commit comments

Comments
 (0)