Skip to content
Snippets Groups Projects
Commit 3c61836f authored by Martin's avatar Martin
Browse files

comment out finalizer deletion due to permission issues

parent 98e0d9a1
Branches
Tags
No related merge requests found
...@@ -652,18 +652,18 @@ Void waitForDeletion(String bezeichner) { ...@@ -652,18 +652,18 @@ Void waitForDeletion(String bezeichner) {
try { try {
sh "kubectl wait --for=delete applications/by-${bezeichner}-dev-application -n argocd --timeout=900s" sh "kubectl wait --for=delete applications/by-${bezeichner}-dev-application -n argocd --timeout=900s"
} catch (Exception e) { } catch (Exception e) {
try { // try {
if (mongoDbApplicationExists(bezeichner)) { // if (mongoDbApplicationExists(bezeichner)) {
removeMongoDbApplicationFinalizer(bezeichner) // removeMongoDbApplicationFinalizer(bezeichner)
} //}
removePendingOzgCloudKeycloakResources(bezeichner) //removePendingOzgCloudKeycloakResources(bezeichner)
sh "kubectl wait --for=delete applications/by-${bezeichner}-dev-application -n argocd --timeout=900s" //sh "kubectl wait --for=delete applications/by-${bezeichner}-dev-application -n argocd --timeout=900s"
} catch (Exception e2) { //} catch (Exception e2) {
sh "kubectl get applications -n argocd | grep 'by-${bezeichner}-dev'" // sh "kubectl get applications -n argocd | grep 'by-${bezeichner}-dev'"
error("Application by-${bezeichner}-dev-application konnte nicht gelöscht werden") error("Application by-${bezeichner}-dev-application konnte nicht gelöscht werden")
} //}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment