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

[BARX-512] Set Registry to Azure if site is us3 #1438

Merged
merged 2 commits into from
Oct 1, 2024
Merged

[BARX-512] Set Registry to Azure if site is us3 #1438

merged 2 commits into from
Oct 1, 2024

Conversation

AliDatadog
Copy link
Contributor

@AliDatadog AliDatadog commented Sep 25, 2024

What does this PR do?

This PR sets the registry to Azure if the site used is us3. Implemented in helm: DataDog/helm-charts#1537

Motivation

Azure users can benefit from the ACR.

Additional Notes

N/A

Minimum Agent Versions

N/A

Describe your test plan

Create a DatadogAgent with site set to us3.datadoghq.com, the registry should be defaulted to azure one, verify the images that are pulled from said registry datadoghq.azurecr.io

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label

@AliDatadog AliDatadog requested review from a team as code owners September 25, 2024 11:49
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: bug, enhancement, refactoring, documentation, tooling, dependencies

@AliDatadog AliDatadog added the enhancement New feature or request label Sep 25, 2024
@AliDatadog AliDatadog added this to the v1.10.0 milestone Sep 25, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.95%. Comparing base (a798a7a) to head (0ad7474).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1438   +/-   ##
=======================================
  Coverage   48.94%   48.95%           
=======================================
  Files         221      221           
  Lines       19250    19252    +2     
=======================================
+ Hits         9422     9424    +2     
  Misses       9345     9345           
  Partials      483      483           
Flag Coverage Δ
unittests 48.95% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
api/datadoghq/v2alpha1/datadogagent_default.go 89.38% <100.00%> (+0.06%) ⬆️
api/datadoghq/v2alpha1/datadogagent_types.go 100.00% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a798a7a...0ad7474. Read the comment docs.

@jhgilbert jhgilbert self-requested a review September 25, 2024 20:40
Copy link
Member

@tbavelier tbavelier left a comment

Choose a reason for hiding this comment

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

LGTM, could you simply update the PR description with the QA instructions, something like:
"Create a DatadogAgent with site set to us3.datadoghq.com, the registry should be defaulted to azure one, verify the images that are pulled from said registry datadoghq.azurecr.io"

@AliDatadog AliDatadog merged commit 4befe2a into main Oct 1, 2024
19 checks passed
@AliDatadog AliDatadog deleted the ali/az branch October 1, 2024 09:27
mftoure pushed a commit that referenced this pull request Oct 3, 2024
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
None yet
Development

Successfully merging this pull request may close these issues.

4 participants