Skip to content

Commit

Permalink
add kubernetes system namespaces to generated support bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
hedge-sparrow committed Nov 29, 2024
1 parent 7eacbb7 commit 1d173f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/supportbundle/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ func CreateRenderedSpec(app *apptypes.App, sequence int64, kotsKinds *kotsutil.K
namespacesToCollect = append(namespacesToCollect, util.PodNamespace)
namespacesToCollect = append(namespacesToCollect, kotsKinds.KotsApplication.Spec.AdditionalNamespaces...)
}
} else {
// re-enable collection of k8s system namespaces
namespacesToCollect = append(namespacesToCollect, "kube-system")
namespacesToCollect = append(namespacesToCollect, "kube-node-lease")
namespacesToCollect = append(namespacesToCollect, "kube-public")
}

// split the default kotsadm support bundle into multiple support bundles
Expand Down

0 comments on commit 1d173f2

Please sign in to comment.