Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm: Knative Operator isn't removing finalizers when uninstalling #1950

Open
Evynglais opened this issue Dec 24, 2024 · 0 comments
Open

Helm: Knative Operator isn't removing finalizers when uninstalling #1950

Evynglais opened this issue Dec 24, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@Evynglais
Copy link

Describe the bug
Uninstalling the helm chart does not remove finalizers that were added to the knative-serving and knative-eventing resources, which means they can't be deleted.

Expected behavior
Uninstalling the Knative helm chart should remove any finalizers to allow other resources to be removed gracefully.

To Reproduce
Install the operator using the Knative Helm chart. Apply the following YAML files (requires the namespaces to exist):

  apiVersion: operator.knative.dev/v1beta1
  kind: KnativeEventing
  metadata:
      name: knative-eventing
      namespace: knative-eventing
  apiVersion: operator.knative.dev/v1beta1
  kind: KnativeServing
  metadata:
      name: knative-serving
      namespace: knative-serving
  spec:
      ingress:
          kourier:
              enabled: true

Uninstall the helm chart, and inspect the above resources. The will both have finalizers that block them from being deleted.

Knative release version
v1.16.0

Additional context
Testing environment: KIND, Docker Desktop, Windows 11. Also tested on an RKE2 cluster in Google Cloud.

Low priority. Finalizers can be removed by editing the resources and setting them to empty which allows the resource to be removed. See 2668 for a similar issue.

@Evynglais Evynglais added the kind/bug Categorizes issue or PR as related to a bug. label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant