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: 3449ab21b4bde3d947d692a5a25543aafaf448d5
  • Loading branch information
mimowo authored and k8s-publishing-bot committed Aug 28, 2023
1 parent 366ac8e commit 62f7673
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 @@ -202,6 +202,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 62f7673

Please sign in to comment.