You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to us enabling strict-validate-path-type in ingress-nginx, we had to modify some PathType in our Ingresses managed by helm via argocd. However argocd breaks when server-side diff is enabled.
To Reproduce
Enable controller.diff.server.side: 'true'
Try to refresh an application based on a helm chart that has an ingress with a PathType change
ArgoCD fails with:
unmarshal error: invalid character '.' after top-level value
Failed to compare desired state to live state: failed to calculate diff: error calculating server side diff: serverSideDiff error: error converting json string to unstructured for resource Ingress/xxx: unmarshal error: invalid character '.' after top-level value
Here is an example Ingress where we have the issue:
Checklist:
argocd version
.Describe the bug
Due to us enabling
strict-validate-path-type
in ingress-nginx, we had to modify somePathType
in our Ingresses managed by helm via argocd. However argocd breaks when server-side diff is enabled.To Reproduce
controller.diff.server.side: 'true'
Here is an example Ingress where we have the issue:
Disabling the server-side diff via the annotation
argocd.argoproj.io/compare-options: ServerSideDiff=false
fixes the issue.Expected behavior
ArgoCD should apply the resource with no issue
Version
The text was updated successfully, but these errors were encountered: