Added more helm information to collect tool
Added outputs of some kubectl status commands to output of collect tool, at /var/extra/containerization_kube.info Specifically, information on: - helm repositories - helm charts - helm releases Test Plan: PASS Information added Story: 2010211 Task: 46536 Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com> Change-Id: Ife2ff0cd91e1a0579eae94ab9bceb2f01ff3ea59
This commit is contained in:
parent
971f9b6630
commit
016b46e0e1
@ -95,6 +95,9 @@ if [ "$nodetype" = "controller" -a "${ACTIVE}" = true ] ; then
|
||||
CMDS+=("kubectl get roles.rbac.authorization.k8s.io --all-namespaces")
|
||||
CMDS+=("kubectl get clusterrolebindings.rbac.authorization.k8s.io")
|
||||
CMDS+=("kubectl get clusterroles.rbac.authorization.k8s.io")
|
||||
CMDS+=("kubectl get helmrepositories.source.toolkit.fluxcd.io -A")
|
||||
CMDS+=("kubectl get helmcharts.source.toolkit.fluxcd.io -A")
|
||||
CMDS+=("kubectl get helmreleases.helm.toolkit.fluxcd.io -A")
|
||||
for CMD in "${CMDS[@]}" ; do
|
||||
delimiter ${LOGFILE_KUBE} "${CMD}"
|
||||
eval ${CMD} 2>>${COLLECT_ERROR_LOG} >>${LOGFILE_KUBE}
|
||||
|
Loading…
Reference in New Issue
Block a user