- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CreateToken (0.07 sec)
-
istioctl/pkg/workload/workload.go
}, Spec: authenticationv1.TokenRequestSpec{ Audiences: []string{"istio-ca"}, ExpirationSeconds: &tokenDuration, }, } tokenReq, err := kubeClient.Kube().CoreV1().ServiceAccounts(wg.Namespace).CreateToken(context.Background(), serviceAccount, token, metav1.CreateOptions{}) // errors if the token could not be created with the given service account in the given namespace if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 25.3K bytes - Viewed (0)