File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def set_registry(self):
9292 def set_tags (self , previous_config ):
9393 """verify the tags exist on any nodes as labels"""
9494 if not self .tags :
95- if settings .DEIS_DEFAULT_CONFIG_TAGS != '' :
95+ if settings .DEIS_DEFAULT_CONFIG_TAGS :
9696 try :
9797 tags = json .loads (settings .DEIS_DEFAULT_CONFIG_TAGS )
9898 self .tags = tags
Original file line number Diff line number Diff line change 309309
310310KUBERNETES_DEPLOYMENTS_REVISION_HISTORY_LIMIT = os .environ .get ('KUBERNETES_DEPLOYMENTS_REVISION_HISTORY_LIMIT' , None ) # noqa
311311
312- DEIS_DEFAULT_CONFIG_TAGS = str ( os .environ .get ('DEIS_DEFAULT_CONFIG_TAGS' , '' ) )
312+ DEIS_DEFAULT_CONFIG_TAGS = os .environ .get ('DEIS_DEFAULT_CONFIG_TAGS' , '' )
313313
314314# How long k8s waits for a pod to finish work after a SIGTERM before sending SIGKILL
315315KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS = int (os .environ .get ('KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS' , 30 )) # noqa
Original file line number Diff line number Diff line change 3939KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS = int (os .environ .get ('KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS' , 2 )) # noqa
4040KUBERNETES_NAMESPACE_DEFAULT_QUOTA_SPEC = '{"spec":{"hard":{"pods":"10"}}}'
4141
42- DEIS_DEFAULT_CONFIG_TAGS = str ( os .environ .get ('DEIS_DEFAULT_CONFIG_TAGS' , '' ) )
42+ DEIS_DEFAULT_CONFIG_TAGS = os .environ .get ('DEIS_DEFAULT_CONFIG_TAGS' , '' )
You can’t perform that action at this time.
0 commit comments