Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Crossplane resources generated by k8s-infra-gen - #197

Open
matthchr wants to merge 1 commit into
crossplane-contrib:masterfrom
matthchr:genreated-example
Open

Crossplane resources generated by k8s-infra-gen#197
matthchr wants to merge 1 commit into
crossplane-contrib:masterfrom
matthchr:genreated-example

Conversation

@matthchr

@matthchr matthchr commented Nov 7, 2020

Copy link
Copy Markdown

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
Copy Markdown

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

@matthchr

Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants