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

crdjob-1 : ttlSecondAfterFinish property delete the job after 120 seconds #214

Closed
xaviernouaille opened this issue Dec 20, 2023 · 4 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@xaviernouaille
Copy link

Hi,
I use your helm chart, version 1.33.1. I use argocd to manage my kubernetes cluster
The job haproxy-ingress-private-crdjob-1 that is created has a ttlSecondAfterFinish, which will completely delete the job after 120 seconds. This causes an issue with Argo's synchronization as it immediately goes out of sync.

screencapture-argocd-bender-dial-once-applications-haproxy-ingress-private-production-2023-12-20-14_41_10

How can I resolve this problem so that my application can return to a Healthy status?

@dkorunic
Copy link
Member

The bug is in ArgoCD and while we understand that this might be a blocker for you, we have strong reasons for not using hooks due to compatibility with systems that don't use Hooks (such as AWS Container Marketplace). You should implore ArgoCD team to fix the issue.

@dkorunic dkorunic self-assigned this Dec 20, 2023
@dkorunic dkorunic added the wontfix This will not be worked on label Dec 20, 2023
@xaviernouaille
Copy link
Author

Is there no property that would allow me to reload the configuration and remove this ttl? THANKS.

@dkorunic
Copy link
Member

There is no property to do this intentionally. This works as intended and cleanup is intended feature.

dkorunic added a commit that referenced this issue Dec 20, 2023
Changes in kubernetes-ingress:
- Add ArgoCD hook fixes for CRD cleanup job (#214)

Signed-off-by: Dinko Korunic <dkorunic@haproxy.com>
@dkorunic
Copy link
Member

Fix incoming in f5f2e73.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants