Skip to content

Commit

Permalink
feature. remove policies argo apps when stack deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
ktkfree committed Apr 19, 2024
1 parent 33b16e4 commit cc4c332
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tks-cluster/remove-usercluster-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,24 @@ spec:
- name: app_name
value: "{{workflow.parameters.app_prefix}}-argo-rollouts"

- - name: deleteClusterArgoRolloutsApp
templateRef:
name: delete-apps
template: DeleteAppsByName
arguments:
parameters:
- name: app_name
value: "{{workflow.parameters.app_prefix}}-opa-gatekeeper"

- - name: deletePolicyOperatorApp
templateRef:
name: delete-apps
template: DeleteAppsByName
arguments:
parameters:
- name: app_name
value: "{{workflow.parameters.app_prefix}}-gatekeeper-system"

- - name: deleteClusterCR
template: deleteClusterCR
arguments:
Expand Down

0 comments on commit cc4c332

Please sign in to comment.