-
Notifications
You must be signed in to change notification settings - Fork 6
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 render
does not work with this function
#53
Comments
The problem is just with the migration to v1beta1 of EnvironmentConfigs, the function only knows about v1alpha1 still. In a real cluster that would be fine, because both versions are still defined and crossplane would be able to find it as v1alpha1 whatever version you created. But crossplane beta render is doing an exact match and is not able to automatically convert the v1beta1 you provided to the requested v1alpha1. |
Just stumbled upon this as well. Will this work the other way as well, i.e. if I updated all references to It is a bit cumbersome that all versions here reference v1beta1, and when used for our testing setup it fails because it internally expects v1alpha1... I am a bit new and have not completely understood how to upgrade functions etc and keeping cross version compatibility. |
@phisco - is this something that will be fixed? I use this function in our test-pipeline, and this issue blocks running the pipeline... |
@olvesh |
Thanks @phisco - I have been trying that as well, it works using the render testing, but not when starting the function in my kind test setup, it fails with
even though the Function and FunctionRevision is deployed and reports no errors.
Thats why I tried to push forward.. Not sure if it is related though, but being relatively new to Crossplane I thought it might be. |
Your function is named |
Yes, I just found that as well. Lots of paper cuts with crossplane 😅 |
What happened?
Crossplane render command does not seem to work when using this function
How can we reproduce it?
extraresources/resources.yaml
)function-environment-configs
function tofunctions.yaml
Then you will get:
What environment did it happen in?
Function version: v0.1.0
Crossplane version v1.18.0 running locally on MacOS Sequoia
The text was updated successfully, but these errors were encountered: