Skip to content

Commit 37b4561

Browse files
mimowok8s-publishing-bot
authored andcommitted
Mark Job onPodConditions as optional in pod failure policy
Kubernetes-commit: fc184558921a4462da6dadb9b64a2baa1782d510
1 parent ac59949 commit 37b4561

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

batch/v1/generated.proto

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

batch/v1/types.go

+1
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ type PodFailurePolicyRule struct {
236236
// as a list of pod condition patterns. The requirement is satisfied if at
237237
// least one pattern matches an actual pod condition. At most 20 elements are allowed.
238238
// +listType=atomic
239+
// +optional
239240
OnPodConditions []PodFailurePolicyOnPodConditionsPattern `json:"onPodConditions" protobuf:"bytes,3,opt,name=onPodConditions"`
240241
}
241242

0 commit comments

Comments
 (0)