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

Call host secrets plugin directly when resolving secrets #3155

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kichristensen
Copy link
Contributor

@kichristensen kichristensen commented Jun 11, 2024

What does this change

We should not require all secret plugins to call the host secrets plugin for non secret values. Instead we should call the host secrets plugin directly.

What issue does it fix

Closes #2223

Notes for the reviewer

No integration test was added, as there already is an existing integration test covering the case

func TestInstall_fileParam(t *testing.T) {

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

We should not require all secret plugins to call the host secrets plugin
for non secret values. Instead we should call the host secrets plugin
directly.

Signed-off-by: Kim Christensen <kimworking@gmail.com>
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.

Automatically call the host secrets plugin
2 participants