This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cleanpvc() { | |
| if [ -z "$1" ]; then | |
| echo "Error: Please provide a Persistent Volume Claim (PVC) name." | |
| echo "Usage: cleanpvc <pvc-name>" | |
| return 1 | |
| fi | |
| local PVC_NAME="$1" | |
| echo "Attempting to remove system annotations from PVC: ${PVC_NAME}..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Forget to install the Trilio console plugin to Openshift? | |
| # Add it via the CLI. Wait a minute for it to reconcile. | |
| oc patch consoles.operator.openshift.io cluster --type=merge -p '{"spec":{"plugins": ["trilio-console-plugin"]}}' | |