Skip to content

Commit b659727

Browse files
authored
Fixing VPC.SubnetID reference type (#62)
Issue #, if available: Description of changes: Fixing VPC.SubnetIdRef resource. Correcting the reference path and resource. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 91ab2a4 commit b659727

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-10-14T20:13:10Z"
2+
build_date: "2022-10-17T20:12:02Z"
33
build_hash: 5ee0ac052c54f008dff50f6f5ebb73f2cf3a0bd7
44
go_version: go1.19
55
version: v0.19.3-11-g5ee0ac0-dirty
66
api_directory_checksum: 33517b27f08163345ca25ea0d08179bd59580742
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.93
99
generator_config_info:
10-
file_checksum: 0f3c62b7a066343d08fa0a605bcc2011c39e788e
10+
file_checksum: fc936f6c681c03e4ad3d8eaa5588c9acb3caabe1
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ resources:
1010
fields:
1111
VPCConfig.SubnetIDs:
1212
references:
13-
resource: VPC
14-
path: Status.VPCID
13+
resource: Subnet
14+
path: Status.SubnetID
1515
service_name: ec2
1616
KMSKeyARN:
1717
references:

config/rbac/cluster-role-controller.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ rules:
3434
- apiGroups:
3535
- ec2.services.k8s.aws
3636
resources:
37-
- vpcs
37+
- subnets
3838
verbs:
3939
- get
4040
- list
4141
- apiGroups:
4242
- ec2.services.k8s.aws
4343
resources:
44-
- vpcs/status
44+
- subnets/status
4545
verbs:
4646
- get
4747
- list

generator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ resources:
1010
fields:
1111
VPCConfig.SubnetIDs:
1212
references:
13-
resource: VPC
14-
path: Status.VPCID
13+
resource: Subnet
14+
path: Status.SubnetID
1515
service_name: ec2
1616
KMSKeyARN:
1717
references:

helm/templates/cluster-role-controller.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ rules:
4949
- apiGroups:
5050
- ec2.services.k8s.aws
5151
resources:
52-
- vpcs
52+
- subnets
5353
verbs:
5454
- get
5555
- list
5656
- apiGroups:
5757
- ec2.services.k8s.aws
5858
resources:
59-
- vpcs/status
59+
- subnets/status
6060
verbs:
6161
- get
6262
- list

pkg/resource/function/references.go

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

0 commit comments

Comments
 (0)