mirror of https://github.com/k3s-io/k3s
Update API doc of extensions/v1beta1 Deployment's RevisionHistoryLimit
parent
1f921760d6
commit
935fc2c715
|
@ -110,6 +110,8 @@ type DeploymentSpec struct {
|
|||
|
||||
// The number of old ReplicaSets to retain to allow rollback.
|
||||
// This is a pointer to distinguish between explicit zero and not specified.
|
||||
// This is set to the max value of int32 (i.e. 2147483647) by default, which means
|
||||
// "retaining all old ReplicaSets".
|
||||
// +optional
|
||||
RevisionHistoryLimit *int32
|
||||
|
||||
|
|
|
@ -151,6 +151,8 @@ type DeploymentSpec struct {
|
|||
|
||||
// The number of old ReplicaSets to retain to allow rollback.
|
||||
// This is a pointer to distinguish between explicit zero and not specified.
|
||||
// This is set to the max value of int32 (i.e. 2147483647) by default, which
|
||||
// means "retaining all old RelicaSets".
|
||||
// +optional
|
||||
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,6,opt,name=revisionHistoryLimit"`
|
||||
|
||||
|
|
Loading…
Reference in New Issue