Skip to content

chore: Improving secret handling for BN chart deployments #1289

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

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

AlfredoG87
Copy link
Contributor

@AlfredoG87 AlfredoG87 commented Jun 10, 2025

Reviewer Notes

Due to how much Operators plan to deploy their BNs the best practice is to pre-create a secret source and then just specify it to the blockNode using a .Values override.

If for testing purposes still desires to create a secret object with entries provided in the collection of values, is still possible but discouraged other than for testing purposes

Fixes #1005
Fixes #999

Signed-off-by: Alfredo Gutierrez Grajeda <alfredo@hashgraph.com>
@AlfredoG87 AlfredoG87 added this to the 0.13.0 milestone Jun 10, 2025
@AlfredoG87 AlfredoG87 added Block Node Issues/PR related to the Block Node. Helm - Deploy labels Jun 10, 2025
@AlfredoG87 AlfredoG87 self-assigned this Jun 10, 2025
@AlfredoG87 AlfredoG87 marked this pull request as ready for review June 11, 2025 00:10
@AlfredoG87 AlfredoG87 requested review from a team as code owners June 11, 2025 00:10
Copy link
Contributor

@ata-nas ata-nas left a comment

Choose a reason for hiding this comment

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

🔥

@AlfredoG87 AlfredoG87 merged commit 19d5bfb into main Jun 12, 2025
22 of 25 checks passed
@AlfredoG87 AlfredoG87 deleted the 1005-improve-secret-handling-helm-chart branch June 12, 2025 15:59
@AlfredoG87 AlfredoG87 added the Improvement Code changes driven by non business requirements label Jun 12, 2025
Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@@             Coverage Diff              @@
##               main    #1289      +/-   ##
============================================
+ Coverage     59.20%   59.24%   +0.03%     
- Complexity      949      951       +2     
============================================
  Files           152      152              
  Lines          5766     5766              
  Branches        573      573              
============================================
+ Hits           3414     3416       +2     
+ Misses         2173     2172       -1     
+ Partials        179      178       -1     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Block Node Issues/PR related to the Block Node. Helm - Deploy Improvement Code changes driven by non business requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Secret Handling of Helm Chart to better match RE Workflows Use a secretRef instead of secret object
3 participants