From 0159fffc3eb0cee3d31819a4de8147df568200d2 Mon Sep 17 00:00:00 2001 From: Robert Choi Date: Wed, 6 Apr 2022 14:05:49 +0900 Subject: [PATCH] delete kubed app --- tks-cluster/remove-usercluster-wftpl.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tks-cluster/remove-usercluster-wftpl.yaml b/tks-cluster/remove-usercluster-wftpl.yaml index 0af73fec..668ddf64 100644 --- a/tks-cluster/remove-usercluster-wftpl.yaml +++ b/tks-cluster/remove-usercluster-wftpl.yaml @@ -61,6 +61,15 @@ spec: - name: app_name value: "{{workflow.parameters.app_prefix}}-metrics-server" + - - name: deleteKubedApp + templateRef: + name: delete-apps + template: DeleteAppsByName + arguments: + parameters: + - name: app_name + value: "{{workflow.parameters.app_prefix}}-kubed" + - - name: cleanupPVCs template: cleanupPVCs