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

Crossplane resources generated by k8s-infra-gen #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthchr
Copy link

@matthchr matthchr commented Nov 7, 2020

These are not ready for prime time!

I am not even sure that it makes sense to merge these to master.

@kasey suggested I send a PR though based on what we have so far. I believe the idea is to start some discussion as to the shape of resources and what more work we still have to do to get things working. It's up to you if you want to merge this at all, since obviously right now it's not "doing" anything.

This was generated with a private build of k8s-infra-gen based on my crossplane-hacking branch, so it's important to understand that the tool that produced this isn't even merged to master of k8s-infra yet.

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

It hasn't! (see above for other reasons why you may not want to merge it).

The intent of these is primarily to begin some debate/discussion
about their shape and what people like/don't like.

These are not ready for prime time!

Signed-off-by: Matthew Christopher <matthchr@users.noreply.github.com>
@ErikLundJensen
Copy link

@matthchr Could you share your "crossplane-hacking" git repo (if it still exists) ?

@matthchr
Copy link
Author

This has been merged into master of k8s-infra-gen. None of the generated resources are checked in currently, but you can generate them by running: go run main.go gen-types azure-crossplane.yaml from the hack/generator folder or by running task crossplane:generate-types from the root of the repo.

These resources will need an adapter written so that they satisfy the required Crossplane interface, which we haven't yet done. The adapter will need to look something like this.

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.

None yet

2 participants