vault-secrets-operator icon indicating copy to clipboard operation
vault-secrets-operator copied to clipboard

Inserted ttl to clean old jobs

Open luigi-bitonti opened this issue 9 months ago • 3 comments

luigi-bitonti avatar Mar 05 '25 15:03 luigi-bitonti

CLA assistant check
All committers have signed the CLA.

hashicorp-cla-app[bot] avatar Mar 05 '25 15:03 hashicorp-cla-app[bot]

Hi @luigi-bitonti - from our test setup running on K8s 1.32.0, the upgrade CRDs Job seems to be reaped after completion. Are you seeing something else on your side?

Thanks,

Ben

benashz avatar Mar 06 '25 16:03 benashz

Hi @benashz Unfortunately on my cluster no. I opened an issue for the same reason on another product's repo: https://github.com/kyverno/kyverno/issues/11665

I discovered by pure chance that by manually deleting the job, the upgrade goes ahead, so I tried to insert the TTL and it worked. I also opened a Google case, but they couldn't help me either.

If you don't want the parameter to always be inserted, could we at least insert it only if the variable is valued?

luigi-bitonti avatar Mar 07 '25 08:03 luigi-bitonti