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

Fix OneAgent command line arguments #4357

Merged
merged 5 commits into from
Jan 28, 2025

Conversation

StefanHauth
Copy link
Collaborator

@StefanHauth StefanHauth commented Jan 27, 2025

Description

Multiple occasions of command line arguments for OneAgent shall be avoided. Exceptions are only --set-host-property and --set-host-tag. Host tags shall not be provided multiple times with the same value.

How can this be tested?

Deploy a Dynakube with custom OneAgent arguments and make sure that the custom arguments take precedence in the OneAgent daemon set and that no duplications show up (besidd the exceptions)

JIRA

@StefanHauth StefanHauth added the bug Something isn't working label Jan 27, 2025
@StefanHauth StefanHauth requested a review from a team as a code owner January 27, 2025 14:26
@StefanHauth StefanHauth requested review from andriisoldatenko, gkrenn, 0sewa0, chrismuellner, waodim and aorcholski and removed request for a team January 27, 2025 14:26
@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.19%. Comparing base (9f3a71a) to head (59eac56).
Report is 1 commits behind head on release-1.4.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.4    #4357      +/-   ##
===============================================
+ Coverage        64.17%   64.19%   +0.02%     
===============================================
  Files              401      401              
  Lines            26978    26999      +21     
===============================================
+ Hits             17312    17333      +21     
  Misses            8299     8299              
  Partials          1367     1367              
Flag Coverage Δ
unittests 64.19% <100.00%> (+0.02%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pkg/util/prioritymap/map.go Outdated Show resolved Hide resolved
pkg/util/prioritymap/map.go Show resolved Hide resolved
@andriisoldatenko
Copy link
Contributor

@StefanHauth still linting is failing

pkg/util/prioritymap/map_test.go Outdated Show resolved Hide resolved
pkg/util/prioritymap/map_test.go Outdated Show resolved Hide resolved
@StefanHauth StefanHauth merged commit 4bda716 into release-1.4 Jan 28, 2025
18 checks passed
@StefanHauth StefanHauth deleted the fix-oneagent-command-line-args branch January 28, 2025 07:46
StefanHauth added a commit that referenced this pull request Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants