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

adding a crossplane.yaml to the template #32

Closed
wants to merge 3 commits into from

Conversation

salaboy
Copy link
Contributor

@salaboy salaboy commented Apr 10, 2021

This PR adds a crossplane.yaml example file to be able to package and distribute the provider.
This PR also includes a change in the name of the docker image generated by the make file adding -controller because I've seen in other providers and also in online tutorials that this pattern is being used.. For me, it was more clear to be able to differentiate the -controller image and the provider image.

Copy link
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

Nice, thanks @salaboy! Do you want to also add some machinery to build the package image as well?

@salaboy
Copy link
Contributor Author

salaboy commented Apr 10, 2021

I was thinking of improving the Readme file with the instructions to do that.

@salaboy
Copy link
Contributor Author

salaboy commented Apr 26, 2021

@hasheddan hmm.. now that I am looking at this comment again.. what do you mean by machinery here? I didn't need much besides using (from the package/ dir) :

kubectl crossplane build provider ...
kubectl crossplane push provider...

and then to install the new provider

kubectl crossplane install provider

So back to my previous comment, was more like adding those steps to the README in this repo.


spec:
controller:
image: crossplane/provider-template-controller:v0.0.1
Copy link
Member

Choose a reason for hiding this comment

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

nitpick:

Suggested change
image: crossplane/provider-template-controller:v0.0.1
image: crossplane/provider-template-controller:latest

@salaboy maybe best to match the Makefile for now?

@muvaf
Copy link
Member

muvaf commented Aug 28, 2021

@salaboy are you still interested in making this PR ready to merge?

@salaboy
Copy link
Contributor Author

salaboy commented Aug 29, 2021

@muvaf I am .. let me get it done tomorrow early morning.

@salaboy
Copy link
Contributor Author

salaboy commented Aug 30, 2021

@muvaf is there something else needed for this PR to be merged?

@negz
Copy link
Member

negz commented May 29, 2024

Closing some very old PRs. :)

@negz negz closed this May 29, 2024
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.

4 participants