Skip to content

Cut release that includes update to aws-sdk-go dependency in support of IRSA #3756

Description

@chaospuppy

IRSA support by upgrading aws-sdk-go dependency

The version (v1.15.11) of the aws-sdk-go included in the latest tag of this repository (v2.8.1), is four years old and lacks the functionality required to facilitate IAM Role for Service Accounts (IRSA), which is now the preferred method of retrieving temporary credentials for AWS API calls in a kubernetes context. There was some discussion in reference to doing this on the PR for v2.8.0, but that seems to have died out.

We performed some testing using the edge tag as recommended to rebuild the photon-registry image used by goharbor with a much newer version of aws-sdk-go included in the registry binary, and were successful in leveraging the IRSA resources we have in place to use S3 as a backend for Harbor, whereas prior to the rebuild (i.e. using v2.8.1 of this repository to build the harbor-photon image) we would get errors like this.

In a nutshell, we can confirm that IRSA will work for any project that currently relies on this project for registry, which would be a huge win for a lot of people currently struggling to use S3 for blob storage with registry via IRSA.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions