Skip to content

Commit bb6c50c

Browse files
Enhance destroy-openshift-cluster.sh with improved logging and compatibility
Major improvements: - Remove jq dependency: Use native Unix tools (grep, sed, awk) for JSON parsing - Improve logging consistency: All output lines have [INFO] prefixes for better parsing - Add flexible logging options: - --log-file PATH for custom log locations - --no-log to disable file logging - Prioritize /var/log/openshift-destroy/ when accessible - Add --no-color flag to disable colored output for CI/CD pipelines - Highlight cluster names in cyan for better visibility - Organize logging preamble with clean sections - Apply consistent formatting to list mode output The script now works on any system with standard Unix tools without requiring jq installation, and provides flexible logging options for different deployment scenarios.
1 parent f972c90 commit bb6c50c

File tree

2 files changed

+479
-81
lines changed

2 files changed

+479
-81
lines changed

0 commit comments

Comments
 (0)