Skip to content

Commit 15ec97a

Browse files
Merge pull request #529 from vshn/fix-maintenance
Fix revision age to maintenance
2 parents d093692 + c4df3b0 commit 15ec97a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/comp-functions/functions/common/maintenance/maintenance.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,10 @@ func (m *Maintenance) buildMaintenancePodTemplateSpec(imageTag, serviceAccount s
344344
Name: "MAINTENANCE_URL",
345345
Value: m.svc.Config.Data["maintenanceURL"],
346346
},
347+
{
348+
Name: "MINIMUM_REVISION_AGE",
349+
Value: m.svc.Config.Data["minimumRevisionAge"],
350+
},
347351
}
348352

349353
return corev1.PodTemplateSpec{

0 commit comments

Comments
 (0)