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

[POA-1584] Update insights image URL to new public ECR repo #26

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

mudit-postman
Copy link
Contributor

In this PR, we have updated the image URL from the current private ECR URL to the new public ECR URL.

@mudit-postman mudit-postman requested a review from liujed August 8, 2024 12:27
@mudit-postman mudit-postman marked this pull request as ready for review August 8, 2024 12:27
Copy link
Member

@liujed liujed left a comment

Choose a reason for hiding this comment

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

We need to modify ecs add to check for the old image location, to prevent users from installing the agent twice.

@@ -107,7 +107,7 @@ const (
akitaDockerImage = "akitasoftware/cli"

// Postman Insights Agent image location
postmanECRImage = "docker.postman.com/postman-insights-agent"
postmanECRImage = "public.ecr.aws/postman/postman-insights-agent"
Copy link
Member

Choose a reason for hiding this comment

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

We should also add a postmanOldECRImage with the old docker.postman.com value and add that to the images that we check for on line 568:

if matchesImage(image, akitaECRImage) || matchesImage(image, akitaDockerImage) {

@mudit-postman mudit-postman requested a review from liujed August 8, 2024 16:06
@mudit-postman mudit-postman merged commit 9860980 into main Aug 8, 2024
4 checks passed
@mudit-postman mudit-postman deleted the mudit/POA-1584 branch August 8, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants