feature(kubeconfig): Do not invalidate kubeconfig upon Portainer restarting [EE-1854] (#5905)

This commit is contained in:
Marcelo Rydel
2021-11-15 14:45:20 -07:00
committed by GitHub
parent 22b72fb6e3
commit 048613a0c5
7 changed files with 106 additions and 24 deletions

View File

@@ -12,6 +12,7 @@ import (
func hideFields(settings *portainer.Settings) {
settings.LDAPSettings.Password = ""
settings.OAuthSettings.ClientSecret = ""
settings.OAuthSettings.KubeSecretKey = nil
}
// Handler is the HTTP handler used to handle settings operations.