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

Generate namespaced APIs and controllers #470

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

negz
Copy link
Member

@negz negz commented Feb 13, 2025

Description of your changes

This is a WIP prototype of crossplane/crossplane#6280 (comment).

The general idea is that upjet will generate two sets of API types and controllers - one cluster scoped (legacy v1 style) and one namespaced (v2 style).

I have:

  • Read and followed Upjet'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

negz added 2 commits February 13, 2025 15:27
This PR is a no-op when I run it on provider-upjet-aws. It generates
exactly the same code as before this PR.

My goal is to allow invoking the main apis/controllers loop twice.
Once for cluster scoped and once for namespaced resources. I'll do
that in a follow-up PR.

Signed-off-by: Nic Cope <[email protected]>
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.

1 participant