Open NiroDeveloper opened 6 months ago
I am not sure if it's related, but I've been hit with a similar problem (using Kustomize). After renaming and updating the same file, i get the following error:
Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = Manifest generation error (cached): `kustomize build <path to cached source>/metrics/datadog-operator/shared` failed exit status 1: Error: accumulating resources: accumulation err='accumulating resources from 'externalparams.yaml': evalsymlink failure on '<path to cached source>/metrics/datadog-operator/shared/externalparams.yaml' : lstat <path to cached source>/metrics/datadog-operator/shared/externalparams.yaml: no such file or directory': must build at directory: not a valid directory: evalsymlink failure on '<path to cached source>/metrics/datadog-operator/shared/externalparams.yaml' : lstat <path to cached source>/metrics/datadog-operator/shared/externalparams.yaml: no such file or directory
The file was renamed from externalparams.yaml
to externalparams.yaml
I tried refreshing the app and repo (hard refresh) to no avail.
If it's not related to this issue, I can open a new issue.
Checklist:
argocd version
.Describe the bug
Rename and change a YAML file in the same commit leads to a sync failure. In this example ArgoCD tries to add the new YAML variables without removing the old ones, that leads to two multiple probe handlers. (Remove exec liveness probe and add http probe) Problem only occures WITHOUT kustomize.
To Reproduce
Expected behavior
ArgoCD should remove the attributes removed from the manifest, so the Sync runs without failure.
Screenshots
ArgoCD only adds the new attributes and does not remove the old probe.
Version