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

[release/8.0] Hook which rewrites the container registry in annotations. #3583

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 11, 2024

Backport of #3037 to release/8.0

/cc @mitchdenny

Customer Impact

This was recommended during our threat model reviews to allow people to switch to using an alternate registry for pulling images.

Testing

Added a unit test to cover this scenario and manually tested by creating an app that used a container resource and created an ACR instance and uploaded the image to it and verified that docker pulled from that registry.

Risk

Low. This code only is activated if the options.ContainerRegistryOverride property is specified.

Regression?

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Apr 11, 2024
@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label Apr 11, 2024
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 11, 2024
@RussKie RussKie enabled auto-merge (squash) April 11, 2024 04:53
@RussKie
Copy link
Member

RussKie commented Apr 11, 2024

@mitchdenny this will get merged once the necessary number of approvals is achieved.

@RussKie RussKie merged commit 3cc2faa into release/8.0 Apr 11, 2024
7 checks passed
@RussKie RussKie deleted the backport/pr-3037-to-release/8.0 branch April 11, 2024 05:12
@danmoseley danmoseley mentioned this pull request Apr 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants