MM-10348 Adding experimental hardened mode. (#8881)
* Adding experimental hardened mode. * Sanitizing all 500 errors.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
bd7c9f8642
Коммит
2c75247c97
@@ -226,6 +226,7 @@ type ServiceSettings struct {
|
||||
ImageProxyURL *string
|
||||
ImageProxyOptions *string
|
||||
EnableAPITeamDeletion *bool
|
||||
ExperimentalEnableHardenedMode *bool
|
||||
}
|
||||
|
||||
func (s *ServiceSettings) SetDefaults() {
|
||||
@@ -458,6 +459,10 @@ func (s *ServiceSettings) SetDefaults() {
|
||||
if s.EnableAPITeamDeletion == nil {
|
||||
s.EnableAPITeamDeletion = NewBool(false)
|
||||
}
|
||||
|
||||
if s.ExperimentalEnableHardenedMode == nil {
|
||||
s.ExperimentalEnableHardenedMode = NewBool(false)
|
||||
}
|
||||
}
|
||||
|
||||
type ClusterSettings struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user