-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Cannot undo ignore annotation #1211
Comments
Do the resources in the cluster carry the annotation? You will need to remove it from those, as well, because fluxd will ignore something if either the manifest, or the resource itself, has the annotation.
|
@squaremo ah that looks like the cause! so if I want to undo the ignore annotation I should update the yaml configuration in my git repo and also manually run I would expect that updating the yaml configuration and pushing that to git would also remove the annotation from the resource itself. Also, it seems that running |
Yes, that should do it. If you want to use
Well .. it's ignoring it .. The answer is that the ignore mechanism tries to account for different scenarios, and there's not always a file corresponding to a resource, or a resource corresponding to a file. There was quite a discussion about it, back in #469 (comment).
Yes; the way |
ok if this is expected behavior feel free to close the issue |
Sorry if this held you up @tamirms. It's still a somewhat experimental feature, and I don't think it yet hits the simple v useful sweet spot. |
I put Flux v0.26.0 (controller:v0.20.0) |
@arash-bizcover This issue is about Flux v1 (Flux Legacy) - you should have a look at https://fluxcd.io/docs/ (and https://github.com/fluxcd/flux2) for current versions of Flux instead. |
I added an
flux.weave.works/ignore: "true"
annotation to some of my kubernetes deployments. In a subsequent commit to my kubernetes repo, I removed the annotations. However, flux still seems to ignore my deployments. I've tried killing the flux and flux memcached pods but that still hasn't fixed the problem. I've also tried renaming my manifest file.some more info from slack:
The text was updated successfully, but these errors were encountered: