Skip to content

Commit

Permalink
use manualSelector for job in addon (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
  • Loading branch information
zhiweiyin318 committed Mar 13, 2022
1 parent ba2c012 commit 14bdcc0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addon/manifests/chart/templates/pre_delete_hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ metadata:
component: "application-manager"
"open-cluster-management.io/addon-pre-delete": ""
spec:
manualSelector: true
selector:
matchLabels:
component: "application-manager"
template:
metadata:
name: "{{ template "application-manager.fullname" . }}-predelete"
Expand Down

0 comments on commit 14bdcc0

Please sign in to comment.