Skip to content

Commit

Permalink
Mark Job onPodConditions as optional in pod failure policy
Browse files Browse the repository at this point in the history
Kubernetes-commit: fc184558921a4462da6dadb9b64a2baa1782d510
  • Loading branch information
mimowo authored and k8s-publishing-bot committed Aug 28, 2023
1 parent ac59949 commit 37b4561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions batch/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions batch/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ type PodFailurePolicyRule struct {
// as a list of pod condition patterns. The requirement is satisfied if at
// least one pattern matches an actual pod condition. At most 20 elements are allowed.
// +listType=atomic
// +optional
OnPodConditions []PodFailurePolicyOnPodConditionsPattern `json:"onPodConditions" protobuf:"bytes,3,opt,name=onPodConditions"`
}

Expand Down

0 comments on commit 37b4561

Please sign in to comment.