Skip to content

Instantly share code, notes, and snippets.

View ph-One's full-sized avatar

Kyle A. Matheny ph-One

View GitHub Profile
@joshisa
joshisa / cert-exhaustion-cleanup.sh
Created April 12, 2018 12:51
IBM Cloud Private Certificate Cleanup . Useful when encountering failure with token renewal via "bx pr cluster-config mycluster"
#!/bin/bash
# Let's install jq to help with json parsing
if [ "${OS}" == "rhel" ]; then
sudo yum install epel-release -y
sudo yum install jq -y
else
sudo apt-get -qq install jq -y
fi