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

Enable AWS IRSA auth for registry - Migrate from Docker V2 Registry to V3 #3124

Open
ntwkninja opened this issue Oct 22, 2024 · 1 comment
Open
Labels
enhancement ✨ New feature or request

Comments

@ntwkninja
Copy link
Contributor

Is your feature request related to a problem? Please describe.

For registry storage requiring authentication (i.e. S3), it is painful to deal with static credentials, key rotations and related security concerns. Docker v3 registry supports AWS IRSA auth and seems to work great with zarf:

https://github.com/distribution/distribution/releases/tag/v3.0.0-beta.1

Describe the solution you'd like

  • Given a cluster
  • When you zarf init with an S3 backed registry
  • Then authentication is handled by a service account

Describe alternatives you've considered

Additional context

Migrating to Docker V3 registry will enhance security by reducing the use of static secrets, enable integration with the AWS-SDK, and provide a more Kubernetes-native way of handling authentication. This aligns with modern best practices for secure, automated container registry access. Existing workflows should be tested for compatibility, and documentation updated to reflect these changes.

Image is not currently added to IronBank: https://repo1.dso.mil/dsop/opensource/docker/registry-v2/-/issues/112

Related Issues

#375
#3001
#2273
#2758

@ntwkninja ntwkninja added the enhancement ✨ New feature or request label Oct 22, 2024
@github-project-automation github-project-automation bot moved this to Triage in Zarf Oct 22, 2024
@ntwkninja
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
Status: Triage
Development

No branches or pull requests

1 participant