From c6cbce610043bb050f2c542412eb439dc22c4a88 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 18 May 2018 09:13:23 -0400 Subject: Add config setting for API team deletion (#8800) --- model/config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'model') diff --git a/model/config.go b/model/config.go index a5a588a82..64107c42d 100644 --- a/model/config.go +++ b/model/config.go @@ -224,6 +224,7 @@ type ServiceSettings struct { ImageProxyType *string ImageProxyURL *string ImageProxyOptions *string + EnableAPITeamDeletion *bool } func (s *ServiceSettings) SetDefaults() { @@ -452,6 +453,10 @@ func (s *ServiceSettings) SetDefaults() { if s.ImageProxyOptions == nil { s.ImageProxyOptions = NewString("") } + + if s.EnableAPITeamDeletion == nil { + s.EnableAPITeamDeletion = NewBool(false) + } } type ClusterSettings struct { -- cgit v1.2.3-1-g7c22