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

chore(api): Remove authz middleware and update Turing API server, router, plugin dependencies #371

Conversation

deadlycoconuts
Copy link
Contributor

@deadlycoconuts deadlycoconuts commented Mar 12, 2024

Context

Similar to caraml-dev/merlin#551, this MR basically bumps a couple of Go package dependencies used by the Turing API server, router, plugin, etc. The version of Go used in these components have also been bumped up from 1.20 to 1.22.

In addition to the general dependency upgrades, the authz middleware has been removed from the Turing API server entirely as it is no longer in use.

Main packages updated:

- github.com/GoogleCloudPlatform/spark-on-k8s-operator
- github.com/caraml-dev/mlp
- github.com/google/go-containerregistry 
- github.com/onsi/ginkgo/v2
- github.com/onsi/gomega
- k8s.io/api 
- k8s.io/apimachinery
- k8s.io/client-go
- knative.dev/networking
- knative.dev/pkg
- knative.dev/serving
- sigs.k8s.io/controller-runtime

Some minor refactoring was performed on structs that may have changed or on functions called due to the changes in their expected arguments - these are annotated directly on the diffs.

@deadlycoconuts deadlycoconuts self-assigned this Mar 12, 2024
@deadlycoconuts deadlycoconuts force-pushed the update_turing_api_server_dependencies branch 3 times, most recently from 3e72566 to e871a99 Compare March 19, 2024 06:01
@deadlycoconuts deadlycoconuts added the type: maintenance Chore changes label Apr 8, 2024
@deadlycoconuts deadlycoconuts changed the title chore(api): Remove authz middleware and update Turing API server dependencies chore(api): Remove authz middleware and update Turing API server, router, plugin dependencies Apr 8, 2024
@deadlycoconuts deadlycoconuts marked this pull request as ready for review April 8, 2024 09:06
Copy link
Contributor

@leonlnj leonlnj left a comment

Choose a reason for hiding this comment

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

thanks for the heavy refactoring, left some minor comment but LGTM

Copy link
Contributor

@leonlnj leonlnj left a comment

Choose a reason for hiding this comment

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

thanks LGTM

@deadlycoconuts
Copy link
Contributor Author

Thanks for the re-review. Gonna merge this now!

@deadlycoconuts deadlycoconuts merged commit 30ebd14 into caraml-dev:main Apr 15, 2024
12 checks passed
@deadlycoconuts deadlycoconuts deleted the update_turing_api_server_dependencies branch May 7, 2024 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance Chore changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants