mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 14:59:41 +02:00
fix(k8s/user): remove username part from service account (#4147)
This commit is contained in:
parent
bd7d7dcef5
commit
909e1ef02c
5 changed files with 14 additions and 14 deletions
|
@ -13,8 +13,8 @@ const (
|
|||
portainerConfigMapAccessPoliciesKey = "NamespaceAccessPolicies"
|
||||
)
|
||||
|
||||
func userServiceAccountName(userID int, username string) string {
|
||||
return fmt.Sprintf("%s-%d-%s", portainerUserServiceAccountPrefix, userID, username)
|
||||
func userServiceAccountName(userID int) string {
|
||||
return fmt.Sprintf("%s-%d", portainerUserServiceAccountPrefix, userID)
|
||||
}
|
||||
|
||||
func userServiceAccountTokenSecretName(serviceAccountName string) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue