Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins/discovery: Check for empty key config
Currently OPA allows users to use unsigned discovery bundles that themselves point to signed service bundles. The discovery plugin checks if the keys in the service bundle do not update those in the boot config. It's possible that the signing config in the discovery object be a nil pointer. This is change adds a check for that. Fixes: #4656 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
- Loading branch information
1 parent
2bd6f3b
commit f137da2
Showing
2 changed files
with
41 additions
and
4 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