-
Notifications
You must be signed in to change notification settings - Fork 137
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
Remove arch param where necessary #4065
base: main
Are you sure you want to change the base?
Conversation
70ce99a
to
264f5bc
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #4065 +/- ##
==========================================
- Coverage 64.57% 64.46% -0.12%
==========================================
Files 400 400
Lines 26768 26724 -44
==========================================
- Hits 17286 17228 -58
- Misses 8126 8138 +12
- Partials 1356 1358 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
264f5bc
to
a84c533
Compare
@@ -28,7 +28,7 @@ func (dtc *dynatraceClient) GetEntityIDForIP(ctx context.Context, ip string) (st | |||
} | |||
|
|||
// GetLatestAgent gets the latest agent package for the given OS and installer type. | |||
func (dtc *dynatraceClient) GetLatestAgent(ctx context.Context, os, installerType, flavor, arch string, technologies []string, skipMetadata bool, writer io.Writer) error { | |||
func (dtc *dynatraceClient) GetLatestAgent(ctx context.Context, os, installerType, flavor, arch string, technologies []string, skipMetadata bool, writer io.Writer) error { // TODO: does flavor/arch needed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems it is needed! For downloading the actual package it makes sense as well
flavor = arch.Flavor | ||
} | ||
flavor := determineFlavor(installerType) | ||
_arch := determineArch(installerType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't _var
usually for package/file wide vars?
Description
DAQ-2193
Adds logic that it tries to define the most correct affinity for the deployed components.
So from now on if the ActiveGate or the OneAgent images are from the tenant-registry then only the
amd64
nodes are supported according to the affinity.version
is provided)In all other cases ("custom image") we use the broader affinity, based on the public-registry images (amd64, arm64, ppc64le, s390x)
How can this be tested?
public.ecr.aws/dynatrace/dynatrace-oneagent:1.303.55.20241122-143001
,public.ecr.aws/dynatrace/dynatrace-activegate:1.303.25.20241118-125000