CI: debug-on-exit.sh improvements
add to debug-on-exit.sh:
- debug-on-exit.sh: dump 'clusterctl describe'
- include details on Secrets (except
dataof course, andannotationsas well because there are sometimes "last-applied" annotations which contain secret data) -
mkdirthe dump dir before callingkubectl cluster-info dump, because we've seen cases wherekubectl cluster-info dumpwas failing and hence not creating the dir, preventing other commands to dump - avoid dumping information about Secrets in the console output
- add
--show-managed-fieldstokubectl cluster-info dump - more ExternalSecret operator resources
Edited by Thomas Morin