Skip to content

[BUG] Vestigial resource after Helm uninstall - ValidationWebhookConfiguration #345

@Ealianis

Description

@Ealianis

Describe the bug

When the hub-agent is uninstalled via helm uninstall hub-agent the resources created from the install are removed. However resources that are created by the agent itself remains. In this specific case the ValidationWebhookConfiguration persists after helm uninstall. This results in blocking requests for resources specified in the configuration.

Environment

Please provide the following:

  • Hub Cluster:
    • Hub Agent Version >= 0.6.2

To Reproduce

  • Install Hub-Agent via Helm
  • Verify hub-agent pod exists via kubectl get pods -n fleet-system
  • Uninstall Hub-Agent via helm
  • Reinstall Hub-Agent via Helm
  • Verify hub-agent pod does not exist.

Expected behavior

The uninstall of the fleet hub-agent should also delete the fleet-validating-webhook-configuration.

Screenshots

Screenshot 2022-11-22 at 10 24 12 AM

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions