-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The aggregator has a plugin filtering mechanism that seems to actually complicate things for most users. Beyond adding their plugin to the config map, they also have to adjust the plugin selection. This seems to have originated due to a desire for flexibility (before knowing we needed it or not) and also ease of testing. This change just introduces special handling for the nil selection (not empty, completely nil). In that case, all plugins are run which are loaded. ref #405 Signed-off-by: John Schnake <[email protected]>
- Loading branch information
1 parent
35c8704
commit 7af1d5a
Showing
4 changed files
with
39 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
sonobuoy-config: | ||
driver: DaemonSet | ||
plugin-name: test-daemon-set-plugin | ||
result-type: test-daemon-set-plugin | ||
spec: | ||
image: gcr.io/heptio-images/heptio-e2e:master | ||
imagePullPolicy: Always | ||
name: heptio-e2e | ||
volumeMounts: | ||
- mountPath: /tmp/results | ||
name: results | ||
readOnly: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
sonobuoy-config: | ||
driver: Job | ||
plugin-name: test-job-plugin | ||
result-type: test-job-plugin | ||
spec: | ||
image: gcr.io/heptio-images/heptio-e2e:master | ||
imagePullPolicy: Always | ||
name: heptio-e2e | ||
volumeMounts: | ||
- mountPath: /tmp/results | ||
name: results | ||
readOnly: false |