You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.Flags().Bool("collect-without-permissions", true, "always generate a support bundle, even if it some require additional permissions")
71
-
cmd.Flags().StringSliceP("selector", "l", []string{"troubleshoot.io/kind=support-bundle"}, "selector to filter on for loading additional support bundle specs found in secrets within the cluster")
71
+
cmd.Flags().StringSliceP("selector", "l", []string{"troubleshoot.sh/kind=support-bundle"}, "selector to filter on for loading additional support bundle specs found in secrets within the cluster")
72
72
cmd.Flags().Bool("load-cluster-specs", false, "enable/disable loading additional troubleshoot specs found within the cluster. required when no specs are provided on the command line")
73
73
cmd.Flags().String("since-time", "", "force pod logs collectors to return logs after a specific date (RFC3339)")
74
74
cmd.Flags().String("since", "", "force pod logs collectors to return logs newer than a relative duration like 5s, 2m, or 3h.")
@@ -257,7 +259,7 @@ the %s Admin Console to begin analysis.`
257
259
}
258
260
259
261
// loadClusterSpecs loads the support bundle and redactor specs from the cluster
260
-
// based on troubleshoot.io/kind=support-bundle label selector. We search for secrets
262
+
// based on the provided labels. By default this will be troubleshoot.io/kind=support-bundle and troubleshoot.sh/kind=support-bundle label selectors. We search for secrets
261
263
// and configmaps with the label selector and parse the data as a support bundle. If the
262
264
// user does not have sufficient permissions to list & read secrets and configmaps from
263
265
// all namespaces, we will fallback to trying each namespace individually, and eventually
--redactors strings names of the additional redactors to use
40
41
--request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0")
41
-
-l, --selector strings selector to filter on for loading additional support bundle specs found in secrets within the cluster (default [troubleshoot.io/kind=support-bundle])
42
+
-l, --selector strings selector to filter on for loading additional support bundle specs found in secrets within the cluster (default [troubleshoot.sh/kind=support-bundle])
42
43
-s, --server string The address and port of the Kubernetes API server
43
44
--since string force pod logs collectors to return logs newer than a relative duration like 5s, 2m, or 3h.
44
45
--since-time string force pod logs collectors to return logs after a specific date (RFC3339)
45
46
--tls-server-name string Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used
46
47
--token string Bearer token for authentication to the API server
47
48
--user string The name of the kubeconfig user to use
0 commit comments