Skip to content

Commit 645d317

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

Some content is hidden

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

52 files changed

+581
-24
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-03-15T18:06:47Z"
3-
build_hash: 00cd850c16117752abe18558326a508436565b1a
4-
go_version: go1.17.8
5-
version: v0.17.2
6-
api_directory_checksum: 380fda39b038b24d5cb78d2680fdfd8f3ac42607
2+
build_date: "2022-03-22T20:05:53Z"
3+
build_hash: 6f659f796434e8fd6443c0b3a5b495daae910035
4+
go_version: go1.17.5
5+
version: v0.18.0
6+
api_directory_checksum: c9ac09820420d1c7cbe615b8baa14da9f72aab08
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: 8f2761c7fff3c2af0a06aa95685d7a47b8a69345
10+
file_checksum: 8cdcf3f86b878ab3f30b3e102a5a6b1df8dfafb3
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

config/controller/deployment.yaml

Lines changed: 14 additions & 0 deletions
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
@@ -53,6 +55,18 @@ spec:
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/ec2-controller
9-
newTag: v0.0.10
9+
newTag: v0.0.11

config/crd/bases/ec2.services.k8s.aws_dhcpoptions.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,13 @@ spec:
9595
description: OwnerAccountID is the AWS Account ID of the account
9696
that owns the backend AWS service API resource.
9797
type: string
98+
region:
99+
description: Region is the AWS region in which the resource exists
100+
or will exist.
101+
type: string
98102
required:
99103
- ownerAccountID
104+
- region
100105
type: object
101106
conditions:
102107
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/ec2.services.k8s.aws_elasticipaddresses.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,13 @@ spec:
112112
description: OwnerAccountID is the AWS Account ID of the account
113113
that owns the backend AWS service API resource.
114114
type: string
115+
region:
116+
description: Region is the AWS region in which the resource exists
117+
or will exist.
118+
type: string
115119
required:
116120
- ownerAccountID
121+
- region
117122
type: object
118123
allocationID:
119124
description: '[EC2-VPC] The ID that Amazon Web Services assigns to

config/crd/bases/ec2.services.k8s.aws_internetgateways.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,13 @@ spec:
8181
description: OwnerAccountID is the AWS Account ID of the account
8282
that owns the backend AWS service API resource.
8383
type: string
84+
region:
85+
description: Region is the AWS region in which the resource exists
86+
or will exist.
87+
type: string
8488
required:
8589
- ownerAccountID
90+
- region
8691
type: object
8792
attachments:
8893
description: Any VPCs attached to the internet gateway.

config/crd/bases/ec2.services.k8s.aws_routetables.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,13 @@ spec:
129129
description: OwnerAccountID is the AWS Account ID of the account
130130
that owns the backend AWS service API resource.
131131
type: string
132+
region:
133+
description: Region is the AWS region in which the resource exists
134+
or will exist.
135+
type: string
132136
required:
133137
- ownerAccountID
138+
- region
134139
type: object
135140
associations:
136141
description: The associations between the route table and one or more

config/crd/bases/ec2.services.k8s.aws_securitygroups.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,13 @@ spec:
113113
description: OwnerAccountID is the AWS Account ID of the account
114114
that owns the backend AWS service API resource.
115115
type: string
116+
region:
117+
description: Region is the AWS region in which the resource exists
118+
or will exist.
119+
type: string
116120
required:
117121
- ownerAccountID
122+
- region
118123
type: object
119124
conditions:
120125
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/ec2.services.k8s.aws_subnets.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,13 @@ spec:
130130
description: OwnerAccountID is the AWS Account ID of the account
131131
that owns the backend AWS service API resource.
132132
type: string
133+
region:
134+
description: Region is the AWS region in which the resource exists
135+
or will exist.
136+
type: string
133137
required:
134138
- ownerAccountID
139+
- region
135140
type: object
136141
assignIPv6AddressOnCreation:
137142
description: Indicates whether a network interface created in this

config/crd/bases/ec2.services.k8s.aws_transitgateways.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`

0 commit comments

Comments
 (0)