Skip to content

Commit 2dc7d8e

Browse files
authored
remove ClientToken from VPCEndpoint.Spec (#87)
Issue #, if available: aws-controllers-k8s/community#1222 Description of changes: removes `ClientToken` from `VPCEndpoint.Spec` to no longer expose the field to user By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 22e80dc commit 2dc7d8e

File tree

9 files changed

+22
-48
lines changed

9 files changed

+22
-48
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-08-30T21:16:34Z"
2+
build_date: "2022-09-06T18:39:23Z"
33
build_hash: 87477ae8ca8ac6ddb8c565bbd910cc7e30f55ed0
44
go_version: go1.18.1
55
version: v0.19.3
6-
api_directory_checksum: 5ce1a3bbdc20416fec04fb2551900c42d8b2034e
6+
api_directory_checksum: 6b7708a8cacb471891466f5851f248e0e895f2c2
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: 1e5e8980ffcaabb7164424dd6eda12d5e693f55b
10+
file_checksum: 9586b277b014daec6188d09741c607c96b1201fb
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ignore:
2828
- CreateVpcInput.TagSpecifications
2929
- CreateVpcEndpointInput.DryRun
3030
- CreateVpcEndpointInput.TagSpecifications
31+
- CreateVpcEndpointInput.ClientToken
3132
- DeleteRouteInput.DryRun
3233
- DeleteRouteInput.RouteTableId
3334
# support EC2-VPC only

apis/v1alpha1/vpc_endpoint.go

Lines changed: 0 additions & 3 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: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ spec:
3737
description: "VpcEndpointSpec defines the desired state of VpcEndpoint.
3838
\n Describes a VPC endpoint."
3939
properties:
40-
clientToken:
41-
description: Unique, case-sensitive identifier that you provide to
42-
ensure the idempotency of the request. For more information, see
43-
How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
44-
type: string
4540
policyDocument:
4641
description: (Interface and gateway endpoints) A policy to attach
4742
to the endpoint that controls access to the service. The policy

generator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ignore:
2828
- CreateVpcInput.TagSpecifications
2929
- CreateVpcEndpointInput.DryRun
3030
- CreateVpcEndpointInput.TagSpecifications
31+
- CreateVpcEndpointInput.ClientToken
3132
- DeleteRouteInput.DryRun
3233
- DeleteRouteInput.RouteTableId
3334
# support EC2-VPC only

helm/crds/ec2.services.k8s.aws_vpcendpoints.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ spec:
3737
description: "VpcEndpointSpec defines the desired state of VpcEndpoint.
3838
\n Describes a VPC endpoint."
3939
properties:
40-
clientToken:
41-
description: Unique, case-sensitive identifier that you provide to
42-
ensure the idempotency of the request. For more information, see
43-
How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
44-
type: string
4540
policyDocument:
4641
description: (Interface and gateway endpoints) A policy to attach
4742
to the endpoint that controls access to the service. The policy

pkg/resource/vpc_endpoint/delta.go

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

pkg/resource/vpc_endpoint/sdk.go

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

0 commit comments

Comments
 (0)