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

Lines changed: 5 additions & 5 deletions
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

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

config/controller/deployment.yaml

Lines changed: 15 additions & 1 deletion
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

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

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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 5 additions & 0 deletions
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`

0 commit comments

Comments
 (0)