-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update
executePlugins
function to operate on a slice of `…
…PluginSpec`'s (#206) ## Issue Resolves #211 ## Description The purpose of this PR is to refactor the `executePlugin` function to operate on a slice of `PluginSpec`'s as opposed to a `ValidatorConfig`. This is prep work to help us soon support the `--crd` flag where users will be able to pass in CRs for various validation rules. In the process of making these changes, I updated the oci and network plugins to fully support direct invocation of rules that previously required k8s secrets. Now those credentials/pubkeys that were defined in secrets can be defined inline within the oci and network plugin specs. To get this fully working, this PR also includes changes to: - Update OCI prompts to support configuring inline signature verification public keys - Update Network prompts to support configuring inline auth details for HTTPFileRules
- Loading branch information
1 parent
57ca6cb
commit 97875f3
Showing
12 changed files
with
266 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.