Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatefulSet with volume claim causes diff with ServerSideApply=true on an ApplicationSet #18568

Open
headyj opened this issue Jun 10, 2024 · 2 comments
Labels
bug Something isn't working component:application-sets Bulk application management related component:server-side-apply type:bug version:2.11 Latest confirmed affected version is 2.11

Comments

@headyj
Copy link

headyj commented Jun 10, 2024

Describe the bug

Following this issue, the StatefulSet volume claim causes differences when using ApplicationSet. I already tried to add some specific ignore rules but it doesn't work:

[...]
  ignoreApplicationDifferences:
  - jqPathExpressions:
    - .spec.volumeClaimTemplates[]

To Reproduce

  • create an applicationset with the ignoreApplicationDifferences above
  • enable server-side apply
  • create an application using this applicationset which has a Statefulset with volume claim
    Expected behavior

Difference should be ignored

Version

v2.11.3 (helm chart 7.1.2)

@headyj headyj added the bug Something isn't working label Jun 10, 2024
@agaudreault agaudreault added server-side-apply component:application-sets Bulk application management related labels Jun 22, 2024
@fatsolko
Copy link

fatsolko commented Jul 4, 2024

Also I got that diff without ServerSideApply=true
image
argoCD v2.11.3+3f344d5

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: someapp
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  source:
    repoURL: 'https://gitlab.some.dev/infrastructure/helm/somechart.git'
    path: ./
    targetRevision: HEAD
    helm:
      valueFiles:
        - values-infra.yaml
  destination:
    server: 'https://kubernetes.default.svc'
    namespace: front
  syncPolicy:
    automated:
      prune: false
      selfHeal: false

@denzhel
Copy link

denzhel commented Nov 8, 2024

Any news about it ?

@andrii-korotkov-verkada andrii-korotkov-verkada added the version:2.11 Latest confirmed affected version is 2.11 label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:application-sets Bulk application management related component:server-side-apply type:bug version:2.11 Latest confirmed affected version is 2.11
Projects
None yet
Development

No branches or pull requests

7 participants