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

Bump function-sdk-go to v0.3.0 #38

Merged
merged 3 commits into from
Sep 19, 2024
Merged

Bump function-sdk-go to v0.3.0 #38

merged 3 commits into from
Sep 19, 2024

Conversation

negz
Copy link
Member

@negz negz commented Sep 19, 2024

Description of your changes

Closes #24
Closes #16
Closes #17
Closes #27

This requires updating to v1 RPC types.

The update also brings in the latest crossplane-runtime, and k8s.io v0.30.0 dependencies. v0.31.0 is out, but we can't use them until crossplane-runtime is updated. The update also required bumping to the latest Go and golangci-lint versions.

I have:

This requires updating to v1 RPC types.

The update also brings in the latest crossplane-runtime, and k8s.io
v0.30.0 dependencies. v0.31.0 is out, but we can't use them until
crossplane-runtime is updated.

Signed-off-by: Nic Cope <nicc@rk0n.org>
We added identical packages to the SDK to avoid folks having to import
runtime so commonly in functions.

Signed-off-by: Nic Cope <nicc@rk0n.org>
Pulling in the latest function-sdk-go bumps the Go toolchain in go.mod.
This bumps the Go version we use in CI to match.

It's unclear to me from a quick skim of the (lengthy) Go toolchain docs
if we could just omit our GO_VERSION variable now and let the toolchain
directive in go.mod sort it out.

Signed-off-by: Nic Cope <nicc@rk0n.org>
Comment on lines +2 to +4
# TODO(negz): Update to v1 once we have a build of the crossplane
# CLI with a fix for the below issue.
# https://github.com/crossplane/crossplane/issues/5971
Copy link
Member Author

Choose a reason for hiding this comment

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

I'd like to switch this function to v1 metadata so I can use it in the Crossplane E2E tests to test a fix for this issue. There's a chicken and egg situation though - I need to update crossplane (crank) before I can build the function.

@negz negz merged commit abca397 into crossplane-contrib:main Sep 19, 2024
6 checks passed
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.

2 participants