Skip to content

chore: upgrade golang dependencies#251

Open
christian-heusel wants to merge 4 commits intokubeflow:mainfrom
christian-heusel:chore/upgrade-golang-dependcies
Open

chore: upgrade golang dependencies#251
christian-heusel wants to merge 4 commits intokubeflow:mainfrom
christian-heusel:chore/upgrade-golang-dependcies

Conversation

@christian-heusel
Copy link
Copy Markdown
Contributor

@christian-heusel christian-heusel commented Mar 25, 2026

  • chore: Update go dependencies for profile-controller
  • chore: Update go dependencies for KFAM
  • fix: Drop special handling in Dockerfile for golang-lru
  • chore: migrate profile-controller from aws-sdk-go v1 to v2

@google-oss-prow google-oss-prow Bot added do-not-merge/work-in-progress area/kfam area - releated to kubeflow access management api (kfam) labels Mar 25, 2026
@google-oss-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kimwnasptd for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow Bot added the area/profiles area - related to profile-controller label Mar 25, 2026
@christian-heusel christian-heusel force-pushed the chore/upgrade-golang-dependcies branch from 85363b5 to 9afd5f1 Compare March 25, 2026 21:20
christian-heusel and others added 4 commits March 25, 2026 22:28
Signed-off-by: Christian Heusel <christian@heusel.eu>
Signed-off-by: Christian Heusel <christian@heusel.eu>
Replace deprecated github.com/aws/aws-sdk-go with the v2 SDK
(github.com/aws/aws-sdk-go-v2). The IAM plugin is the only consumer.

Key changes in plugin_iam.go:
- session.NewSession() → config.LoadDefaultConfig(ctx)
- iam.New(sess) → iam.NewFromConfig(cfg)
- All IAM calls now take context.Context as first argument
- awssdk.StringValue() → awssdk.ToString() (renamed in v2)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Christian Heusel <christian@heusel.eu>
This dependency was removed with the latest round of go module updates,
therefore we can also drop all the special logic around it in the
Dockerfile.

Since we already removed it we can also drop all the related licensing
things.

Signed-off-by: Christian Heusel <christian@heusel.eu>
@christian-heusel
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@christian-heusel christian-heusel force-pushed the chore/upgrade-golang-dependcies branch from 9afd5f1 to c1cd553 Compare March 25, 2026 21:40
@christian-heusel christian-heusel marked this pull request as ready for review March 25, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/kfam area - releated to kubeflow access management api (kfam) area/profiles area - related to profile-controller ok-to-test size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant