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

Fix empty TypeMeta while running API conversions #1422

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented Jul 25, 2024

Description of your changes

For more details, see crossplane/upjet#424

  • Fix an issue with API conversions when the TypeMeta information has been dropped.
  • Add v1beta1 -> v1beta3 field renaming conversions for relevant resources. (fast-tracked in commit 32ce2a9)
  • Do not replace but append conversion functions. (fast-tracked in commit 32ce2a9)

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

See also: crossplane/upjet#424

Uptest runs:

  1. examples/rds/v1beta1/instance.yaml

@ulucinar ulucinar marked this pull request as draft July 25, 2024 11:12
@ulucinar
Copy link
Collaborator Author

Hi @turkenf, @mergenci,
Could you please take over this? Please ping me if help is needed.

Copy link

This provider repo does not have enough maintainers to address every pull request. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@github-actions github-actions bot added the stale label Oct 24, 2024
@turkenf
Copy link
Collaborator

turkenf commented Oct 24, 2024

/fresh

@mergenci
Copy link
Collaborator

mergenci commented Nov 4, 2024

/test-examples="examples/ec2/v1beta2/vpcendpoint.yaml"

@mergenci
Copy link
Collaborator

mergenci commented Nov 4, 2024

/test-examples="examples/rds/v1beta2/instance.yaml"

@mergenci
Copy link
Collaborator

mergenci commented Nov 5, 2024

/test-examples="examples/ec2/v1beta1/vpcendpoint.yaml"

@mergenci
Copy link
Collaborator

mergenci commented Nov 5, 2024

/test-examples="examples/rds/v1beta1/instance.yaml"

@mergenci
Copy link
Collaborator

mergenci commented Nov 5, 2024

/test-examples="examples/ec2/v1beta1/vpcendpoint.yaml"

@mergenci mergenci marked this pull request as ready for review November 15, 2024 17:36
@mergenci mergenci marked this pull request as draft November 15, 2024 17:45
@mergenci mergenci mentioned this pull request Nov 20, 2024
3 tasks
Signed-off-by: Cem Mergenci <[email protected]>
Signed-off-by: Cem Mergenci <[email protected]>
There are no changes after `make generate`.

Signed-off-by: Cem Mergenci <[email protected]>
`make generate` didn't output any changes.

Signed-off-by: Cem Mergenci <[email protected]>
@mergenci
Copy link
Collaborator

/test-examples="examples/rds/v1beta1/instance.yaml"

@mergenci
Copy link
Collaborator

/test-examples="examples/ec2/v1beta1/vpcendpoint.yaml"

ulucinar and others added 3 commits November 21, 2024 10:18
- Fix an issue with API conversions when the TypeMeta information
  has been dropped.
- Add v1beta1 -> v1beta3 field renaming conversions for relevant
  resources (fast-tracked in commit 32ce2a9).
- Do not replace but append conversion functions (fast-tracked in
  commit 32ce2a9).

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
@mergenci mergenci marked this pull request as ready for review November 21, 2024 07:45
@mergenci
Copy link
Collaborator

/test-examples="examples/ssm/v1beta2/maintenancewindowtask.yaml"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants