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 apiVersion: batch/v1
kind: CronJob kind: CronJob
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchFields:
- key: metadata.name
operator: In
values:
- kube-master
metadata: metadata:
name: dyndns-pythonrenew name: dyndns-pythonrenew
namespace: dyndns-python namespace: dyndns-python
@@ -23,6 +13,7 @@ spec:
jobTemplate: jobTemplate:
spec: spec:
ttlSecondsAfterFinished: 100 ttlSecondsAfterFinished: 100
backoffLimit: 4
template: template:
spec: spec:
containers: containers: