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

feat(backupbackingimage): add parameters to backup backing image create proto #179

Merged

Conversation

ChanYiLin
Copy link
Contributor

ref: longhorn/longhorn#8884

define

  • parameters: in the backup config for performing the backup
  • secret: in the backupBackingImage config which will be stored in the .cfg file
  • secretNamespace: in the backupBackingImage config which will be stored in the .cfg file

update

  • InspectBackupBackingImage() to fill in the secret and secretNamespace when getting the values back from the backupstore config

Copy link

codecov bot commented Jul 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 7.86%. Comparing base (436ca3a) to head (ba5bad4).
Report is 1 commits behind head on master.

Files Patch % Lines
backupbackingimage/backupbackingimage.go 0.00% 2 Missing ⚠️
backupbackingimage/config.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##           master    #179      +/-   ##
=========================================
- Coverage    7.87%   7.86%   -0.02%     
=========================================
  Files          23      23              
  Lines        2006    2010       +4     
=========================================
  Hits          158     158              
- Misses       1822    1826       +4     
  Partials       26      26              
Flag Coverage Δ
unittests 7.86% <0.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.

derekbit
derekbit previously approved these changes Jul 19, 2024
Copy link
Member

@derekbit derekbit left a comment

Choose a reason for hiding this comment

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

LGTM.

@ChanYiLin Please update the go.mod. Thanks.

@ChanYiLin ChanYiLin force-pushed the LH8884_store_secret_in_backupbackingimage branch 3 times, most recently from b4d7650 to d450e09 Compare August 23, 2024 07:07
…te proto

ref: longhorn/longhorn 8884

Signed-off-by: Jack Lin <jack.lin@suse.com>
@ChanYiLin ChanYiLin force-pushed the LH8884_store_secret_in_backupbackingimage branch from d450e09 to ba5bad4 Compare August 23, 2024 07:09
@ChanYiLin
Copy link
Contributor Author

LGTM.

@ChanYiLin Please update the go.mod. Thanks.

updated.

Copy link
Member

@derekbit derekbit left a comment

Choose a reason for hiding this comment

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

LGTM

@derekbit derekbit merged commit 7afd6aa into longhorn:master Aug 23, 2024
5 of 7 checks passed
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.

2 participants