-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Conftest): Error: configmap references non-existent config key (#511
) When we created a scan Job for config audits it referred directly to the starboard-conftest-config ConfigMap. However, the ConfigMap might have changed before the Job was run. When we removed a policy from the ConfigMap the Job got stuck in the Pending state due to non-existent config key error. The solution is to copy policies to a temporary Secret and associate it with the scan Job so we're agnostic to changes of the starboard-conftest-config ConfigMap. Resolves: #509 Signed-off-by: Daniel Pacak <[email protected]>
- Loading branch information
1 parent
118f987
commit 0ccb209
Showing
4 changed files
with
133 additions
and
133 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
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.