Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for serviceAccountName (0.16 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    	case SecretTypeRemote:
    		secretName = remoteSecretNameFromClusterName(opt.ClusterName)
    		if opt.ServiceAccountName == "" {
    			opt.ServiceAccountName = constants.DefaultServiceAccountName
    		}
    	case SecretTypeConfig:
    		secretName = configSecretName
    		if opt.ServiceAccountName == "" {
    			opt.ServiceAccountName = constants.DefaultConfigServiceAccountName
    		}
    	default:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    				return &fakeOutputWriter{injectError: c.outputWriterError}
    			}
    			if c.secType != SecretTypeConfig {
    				c.secType = SecretTypeRemote
    			}
    			opts := RemoteSecretOptions{
    				ServiceAccountName: testServiceAccountName,
    				AuthType:           RemoteSecretAuthTypeBearerToken,
    				// ClusterName: testCluster,
    				KubeOptions: KubeOptions{
    					Namespace: testNamespace,
    				},
    				Type:       c.secType,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net_test.go

    	nlDeps := fixture.nlDeps
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: "bar",
    			UID:       "123",
    		},
    		Spec: corev1.PodSpec{ServiceAccountName: "sa"},
    	}
    
    	// this is usually called after add. so manually add the pod uid for now
    	fakens := newFakeNs(123)
    	closed := fakens.closed
    	workload := WorkloadInfo{
    		Workload: podToWorkload(pod),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    		}
    	}
    	return errors.Join(delErr...)
    }
    
    func podToWorkload(pod *v1.Pod) *zdsapi.WorkloadInfo {
    	namespace := pod.ObjectMeta.Namespace
    	name := pod.ObjectMeta.Name
    	svcAccount := pod.Spec.ServiceAccountName
    	trustDomain := spiffe.GetTrustDomain()
    	return &zdsapi.WorkloadInfo{
    		Namespace:      namespace,
    		Name:           name,
    		ServiceAccount: svcAccount,
    		TrustDomain:    trustDomain,
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest-generate_test.go

    			t.Fatalf("HPA does not match deployment: %v != %v", cname, hpaName)
    		}
    
    		serviceAccountName := mustGetPath(t, deployment, "spec.template.spec.serviceAccountName").(string)
    		mustFindObject(t, objs, serviceAccountName, name.SAStr)
    
    		// Check we aren't changing immutable fields. This only matters for in place upgrade (non revision)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top