Skip to content

Instantly share code, notes, and snippets.

View qlixed's full-sized avatar

QliXeD - Ezequiel Hector Brizuela qlixed

  • Red Hat
  • Buenos Aires, Argentina
  • 14:24 (UTC -03:00)
  • X @qlixed
View GitHub Profile
@qlixed
qlixed / ocp-project-snapshot.sh
Created June 25, 2020 23:12 — forked from eitchugo/ocp-project-snapshot.sh
OpenShift Project Snapshot for Troubleshooting
#!/bin/bash
#
# check oc/login
oc whoami 1> /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "ERROR: You need to be logged in the cluster with 'oc' before running this."
exit 1
fi