Skip to content

Commit f877105

Browse files
authored
Update ACK runtime to v0.18.0 (#33)
### 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.17` to `v0.0.18` Once this PR is merged, release `v0.0.18` will be automatically created for `apigatewayv2-controller` **Please close this PR, if you do not want the new patch release for `apigatewayv2-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building apigatewayv2-controller ==== Copying common custom resource definitions into apigatewayv2 Building Kubernetes API objects for apigatewayv2 Generating deepcopy code for apigatewayv2 Generating custom resource definitions for apigatewayv2 Building service controller for apigatewayv2 Generating RBAC manifests for apigatewayv2 Running gofmt against generated code for apigatewayv2 Updating additional GitHub repository maintenance files ==== building apigatewayv2-controller release artifacts ==== Building release artifacts for apigatewayv2-v0.0.18 Generating common custom resource definitions Generating custom resource definitions for apigatewayv2 Generating RBAC manifests for apigatewayv2 ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 0fc35e6 commit f877105

Some content is hidden

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

51 files changed

+591
-65
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2022-03-03T17:39:38Z"
3-
build_hash: ade2429bb444ab635916395ea5773d141ba135e1
2+
build_date: "2022-03-22T20:32:24Z"
3+
build_hash: 6f659f796434e8fd6443c0b3a5b495daae910035
44
go_version: go1.17.5
5-
version: v0.17.2
5+
version: v0.18.0
66
api_directory_checksum: c69d75f37400a8d4d6eb4362eb743005531a7b2c
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0

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/apigatewayv2-controller
9-
newTag: v0.0.17
9+
newTag: v0.0.18

config/crd/bases/apigatewayv2.services.k8s.aws_apis.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
apiEndpoint:
137142
type: string

config/crd/bases/apigatewayv2.services.k8s.aws_authorizers.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,13 @@ spec:
115115
description: OwnerAccountID is the AWS Account ID of the account
116116
that owns the backend AWS service API resource.
117117
type: string
118+
region:
119+
description: Region is the AWS region in which the resource exists
120+
or will exist.
121+
type: string
118122
required:
119123
- ownerAccountID
124+
- region
120125
type: object
121126
authorizerID:
122127
type: string

config/crd/bases/apigatewayv2.services.k8s.aws_deployments.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,13 @@ spec:
8383
description: OwnerAccountID is the AWS Account ID of the account
8484
that owns the backend AWS service API resource.
8585
type: string
86+
region:
87+
description: Region is the AWS region in which the resource exists
88+
or will exist.
89+
type: string
8690
required:
8791
- ownerAccountID
92+
- region
8893
type: object
8994
autoDeployed:
9095
type: boolean

config/crd/bases/apigatewayv2.services.k8s.aws_integrations.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,13 @@ spec:
143143
description: OwnerAccountID is the AWS Account ID of the account
144144
that owns the backend AWS service API resource.
145145
type: string
146+
region:
147+
description: Region is the AWS region in which the resource exists
148+
or will exist.
149+
type: string
146150
required:
147151
- ownerAccountID
152+
- region
148153
type: object
149154
apiGatewayManaged:
150155
type: boolean

config/crd/bases/apigatewayv2.services.k8s.aws_routes.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,13 @@ spec:
140140
description: OwnerAccountID is the AWS Account ID of the account
141141
that owns the backend AWS service API resource.
142142
type: string
143+
region:
144+
description: Region is the AWS region in which the resource exists
145+
or will exist.
146+
type: string
143147
required:
144148
- ownerAccountID
149+
- region
145150
type: object
146151
apiGatewayManaged:
147152
type: boolean

config/crd/bases/apigatewayv2.services.k8s.aws_stages.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,13 @@ spec:
155155
description: OwnerAccountID is the AWS Account ID of the account
156156
that owns the backend AWS service API resource.
157157
type: string
158+
region:
159+
description: Region is the AWS region in which the resource exists
160+
or will exist.
161+
type: string
158162
required:
159163
- ownerAccountID
164+
- region
160165
type: object
161166
apiGatewayManaged:
162167
type: boolean

config/crd/bases/apigatewayv2.services.k8s.aws_vpclinks.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,13 @@ spec:
7878
description: OwnerAccountID is the AWS Account ID of the account
7979
that owns the backend AWS service API resource.
8080
type: string
81+
region:
82+
description: Region is the AWS region in which the resource exists
83+
or will exist.
84+
type: string
8185
required:
8286
- ownerAccountID
87+
- region
8388
type: object
8489
conditions:
8590
description: All CRS managed by ACK have a common `Status.Conditions`

0 commit comments

Comments
 (0)