Replies: 1 comment
-
Yes, this is how it works. The AddOn manifest owns the resources it creates. If you remove resources from the manifest but leave the file in place, the removed resources will be removed from the cluster. If you delete the file from disk, the AddOn remains present in the cluster with its last seen content left in place. If you want to delete the AddOn after removing it from disk, you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation here mentions the following:
However, I noticed a discrepancy in the behavior when editing files within this directory.
Steps to Reproduce:
rm /var/lib/rancher/rke2/server/manifests/testing-namespace.yaml
), the namespace remains in the cluster, as per the documentation.Question:
Is this the intended behavior when editing the file? It seems to conflict with the documented expectation that deleting files will not remove the corresponding resources from the cluster. If this is the expected outcome, it might be worth noting this in the documentation to avoid confusion.
Beta Was this translation helpful? Give feedback.
All reactions