upbound / up

The @upbound CLI
Apache License 2.0
52 stars 41 forks source link

go.mod: update to crossplane v1.6.0 #324

Closed muvaf closed 1 year ago

muvaf commented 1 year ago

Description of your changes

up CLI is still using the old meta API type for Provider type which does not have omitempty for the spec.controller field and this causes it to be initialized with "" and when Crossplane sees that, it tries to set the corresponding Deployment image to empty string and fails. I'm not entirely sure how we were getting away with this so far.

Fixes https://github.com/upbound/up/issues/321

I have:

How has this code been tested

Built a provider package and confirmed that when not given, spec.controller field does not appear in the built package.

jastang commented 1 year ago

xref https://github.com/upbound/provider-aws/pull/647

muvaf commented 1 year ago

I'm missing a little bit of context, is there a reason why we need to remove support for these versions?

@tnthornton It's a side effect of updating to Crossplane v1.6.0 which removed the v1beta1 versions of those CRDs altogether.

tnthornton commented 1 year ago

@tnthornton It's a side effect of updating to Crossplane v1.6.0 which https://github.com/crossplane/crossplane/pull/2804 the v1beta1 versions of those CRDs altogether.

Gotcha. I doubt we have many/any users of xpls working with APIs from <1.6.0. Could we maybe put a note about minimum supported versions in the README? I think as a long as we communicate it, we can move forward with the current changeset 👍

jastang commented 1 year ago

@tnthornton It's a side effect of updating to Crossplane v1.6.0 which crossplane/crossplane#2804 the v1beta1 versions of those CRDs altogether.

Gotcha. I doubt we have many/any users of xpls working with APIs from <1.6.0. Could we maybe put a note about minimum supported versions in the README? I think as a long as we communicate it, we can move forward with the current changeset 👍

@tnthornton added the note in the README. @muvaf will be at kubecon this week so we could help cut the patch release 👍🏼

github-actions[bot] commented 1 year ago

Successfully created backport PR #327 for release-0.16.