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

Updates sonobuoy to always collect data for it's namespace. #150

Merged
merged 1 commit into from
Nov 17, 2017

Conversation

timothysc
Copy link
Contributor

This helps when diagnosing issues that arise on failed/wedged tests

Fixes: #81

I'm still testing this atm, but comments welcome.

@timothysc timothysc added this to the 0.10.0 milestone Nov 16, 2017
@timothysc timothysc requested a review from chuckha November 16, 2017 16:58
objqry := func() (interface{}, error) { return kubeClient.Discovery().ServerGroups() }
query := func() (time.Duration, error) {
return untypedQuery(cfg.OutputDir(), "servergroups.json", objqry)
for _, resourceKind := range resources {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this block looks a lot better.

This helps when diagnosing issues that arise on failed/wedged tests

Signed-off-by: Timothy St. Clair <[email protected]>
@timothysc
Copy link
Contributor Author

k, the negative test passed and is executed by passing "Namespaces": "$."

@timothysc timothysc merged commit 2020edf into vmware-tanzu:master Nov 17, 2017
jhamilton1 pushed a commit to jhamilton1/sonobuoy that referenced this pull request Jun 27, 2018
Updates sonobuoy to always collect data for it's namespace.
Signed-off-by: Jesse Hamilton [email protected]
jhamilton1 pushed a commit to jhamilton1/sonobuoy that referenced this pull request Jun 27, 2018
Updates sonobuoy to always collect data for it's namespace.
Signed-off-by: Jesse Hamilton [email protected]

Signed-off-by: Jesse Hamilton [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants