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: 1ac405248c359758999b191caab67e481a9ec6f5
  • Loading branch information
mimowo authored and k8s-publishing-bot committed Aug 28, 2023
1 parent 191d751 commit c0b0923
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 @@ -190,6 +190,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 c0b0923

Please sign in to comment.