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

fixed the secret resolver intialization #326

Merged

Conversation

shriramsharma
Copy link
Collaborator

Checklist

🚨 Please review this repository's contribution guidelines.

  • I've read and agree to the project's contribution guidelines.
  • I'm requesting to pull a topic/feature/bugfix branch.
  • I checked that my code additions will pass code linting checks and unit tests.
  • I updated unit and integration tests (if applicable).
  • I'm ready to notify the team of this contribution.

Description

What does this change do and why?
This fixed the default secret resolver intialization. It was broken during the merge.

[Link to related ISSUE]

Thank you!

@codecov-commenter
Copy link

codecov-commenter commented Aug 19, 2024

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

Codecov Report

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

Project coverage is 71.74%. Comparing base (ac3fed9) to head (3969712).

Files Patch % Lines
admiral/pkg/controller/secret/secretcontroller.go 0.00% 5 Missing ⚠️

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

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #326   +/-   ##
=======================================
  Coverage   71.74%   71.74%           
=======================================
  Files          65       65           
  Lines        8723     8723           
=======================================
  Hits         6258     6258           
  Misses       2147     2147           
  Partials      318      318           

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

log.Info("Initializing default secret resolver")
secretResolver, err = resolver.NewDefaultResolver()
} else {
err = fmt.Errorf("unrecognized secret resolver type %v specified", secretResolverType)
err = fmt.Errorf("unrecognized secret resolver type %v specified", admiralProfile)
Copy link
Collaborator

Choose a reason for hiding this comment

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

err = fmt.Errorf("unrecognized admiral profile %v specified", admiralProfile)

Signed-off-by: Shriram Sharma <[email protected]>
Signed-off-by: Shriram Sharma <[email protected]>
@shriramsharma shriramsharma merged commit 3e19061 into istio-ecosystem:master Aug 19, 2024
3 checks passed
@shriramsharma shriramsharma deleted the fix_secret_resolver branch August 19, 2024 17:57
@nirvanagit
Copy link
Collaborator

Thanks @shriramsharma for fixing this.

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.

5 participants