mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #122728 from RomanBednar/pv-phase-transition-time-doc-fix
Remove alpha reference from PersistentVolumeStatus.lastPhaseTransitionTime docs
This commit is contained in:
		
							
								
								
									
										2
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							@@ -8453,7 +8453,7 @@
 | 
				
			|||||||
      "properties": {
 | 
					      "properties": {
 | 
				
			||||||
        "lastPhaseTransitionTime": {
 | 
					        "lastPhaseTransitionTime": {
 | 
				
			||||||
          "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
 | 
					          "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
 | 
				
			||||||
          "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
 | 
					          "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)."
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "message": {
 | 
					        "message": {
 | 
				
			||||||
          "description": "message is a human-readable message indicating details about why the volume is in this state.",
 | 
					          "description": "message is a human-readable message indicating details about why the volume is in this state.",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4722,7 +4722,7 @@
 | 
				
			|||||||
                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
 | 
					                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
 | 
					            "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)."
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "message": {
 | 
					          "message": {
 | 
				
			||||||
            "description": "message is a human-readable message indicating details about why the volume is in this state.",
 | 
					            "description": "message is a human-readable message indicating details about why the volume is in this state.",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -392,7 +392,7 @@ type PersistentVolumeStatus struct {
 | 
				
			|||||||
	Reason string
 | 
						Reason string
 | 
				
			||||||
	// LastPhaseTransitionTime is the time the phase transitioned from one to another
 | 
						// LastPhaseTransitionTime is the time the phase transitioned from one to another
 | 
				
			||||||
	// and automatically resets to current time everytime a volume phase transitions.
 | 
						// and automatically resets to current time everytime a volume phase transitions.
 | 
				
			||||||
	// This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.
 | 
						// This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).
 | 
				
			||||||
	// +featureGate=PersistentVolumeLastPhaseTransitionTime
 | 
						// +featureGate=PersistentVolumeLastPhaseTransitionTime
 | 
				
			||||||
	// +optional
 | 
						// +optional
 | 
				
			||||||
	LastPhaseTransitionTime *metav1.Time
 | 
						LastPhaseTransitionTime *metav1.Time
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -545,6 +545,7 @@ const (
 | 
				
			|||||||
	// owner: @RomanBednar
 | 
						// owner: @RomanBednar
 | 
				
			||||||
	// kep: https://kep.k8s.io/3762
 | 
						// kep: https://kep.k8s.io/3762
 | 
				
			||||||
	// alpha: v1.28
 | 
						// alpha: v1.28
 | 
				
			||||||
 | 
						// beta: v1.29
 | 
				
			||||||
	//
 | 
						//
 | 
				
			||||||
	// Adds a new field to persistent volumes which holds a timestamp of when the volume last transitioned its phase.
 | 
						// Adds a new field to persistent volumes which holds a timestamp of when the volume last transitioned its phase.
 | 
				
			||||||
	PersistentVolumeLastPhaseTransitionTime featuregate.Feature = "PersistentVolumeLastPhaseTransitionTime"
 | 
						PersistentVolumeLastPhaseTransitionTime featuregate.Feature = "PersistentVolumeLastPhaseTransitionTime"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								pkg/generated/openapi/zz_generated.openapi.go
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								pkg/generated/openapi/zz_generated.openapi.go
									
									
									
										generated
									
									
									
								
							@@ -24581,7 +24581,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeStatus(ref common.ReferenceCallbac
 | 
				
			|||||||
					},
 | 
										},
 | 
				
			||||||
					"lastPhaseTransitionTime": {
 | 
										"lastPhaseTransitionTime": {
 | 
				
			||||||
						SchemaProps: spec.SchemaProps{
 | 
											SchemaProps: spec.SchemaProps{
 | 
				
			||||||
							Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.",
 | 
												Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).",
 | 
				
			||||||
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
 | 
												Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
 | 
				
			||||||
						},
 | 
											},
 | 
				
			||||||
					},
 | 
										},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3352,7 +3352,7 @@ message PersistentVolumeStatus {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  // lastPhaseTransitionTime is the time the phase transitioned from one to another
 | 
					  // lastPhaseTransitionTime is the time the phase transitioned from one to another
 | 
				
			||||||
  // and automatically resets to current time everytime a volume phase transitions.
 | 
					  // and automatically resets to current time everytime a volume phase transitions.
 | 
				
			||||||
  // This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.
 | 
					  // This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).
 | 
				
			||||||
  // +featureGate=PersistentVolumeLastPhaseTransitionTime
 | 
					  // +featureGate=PersistentVolumeLastPhaseTransitionTime
 | 
				
			||||||
  // +optional
 | 
					  // +optional
 | 
				
			||||||
  optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;
 | 
					  optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -425,7 +425,7 @@ type PersistentVolumeStatus struct {
 | 
				
			|||||||
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
 | 
						Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
 | 
				
			||||||
	// lastPhaseTransitionTime is the time the phase transitioned from one to another
 | 
						// lastPhaseTransitionTime is the time the phase transitioned from one to another
 | 
				
			||||||
	// and automatically resets to current time everytime a volume phase transitions.
 | 
						// and automatically resets to current time everytime a volume phase transitions.
 | 
				
			||||||
	// This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.
 | 
						// This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).
 | 
				
			||||||
	// +featureGate=PersistentVolumeLastPhaseTransitionTime
 | 
						// +featureGate=PersistentVolumeLastPhaseTransitionTime
 | 
				
			||||||
	// +optional
 | 
						// +optional
 | 
				
			||||||
	LastPhaseTransitionTime *metav1.Time `json:"lastPhaseTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastPhaseTransitionTime"`
 | 
						LastPhaseTransitionTime *metav1.Time `json:"lastPhaseTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastPhaseTransitionTime"`
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1478,7 +1478,7 @@ var map_PersistentVolumeStatus = map[string]string{
 | 
				
			|||||||
	"phase":                   "phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase",
 | 
						"phase":                   "phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase",
 | 
				
			||||||
	"message":                 "message is a human-readable message indicating details about why the volume is in this state.",
 | 
						"message":                 "message is a human-readable message indicating details about why the volume is in this state.",
 | 
				
			||||||
	"reason":                  "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
 | 
						"reason":                  "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
 | 
				
			||||||
	"lastPhaseTransitionTime": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.",
 | 
						"lastPhaseTransitionTime": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).",
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (PersistentVolumeStatus) SwaggerDoc() map[string]string {
 | 
					func (PersistentVolumeStatus) SwaggerDoc() map[string]string {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user