Skip to content

Commit

Permalink
remove token audience
Browse files Browse the repository at this point in the history
Signed-off-by: shsun_pure <shsun@purestorage.com>
  • Loading branch information
shsun_pure committed Jul 10, 2024
1 parent 1dc1747 commit 8e18ca7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/storage/portworx/component/portworx_basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,6 @@ func (c *portworxBasic) refreshTokenSecret(secret *v1.Secret, cluster *corev1.St
func generatePxSaToken(cluster *corev1.StorageCluster, expirationSeconds int64) (*authv1.TokenRequest, error) {
tokenRequest := &authv1.TokenRequest{
Spec: authv1.TokenRequestSpec{
Audiences: []string{"https://kubernetes.default.svc.cluster.local"}, // the k8s api server service
ExpirationSeconds: &expirationSeconds,
},
}
Expand Down

0 comments on commit 8e18ca7

Please sign in to comment.