argo-cd
argo-cd copied to clipboard
Server Side diff failing for fluent-bit
Checklist:
- [ ] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- [ ] I've included steps to reproduce the bug.
- [ ] I've pasted the output of
argocd version
.
Describe the bug
One of our ArgoCD instances is showing the following error when upgrading fluent-bit 0.30.4 -> 0.44.0:
Failed to compare desired state to live state: failed to calculate diff: error calculating server side diff: serverSideDiff error: error removing non config mutations for resource DaemonSet/fluent-bit: error reverting webhook removed fields in predicted live resource: .spec.template.spec.containers: element 0: associative list with keys has an element that omits key field "name" (and doesn't have default value)
To Reproduce
We use a Kyverno policy to modify images to point to a local ECR cache instead of pulling from dockerhub directly.
When upgrading the fluent-bit helm chart from 0.30.4 to 0.44.0, we get the error above.
We are using ArgoCD v2.10.3+0fd6344
Expected behavior
Screenshots
Version
v2.10.3+0fd6344
Logs
Paste any relevant application logs here.