1
0
Fork 0
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:
Marcelo Rydel 2021-11-15 14:45:20 -07:00 committed by GitHub
parent 22b72fb6e3
commit 048613a0c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 106 additions and 24 deletions

View file

@ -22,5 +22,5 @@ func (service *Service) GenerateTokenForKubeconfig(data *portainer.TokenData) (s
expiryAt = 0
}
return service.generateSignedToken(data, expiryAt)
return service.generateSignedToken(data, expiryAt, kubeConfigScope)
}