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

APPS-1321 Add support for configuring Aerospike cluster password in Secret Agent #248

Merged
merged 11 commits into from
Nov 6, 2024

Conversation

korotkov-aerospike
Copy link
Contributor

No description provided.

@korotkov-aerospike korotkov-aerospike changed the title Secret agent APPS-1321 Add support for configuring Aerospike cluster password in Secret Agent Nov 5, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 56 lines in your changes missing coverage. Please review.

Project coverage is 27.79%. Comparing base (28fb208) to head (69b1654).
Report is 1 commits behind head on v2.

Files with missing lines Patch % Lines
pkg/dto/aerospike_cluster.go 35.00% 20 Missing and 6 partials ⚠️
pkg/dto/secret_agent.go 0.00% 18 Missing ⚠️
pkg/dto/config.go 0.00% 10 Missing and 1 partial ⚠️
pkg/service/client_manager.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               v2     #248      +/-   ##
==========================================
- Coverage   28.09%   27.79%   -0.30%     
==========================================
  Files          39       39              
  Lines        2189     2245      +56     
==========================================
+ Hits          615      624       +9     
- Misses       1489     1529      +40     
- Partials       85       92       +7     

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

@korotkov-aerospike korotkov-aerospike marked this pull request as ready for review November 6, 2024 07:21
@korotkov-aerospike
Copy link
Contributor Author

We are currently running tests on AWS to actually use SA

Comment on lines 119 to 120
"agent", agent,
"err", err)
Copy link
Member

Choose a reason for hiding this comment

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

Use slog.Attr functions to construct arguments.

return nil
}

if s.Address == nil || (s.Address != nil && *s.Address == "") {
Copy link
Member

Choose a reason for hiding this comment

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

The s.Address != nil check is redundant here.

@korotkov-aerospike korotkov-aerospike merged commit 803aef1 into v2 Nov 6, 2024
7 checks passed
@korotkov-aerospike korotkov-aerospike deleted the secretAgent branch November 6, 2024 10:00
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.

3 participants