Use a separate controller loop to watch functions change and create a service (#544)
This commit is contained in:
@@ -116,7 +116,10 @@ func (deploy *NewDeploy) getDeploymentSpec(fn *crd.Function, env *crd.Environmen
|
||||
replicas = 1
|
||||
}
|
||||
targetFilename := "user"
|
||||
var gracePeriodSeconds int64 = 6 * 60
|
||||
gracePeriodSeconds := int64(6 * 60)
|
||||
if env.Spec.TerminationGracePeriod > 0 {
|
||||
gracePeriodSeconds = env.Spec.TerminationGracePeriod
|
||||
}
|
||||
|
||||
fetchReq := &fetcher.FetchRequest{
|
||||
FetchType: fetcher.FETCH_DEPLOYMENT,
|
||||
|
||||
Reference in New Issue
Block a user