Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tokenSecretName (0.67 sec)

  1. istioctl/pkg/multicluster/remote_secret_test.go

    			},
    			objs: []runtime.Object{
    				makeServiceAccount(tokenSecretName(testServiceAccountName)),
    			},
    			want: &v1.Secret{
    				TypeMeta: metav1.TypeMeta{Kind: gvk.Secret.Kind, APIVersion: gvr.Secret.GroupVersion().String()},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:        tokenSecretName(testServiceAccountName),
    					Namespace:   testNamespace,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret.go

    	// TODO ephemeral time-based tokens are preferred; we should re-think this
    	log.Infof("Creating token secret for service account %q", serviceAccount.Name)
    	secretName := tokenSecretName(serviceAccount.Name)
    	return client.Kube().CoreV1().Secrets(opt.Namespace).Create(ctx, &v1.Secret{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        secretName,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top