Skip to content

Commit

Permalink
uninstall metrics adapter when karmada cluster remove
Browse files Browse the repository at this point in the history
Signed-off-by: 张潇 <[email protected]>
  • Loading branch information
wawa0210 committed Sep 12, 2023
1 parent 244c73c commit 8be8210
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operator/pkg/tasks/deinit/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ func NewRemoveComponentTask() workflow.Task {
newRemoveComponentWithServiceSubTask(constants.KarmadaWebhookComponent, util.KarmadaWebhookName),
newRemoveComponentWithServiceSubTask(constants.KarmadaAggregatedAPIServerComponent, util.KarmadaAggregatedAPIServerName),
newRemoveComponentWithServiceSubTask(constants.KarmadaAPIserverComponent, util.KarmadaAPIServerName),
newRemoveComponentWithServiceSubTask(constants.KarmadaAPIserverComponent, util.KarmadaAPIServerName),
newRemoveComponentWithServiceSubTask(constants.KarmadaMetricsAdapterComponent, util.KarmadaMetricsAdapterName),
{
Name: "remove-etcd",
Run: runRemoveEtcd,
Expand Down

0 comments on commit 8be8210

Please sign in to comment.