Skip to content

Commit 5228bdb

Browse files
committed
Fix a Job example which fails the manifest validation
1 parent fb29fd8 commit 5228bdb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/en/examples/controllers/job-success-policy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
apiVersion: batch/v1
22
kind: Job
3+
metadata:
4+
name: job-success
35
spec:
46
parallelism: 10
57
completions: 10
@@ -23,3 +25,4 @@ spec:
2325
sys.exit(0)
2426
else:
2527
sys.exit(1)
28+
restartPolicy: Never

0 commit comments

Comments
 (0)