Add config setting for API team deletion (#8800)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
e591fcf3d8
Коммит
c6cbce6100
@@ -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 {
|
||||
|
||||
Ссылка в новой задаче
Block a user