Set default for DeploymentConfigSpec.RevisionHistoryLimit in apps/v1 to 10.
Fix tests now that we are really not doing cascade delete for legacy API. (Brings group API into tests.)
@@ -51,6 +51,7 @@ type DeploymentConfigSpec struct {
// RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks.
// This field is a pointer to allow for differentiation between an explicit zero and not specified.
+ // Defaults to 10. (This only applies to DeploymentConfigs created via the new group API resource, not the legacy resource.)
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,4,opt,name=revisionHistoryLimit"`
// Test ensures that this deployment config will have zero replicas except while a deployment is running. This allows the
