Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ARN field from AWSResourceReference #3835

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

Ankitasw
Copy link
Member

@Ankitasw Ankitasw commented Nov 9, 2022

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
We deprecated ARN field from AWSResourceReference in this PR and decided to remove it once v1beta2 API changes are in. This PR removes that field.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes Part of #2355

Special notes for your reviewer:

Checklist:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@k8s-ci-robot k8s-ci-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Nov 9, 2022
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 9, 2022
@richardcase
Copy link
Member

/milestone v2.0.0

@k8s-ci-robot k8s-ci-robot added this to the v2.0.0 milestone Nov 9, 2022
@Ankitasw Ankitasw force-pushed the remove-ARN-field branch 2 times, most recently from bc74b61 to d6dc94f Compare November 9, 2022 10:15
@Ankitasw
Copy link
Member Author

Ankitasw commented Nov 9, 2022

/test pull-cluster-api-provider-aws-e2e-blocking

@Ankitasw Ankitasw changed the title Remove deprecated ARN field from AWSResourceReference Remove deprecated fields from CAPA APIs Nov 9, 2022
@Ankitasw Ankitasw changed the title Remove deprecated fields from CAPA APIs Remove/refactor fields from CAPA APIs Nov 9, 2022
@Ankitasw Ankitasw changed the title Remove/refactor fields from CAPA APIs [WIP] Remove/refactor fields from CAPA APIs Nov 9, 2022
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 9, 2022
@Ankitasw Ankitasw force-pushed the remove-ARN-field branch 2 times, most recently from 0f5bf77 to 1505c2c Compare November 9, 2022 15:51
@Ankitasw
Copy link
Member Author

Ankitasw commented Nov 9, 2022

/test pull-cluster-api-provider-aws-e2e

@Ankitasw Ankitasw changed the title [WIP] Remove/refactor fields from CAPA APIs Remove/refactor fields from CAPA APIs Nov 9, 2022
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 9, 2022
@Ankitasw
Copy link
Member Author

Ankitasw commented Nov 9, 2022

/test pull-cluster-api-provider-aws-e2e-eks

@Ankitasw
Copy link
Member Author

/retest

@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 10, 2022
@Ankitasw
Copy link
Member Author

/test pull-cluster-api-provider-aws-e2e

@Ankitasw
Copy link
Member Author

Would split into small PRs so that things which are passing can merge soon

Copy link
Member

@AverageMarcus AverageMarcus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 11, 2022
@richardcase
Copy link
Member

Non-eks e2e is passing. Lets check the eks side:

/test pull-cluster-api-provider-aws-e2e-eks

@richardcase
Copy link
Member

We can ignore the API diff error in this instances as we are deliberatrly breaking the contract (but we have conversions):

/override pull-cluster-api-provider-aws-apidiff-main

@k8s-ci-robot
Copy link
Contributor

@richardcase: Overrode contexts on behalf of richardcase: pull-cluster-api-provider-aws-apidiff-main

In response to this:

We can ignore the API diff error in this instances as we are deliberatrly breaking the contract (but we have conversions):

/override pull-cluster-api-provider-aws-apidiff-main

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@Ankitasw
Copy link
Member Author

We can ignore the API diff error in this instances as we are deliberatrly breaking the contract (but we have conversions):

/override pull-cluster-api-provider-aws-apidiff-main

Didn't know we have this superpower 😄

@Ankitasw
Copy link
Member Author

cc @richardcase
E2E tests are passing.

@richardcase
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: richardcase

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 15, 2022
@k8s-ci-robot k8s-ci-robot merged commit 6df68e2 into kubernetes-sigs:main Nov 15, 2022
@Ankitasw Ankitasw deleted the remove-ARN-field branch November 15, 2022 17:36
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Dec 22, 2022
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Dec 22, 2022
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Dec 22, 2022
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Dec 22, 2022
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 4, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 4, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 4, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 5, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 5, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 5, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 10, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 10, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 17, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 17, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
bryan-cox added a commit to bryan-cox/hypershift that referenced this pull request Jan 17, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
muraee pushed a commit to muraee/hypershift that referenced this pull request Feb 6, 2023
Removed ARN from the AWS machine template generation. This field was previously optional and was dropped from the CAPA spec in kubernetes-sigs/cluster-api-provider-aws#3835.

Signed-off-by: Bryan Cox <brcox@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants