mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Merge pull request #8052 from dkorn/PodConditions
Inconsistency in api terminology of pod conditions
This commit is contained in:
@@ -832,7 +832,7 @@ type PodSpec struct {
|
|||||||
// state of a system.
|
// state of a system.
|
||||||
type PodStatus struct {
|
type PodStatus struct {
|
||||||
Phase PodPhase `json:"phase,omitempty"`
|
Phase PodPhase `json:"phase,omitempty"`
|
||||||
Conditions []PodCondition `json:"Condition,omitempty"`
|
Conditions []PodCondition `json:"conditions,omitempty"`
|
||||||
// A human readable message indicating details about why the pod is in this state.
|
// A human readable message indicating details about why the pod is in this state.
|
||||||
Message string `json:"message,omitempty"`
|
Message string `json:"message,omitempty"`
|
||||||
|
|
||||||
|
@@ -833,7 +833,7 @@ type PodSpec struct {
|
|||||||
// state of a system.
|
// state of a system.
|
||||||
type PodStatus struct {
|
type PodStatus struct {
|
||||||
Phase PodPhase `json:"phase,omitempty" description:"current condition of the pod."`
|
Phase PodPhase `json:"phase,omitempty" description:"current condition of the pod."`
|
||||||
Conditions []PodCondition `json:"Condition,omitempty" description:"current service state of pod" patchStrategy:"merge" patchMergeKey:"type"`
|
Conditions []PodCondition `json:"conditions,omitempty" description:"current service state of pod" patchStrategy:"merge" patchMergeKey:"type"`
|
||||||
// A human readable message indicating details about why the pod is in this state.
|
// A human readable message indicating details about why the pod is in this state.
|
||||||
Message string `json:"message,omitempty" description:"human readable message indicating details about why the pod is in this condition"`
|
Message string `json:"message,omitempty" description:"human readable message indicating details about why the pod is in this condition"`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user