Skip to content

Commit e28ce3a

Browse files
authored
Update to ACK runtime v0.18.4, code-generator v0.18.4 (#154)
### Update to ACK runtime `v0.18.4`, code-generator `v0.18.4` ---------- * ACK code-generator `v0.18.4` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.18.4) * ACK runtime `v0.18.4` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.18.4) ---------- NOTE: This PR increments the release version of service controller from `v0.3.0` to `v0.3.1` Once this PR is merged, release `v0.3.1` will be automatically created for `sagemaker-controller` **Please close this PR, if you do not want the new patch release for `sagemaker-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building sagemaker-controller ==== Copying common custom resource definitions into sagemaker Building Kubernetes API objects for sagemaker Generating deepcopy code for sagemaker Generating custom resource definitions for sagemaker Building service controller for sagemaker Generating RBAC manifests for sagemaker Running gofmt against generated code for sagemaker Updating additional GitHub repository maintenance files ==== building sagemaker-controller release artifacts ==== Building release artifacts for sagemaker-v0.3.1 Generating common custom resource definitions Generating custom resource definitions for sagemaker Generating RBAC manifests for sagemaker ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 808af2a commit e28ce3a

File tree

387 files changed

+1235
-91
lines changed

Some content is hidden

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

387 files changed

+1235
-91
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2022-02-25T09:07:07Z"
3-
build_hash: edec6dad2fbd530d615d01e96f5251a806e1f36d
4-
go_version: go1.17.1
5-
version: v0.16.5
6-
api_directory_checksum: 9ce7978afb3760510f92df5a0b5797f9293ce2d5
2+
build_date: "2022-04-15T17:35:33Z"
3+
build_hash: 50c64871bcaf88b9ee200eb8d6b8245fa8f675eb
4+
go_version: go1.17.5
5+
version: v0.18.4
6+
api_directory_checksum: 9d9c4b7aa0e162d1a592013f0f15d4209d0c3978
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:

cmd/controller/main.go

+8-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/deployment.yaml

+15-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ spec:
2828
args:
2929
- --aws-region
3030
- "$(AWS_REGION)"
31+
- --aws-endpoint-url
32+
- "$(AWS_ENDPOINT_URL)"
3133
- --enable-development-logging
3234
- "$(ACK_ENABLE_DEVELOPMENT_LOGGING)"
3335
- --log-level
@@ -49,10 +51,22 @@ spec:
4951
cpu: 100m
5052
memory: 200Mi
5153
env:
52-
- name: K8S_NAMESPACE
54+
- name: ACK_SYSTEM_NAMESPACE
5355
valueFrom:
5456
fieldRef:
5557
fieldPath: metadata.namespace
58+
- name: AWS_REGION
59+
value: ""
60+
- name: AWS_ENDPOINT_URL
61+
value: ""
62+
- name: ACK_WATCH_NAMESPACE
63+
value: ""
64+
- name: ACK_ENABLE_DEVELOPMENT_LOGGING
65+
value: "false"
66+
- name: ACK_LOG_LEVEL
67+
value: "info"
68+
- name: ACK_RESOURCE_TAGS
69+
value: "services.k8s.aws/managed=true,services.k8s.aws/created=%UTCNOW%,services.k8s.aws/namespace=%KUBERNETES_NAMESPACE%"
5670
securityContext:
5771
allowPrivilegeEscalation: false
5872
privileged: false

config/controller/kustomization.yaml

+1-1
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.0
9+
newTag: v0.3.1

config/crd/bases/sagemaker.services.k8s.aws_apps.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,13 @@ spec:
118118
description: OwnerAccountID is the AWS Account ID of the account
119119
that owns the backend AWS service API resource.
120120
type: string
121+
region:
122+
description: Region is the AWS region in which the resource exists
123+
or will exist.
124+
type: string
121125
required:
122126
- ownerAccountID
127+
- region
123128
type: object
124129
conditions:
125130
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_dataqualityjobdefinitions.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,13 @@ spec:
248248
description: OwnerAccountID is the AWS Account ID of the account
249249
that owns the backend AWS service API resource.
250250
type: string
251+
region:
252+
description: Region is the AWS region in which the resource exists
253+
or will exist.
254+
type: string
251255
required:
252256
- ownerAccountID
257+
- region
253258
type: object
254259
conditions:
255260
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_domains.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,13 @@ spec:
283283
description: OwnerAccountID is the AWS Account ID of the account
284284
that owns the backend AWS service API resource.
285285
type: string
286+
region:
287+
description: Region is the AWS region in which the resource exists
288+
or will exist.
289+
type: string
286290
required:
287291
- ownerAccountID
292+
- region
288293
type: object
289294
conditions:
290295
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_endpointconfigs.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,13 @@ spec:
213213
description: OwnerAccountID is the AWS Account ID of the account
214214
that owns the backend AWS service API resource.
215215
type: string
216+
region:
217+
description: Region is the AWS region in which the resource exists
218+
or will exist.
219+
type: string
216220
required:
217221
- ownerAccountID
222+
- region
218223
type: object
219224
conditions:
220225
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_endpoints.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,13 @@ spec:
107107
description: OwnerAccountID is the AWS Account ID of the account
108108
that owns the backend AWS service API resource.
109109
type: string
110+
region:
111+
description: Region is the AWS region in which the resource exists
112+
or will exist.
113+
type: string
110114
required:
111115
- ownerAccountID
116+
- region
112117
type: object
113118
conditions:
114119
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_featuregroups.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,13 @@ spec:
209209
description: OwnerAccountID is the AWS Account ID of the account
210210
that owns the backend AWS service API resource.
211211
type: string
212+
region:
213+
description: Region is the AWS region in which the resource exists
214+
or will exist.
215+
type: string
212216
required:
213217
- ownerAccountID
218+
- region
214219
type: object
215220
conditions:
216221
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_hyperparametertuningjobs.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -887,8 +887,13 @@ spec:
887887
description: OwnerAccountID is the AWS Account ID of the account
888888
that owns the backend AWS service API resource.
889889
type: string
890+
region:
891+
description: Region is the AWS region in which the resource exists
892+
or will exist.
893+
type: string
890894
required:
891895
- ownerAccountID
896+
- region
892897
type: object
893898
bestTrainingJob:
894899
description: A TrainingJobSummary object that describes the training

config/crd/bases/sagemaker.services.k8s.aws_modelbiasjobdefinitions.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,13 @@ spec:
238238
description: OwnerAccountID is the AWS Account ID of the account
239239
that owns the backend AWS service API resource.
240240
type: string
241+
region:
242+
description: Region is the AWS region in which the resource exists
243+
or will exist.
244+
type: string
241245
required:
242246
- ownerAccountID
247+
- region
243248
type: object
244249
conditions:
245250
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_modelexplainabilityjobdefinitions.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,13 @@ spec:
233233
description: OwnerAccountID is the AWS Account ID of the account
234234
that owns the backend AWS service API resource.
235235
type: string
236+
region:
237+
description: Region is the AWS region in which the resource exists
238+
or will exist.
239+
type: string
236240
required:
237241
- ownerAccountID
242+
- region
238243
type: object
239244
conditions:
240245
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_modelpackagegroups.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,13 @@ spec:
9898
description: OwnerAccountID is the AWS Account ID of the account
9999
that owns the backend AWS service API resource.
100100
type: string
101+
region:
102+
description: Region is the AWS region in which the resource exists
103+
or will exist.
104+
type: string
101105
required:
102106
- ownerAccountID
107+
- region
103108
type: object
104109
conditions:
105110
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_modelpackages.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,13 @@ spec:
367367
description: OwnerAccountID is the AWS Account ID of the account
368368
that owns the backend AWS service API resource.
369369
type: string
370+
region:
371+
description: Region is the AWS region in which the resource exists
372+
or will exist.
373+
type: string
370374
required:
371375
- ownerAccountID
376+
- region
372377
type: object
373378
conditions:
374379
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_modelqualityjobdefinitions.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,13 @@ spec:
251251
description: OwnerAccountID is the AWS Account ID of the account
252252
that owns the backend AWS service API resource.
253253
type: string
254+
region:
255+
description: Region is the AWS region in which the resource exists
256+
or will exist.
257+
type: string
254258
required:
255259
- ownerAccountID
260+
- region
256261
type: object
257262
conditions:
258263
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_models.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,13 @@ spec:
224224
description: OwnerAccountID is the AWS Account ID of the account
225225
that owns the backend AWS service API resource.
226226
type: string
227+
region:
228+
description: Region is the AWS region in which the resource exists
229+
or will exist.
230+
type: string
227231
required:
228232
- ownerAccountID
233+
- region
229234
type: object
230235
conditions:
231236
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_monitoringschedules.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,13 @@ spec:
281281
description: OwnerAccountID is the AWS Account ID of the account
282282
that owns the backend AWS service API resource.
283283
type: string
284+
region:
285+
description: Region is the AWS region in which the resource exists
286+
or will exist.
287+
type: string
284288
required:
285289
- ownerAccountID
290+
- region
286291
type: object
287292
conditions:
288293
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_notebookinstancelifecycleconfigs.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,13 @@ spec:
116116
description: OwnerAccountID is the AWS Account ID of the account
117117
that owns the backend AWS service API resource.
118118
type: string
119+
region:
120+
description: Region is the AWS region in which the resource exists
121+
or will exist.
122+
type: string
119123
required:
120124
- ownerAccountID
125+
- region
121126
type: object
122127
conditions:
123128
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_notebookinstances.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,13 @@ spec:
196196
description: OwnerAccountID is the AWS Account ID of the account
197197
that owns the backend AWS service API resource.
198198
type: string
199+
region:
200+
description: Region is the AWS region in which the resource exists
201+
or will exist.
202+
type: string
199203
required:
200204
- ownerAccountID
205+
- region
201206
type: object
202207
conditions:
203208
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_processingjobs.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,13 @@ spec:
343343
description: OwnerAccountID is the AWS Account ID of the account
344344
that owns the backend AWS service API resource.
345345
type: string
346+
region:
347+
description: Region is the AWS region in which the resource exists
348+
or will exist.
349+
type: string
346350
required:
347351
- ownerAccountID
352+
- region
348353
type: object
349354
conditions:
350355
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_trainingjobs.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,13 @@ spec:
524524
description: OwnerAccountID is the AWS Account ID of the account
525525
that owns the backend AWS service API resource.
526526
type: string
527+
region:
528+
description: Region is the AWS region in which the resource exists
529+
or will exist.
530+
type: string
527531
required:
528532
- ownerAccountID
533+
- region
529534
type: object
530535
conditions:
531536
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_transformjobs.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,13 @@ spec:
240240
description: OwnerAccountID is the AWS Account ID of the account
241241
that owns the backend AWS service API resource.
242242
type: string
243+
region:
244+
description: Region is the AWS region in which the resource exists
245+
or will exist.
246+
type: string
243247
required:
244248
- ownerAccountID
249+
- region
245250
type: object
246251
conditions:
247252
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/sagemaker.services.k8s.aws_userprofiles.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,13 @@ spec:
221221
description: OwnerAccountID is the AWS Account ID of the account
222222
that owns the backend AWS service API resource.
223223
type: string
224+
region:
225+
description: Region is the AWS region in which the resource exists
226+
or will exist.
227+
type: string
224228
required:
225229
- ownerAccountID
230+
- region
226231
type: object
227232
conditions:
228233
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/common/bases/services.k8s.aws_adoptedresources.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.0
7+
controller-gen.kubebuilder.io/version: v0.7.0
88
creationTimestamp: null
99
name: adoptedresources.services.k8s.aws
1010
spec:
@@ -57,9 +57,8 @@ spec:
5757
type: string
5858
type: object
5959
kubernetes:
60-
description: TargetKubernetesResource provides all the values necessary
61-
to identify a given ACK type and override any metadata values when
62-
creating a resource of that type.
60+
description: ResourceWithMetadata provides the values necessary to
61+
create a Kubernetes resource and override any of its metadata values.
6362
properties:
6463
group:
6564
type: string

0 commit comments

Comments
 (0)