Skip to content

Commit

Permalink
Fix a Job example which fails the manifest validation
Browse files Browse the repository at this point in the history
  • Loading branch information
tengqm committed May 9, 2024
1 parent fb29fd8 commit 5228bdb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/en/examples/controllers/job-success-policy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apiVersion: batch/v1
kind: Job
metadata:
name: job-success
spec:
parallelism: 10
completions: 10
Expand All @@ -23,3 +25,4 @@ spec:
sys.exit(0)
else:
sys.exit(1)
restartPolicy: Never

0 comments on commit 5228bdb

Please sign in to comment.