I am configuring an istio virtualservice for the ArgoCD. Resource configuration located in the same sync. Since istio is not installed yet, I need to skip virtualservice. I decided to add the argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true annotation to the virtualservice manifest as described below.
networking.istio.io VirtualService argocd argocd-server OutOfSync Missing the server could not find the requested resource
time="2022-11-19T19:43:16Z" level=fatal msg="Operation has completed with phase: Failed"
If annotation is missing, I am getting:
one or more objects failed to apply, reason: resource mapping not found for name: "argocd-server" namespace: "argocd" from "/dev/shm/3650978948": no matches for kind "VirtualService" in version "networking.istio.io/v1beta1"
Checklist:
argocd version
.Describe the bug
I am configuring an istio virtualservice for the ArgoCD. Resource configuration located in the same sync. Since istio is not installed yet, I need to skip virtualservice. I decided to add the argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true annotation to the virtualservice manifest as described below.
To Reproduce
Expected behavior
Application is in sync
Screenshots
Version
Logs
If annotation exists, I am getting:
If annotation is missing, I am getting: