mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
feature(kubeconfig): Do not invalidate kubeconfig upon Portainer restarting [EE-1854] (#5905)
This commit is contained in:
parent
22b72fb6e3
commit
048613a0c5
7 changed files with 106 additions and 24 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue