mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-18 18:28:18 -05:00
remove Pod Generation feature gate from field descriptions
This commit is contained in:
parent
3e15c6fe2f
commit
d5dabfcd65
8 changed files with 4 additions and 14 deletions
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
|
|
@ -9773,7 +9773,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"observedGeneration": {
|
||||
"description": "If set, this represents the .metadata.generation that the pod condition was set based upon. The PodObservedGenerationTracking feature gate must be enabled to use this field.",
|
||||
"description": "If set, this represents the .metadata.generation that the pod condition was set based upon.",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
|
|
|
|||
2
api/openapi-spec/v3/api__v1_openapi.json
generated
2
api/openapi-spec/v3/api__v1_openapi.json
generated
|
|
@ -5388,7 +5388,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"observedGeneration": {
|
||||
"description": "If set, this represents the .metadata.generation that the pod condition was set based upon. The PodObservedGenerationTracking feature gate must be enabled to use this field.",
|
||||
"description": "If set, this represents the .metadata.generation that the pod condition was set based upon.",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3159,7 +3159,6 @@ const (
|
|||
// PodCondition represents pod's condition
|
||||
type PodCondition struct {
|
||||
Type PodConditionType
|
||||
// +featureGate=PodObservedGenerationTracking
|
||||
// +optional
|
||||
ObservedGeneration int64
|
||||
Status ConditionStatus
|
||||
|
|
@ -4537,8 +4536,6 @@ type EphemeralContainer struct {
|
|||
// state of a system.
|
||||
type PodStatus struct {
|
||||
// If set, this represents the .metadata.generation that the pod status was set based upon.
|
||||
// The PodObservedGenerationTracking feature gate must be enabled to use this field.
|
||||
// +featureGate=PodObservedGenerationTracking
|
||||
// +optional
|
||||
ObservedGeneration int64
|
||||
// +optional
|
||||
|
|
|
|||
2
pkg/generated/openapi/zz_generated.openapi.go
generated
2
pkg/generated/openapi/zz_generated.openapi.go
generated
|
|
@ -27054,7 +27054,7 @@ func schema_k8sio_api_core_v1_PodCondition(ref common.ReferenceCallback) common.
|
|||
},
|
||||
"observedGeneration": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "If set, this represents the .metadata.generation that the pod condition was set based upon. The PodObservedGenerationTracking feature gate must be enabled to use this field.",
|
||||
Description: "If set, this represents the .metadata.generation that the pod condition was set based upon.",
|
||||
Type: []string{"integer"},
|
||||
Format: "int64",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3927,8 +3927,6 @@ message PodCondition {
|
|||
optional string type = 1;
|
||||
|
||||
// If set, this represents the .metadata.generation that the pod condition was set based upon.
|
||||
// The PodObservedGenerationTracking feature gate must be enabled to use this field.
|
||||
// +featureGate=PodObservedGenerationTracking
|
||||
// +optional
|
||||
optional int64 observedGeneration = 7;
|
||||
|
||||
|
|
@ -4763,7 +4761,6 @@ message PodSpec {
|
|||
message PodStatus {
|
||||
// If set, this represents the .metadata.generation that the pod status was set based upon.
|
||||
// The PodObservedGenerationTracking feature gate must be enabled to use this field.
|
||||
// +featureGate=PodObservedGenerationTracking
|
||||
// +optional
|
||||
optional int64 observedGeneration = 17;
|
||||
|
||||
|
|
|
|||
|
|
@ -3573,8 +3573,6 @@ type PodCondition struct {
|
|||
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
|
||||
Type PodConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=PodConditionType"`
|
||||
// If set, this represents the .metadata.generation that the pod condition was set based upon.
|
||||
// The PodObservedGenerationTracking feature gate must be enabled to use this field.
|
||||
// +featureGate=PodObservedGenerationTracking
|
||||
// +optional
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,7,opt,name=observedGeneration"`
|
||||
// Status is the status of the condition.
|
||||
|
|
@ -5272,7 +5270,6 @@ type EphemeralContainer struct {
|
|||
type PodStatus struct {
|
||||
// If set, this represents the .metadata.generation that the pod status was set based upon.
|
||||
// The PodObservedGenerationTracking feature gate must be enabled to use this field.
|
||||
// +featureGate=PodObservedGenerationTracking
|
||||
// +optional
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,17,opt,name=observedGeneration"`
|
||||
// The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
|
||||
|
|
|
|||
|
|
@ -1700,7 +1700,7 @@ func (PodCertificateProjection) SwaggerDoc() map[string]string {
|
|||
var map_PodCondition = map[string]string{
|
||||
"": "PodCondition contains details for the current condition of this pod.",
|
||||
"type": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
|
||||
"observedGeneration": "If set, this represents the .metadata.generation that the pod condition was set based upon. The PodObservedGenerationTracking feature gate must be enabled to use this field.",
|
||||
"observedGeneration": "If set, this represents the .metadata.generation that the pod condition was set based upon.",
|
||||
"status": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
|
||||
"lastProbeTime": "Last time we probed the condition.",
|
||||
"lastTransitionTime": "Last time the condition transitioned from one status to another.",
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ type PodConditionApplyConfiguration struct {
|
|||
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
|
||||
Type *corev1.PodConditionType `json:"type,omitempty"`
|
||||
// If set, this represents the .metadata.generation that the pod condition was set based upon.
|
||||
// The PodObservedGenerationTracking feature gate must be enabled to use this field.
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
|
||||
// Status is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
|
|
|
|||
Loading…
Reference in a new issue