upgrade-scripts/pre-upgrade/one-time/RemoveClusterRoleBinding.groovy (
5
lines of code) (
raw
):
void call() { sh "echo Removing existing ClusterRoleBinding..." sh "oc delete clusterrolebinding kong-kong-$NAMESPACE || true" } return this;