Skip to content

Commit

Permalink
Merge pull request #4030 from twz123/remove-bootstrap-api-auth-usage
Browse files Browse the repository at this point in the history
Remove unused bootstrap-api-auth token usage
  • Loading branch information
twz123 authored Feb 19, 2024
2 parents 1eb552a + 29fba0c commit b26d874
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/token/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ func RandomBootstrapSecret(role string, valid time.Duration) (*corev1.Secret, st
StringData: map[string]string{
"token-id": tokenID,
"token-secret": tokenSecret,

// This "usage-" is shared for all roles of the token which allows
// them to execute calls to the k0s API. This is done because we
// need to call the k0s API from windows workers during the join
// step.
"usage-bootstrap-api-auth": "true",
},
}

Expand Down

0 comments on commit b26d874

Please sign in to comment.