argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.96k stars 5.47k forks source link

HostAliases not shown in argocd diff nor sync without replace #18587

Open aroundthecode opened 5 months ago

aroundthecode commented 5 months ago

Describe the bug

hostalias-1

hostalias-2b

If any additional differences are present, only such differences are snown, not hostAlias ones

hostalias-diffb

I've checked argocd-cm configmap for ignoredifferences but it only contains sections I configured:

resource.customizations: |+
    networking.k8s.io/Ingress:
      health.lua: |
        hs = {}
        hs.status = "Healthy"
        return hs
  resource.customizations.ignoreDifferences.Secret: |+
    jqPathExpressions:
    - '.data."liquibase.tar.gz"'
    - '.data."kafka.tar.gz"'
  resource.customizations.ignoreDifferences.all: |+
    jqPathExpressions:
    - '.metadata.labels."helm.sh/chart"'
  resource.customizations.ignoreDifferences.external-secrets.io_ExternalSecret: |+
    jqPathExpressions:
    - '.spec.data[].remoteRef.conversionStrategy'
    - '.spec.data[].remoteRef.decodingStrategy'
    - '.spec.data[].remoteRef.metadataPolicy'
argocd v2.6.7+5bcd846
andrii-korotkov-verkada commented 1 week ago

ArgoCD versions 2.10 and below have reached EOL. Can you upgrade and let us know if the issue is still present, please?