@@ -41,14 +41,12 @@ hooks:
41
41
- '{{`{{ env "NAME" }}`}}'
42
42
- "{{`{{ .Release.Namespace }}`}}"
43
43
- "true"
44
- aws-iam-config:
45
- aws-iam-config-postsync-hook:
44
+ aws-common-postuninstall-hook:
46
45
events:
47
- - postsync
46
+ - postuninstall
48
47
showlogs: true
49
- command: "{{`{{ .Release.Labels.bin }}`}}/aws-iam-config-postsync -hook.sh"
48
+ command: "{{`{{ .Release.Labels.bin }}`}}/common-postuninstall -hook.sh"
50
49
args:
51
- - '{{`{{ .Release.Name }}`}}'
52
50
- "{{`{{ .Release.Namespace }}`}}"
53
51
aws-iam-provision:
54
52
aws-iam-provision-postsync-hook:
@@ -85,6 +83,13 @@ hooks:
85
83
- '{{`{{ env "NAME" }}`}}'
86
84
- "{{`{{ .Release.Namespace }}`}}"
87
85
- "true"
86
+ azure-common-postuninstall-hook:
87
+ events:
88
+ - postuninstall
89
+ showlogs: true
90
+ command: "{{`{{ .Release.Labels.bin }}`}}/common-postuninstall-hook.sh"
91
+ args:
92
+ - "{{`{{ .Release.Namespace }}`}}"
88
93
gcp-cluster:
89
94
# TODO: The hook is needed for resolving the issue with empty kubernetesTaints values for GKE machines pools.
90
95
# This temporary solution may be deprecated in the subsequent releases.
@@ -95,7 +100,7 @@ hooks:
95
100
showlogs: true
96
101
command: "{{`{{ .Release.Labels.bin }}`}}/gcp-cluster-presync-hook.sh"
97
102
args:
98
- - "{{`{{ .Release.Namespace }}`}}"
103
+ - capg-system
99
104
- public.ecr.aws/edenlabllc/core.cluster-api-gcp-controller
100
105
- v1.8.1
101
106
gcp-cluster-postsync-hook:
@@ -123,3 +128,10 @@ hooks:
123
128
- '{{`{{ env "NAME" }}`}}'
124
129
- "{{`{{ .Release.Namespace }}`}}"
125
130
- "true"
131
+ gcp-common-postuninstall-hook:
132
+ events:
133
+ - postuninstall
134
+ showlogs: true
135
+ command: "{{`{{ .Release.Labels.bin }}`}}/common-postuninstall-hook.sh"
136
+ args:
137
+ - "{{`{{ .Release.Namespace }}`}}"
0 commit comments