enable backoff limit
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s

This commit is contained in:
2024-11-11 17:15:01 +00:00
parent cae1fab1f6
commit 99a9fb63a6
+1 -10
View File
@@ -5,16 +5,6 @@ metadata:
---
apiVersion: batch/v1
kind: CronJob
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchFields:
- key: metadata.name
operator: In
values:
- kube-master
metadata:
name: dyndns-pythonrenew
namespace: dyndns-python
@@ -23,6 +13,7 @@ spec:
jobTemplate:
spec:
ttlSecondsAfterFinished: 100
backoffLimit: 4
template:
spec:
containers: