testkube icon indicating copy to clipboard operation
testkube copied to clipboard

Add more flexibility to remove the completed job from cluster

Open abhipsnl opened this issue 3 years ago • 0 comments

Describe the enhancement you'd like to see Currently, cert-creation job auto-delete from the cluster because we have this spec ttlSecondsAfterFinished: 100 This works perfectly, but the problem comes when we use this with ArgoCD, argocd deducted that job got deleted, and it turns the status to OutOfSync.

spec:
  ttlSecondsAfterFinished: 100
  template:
    spec:
      containers:
      - name: certificate-renewal

Either remove this option completely or control ttlSecondsAfterFinished based on the condition. NOTE: if we remove this option, then more cert-creation-{{ .Release.Revision }} option will exist in the cluster. We should have some option to remove the older once

abhipsnl avatar Sep 08 '22 11:09 abhipsnl