Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ServiceAccount (0.2 sec)

  1. istioctl/pkg/multixds/gather.go

    	ns string, serviceAccount string, kubeClient kube.CLIClient, options Options,
    ) (map[string]*discovery.DiscoveryResponse, error) {
    	return MultiRequestAndProcessXds(true, dr, centralOpts, istioNamespace, ns, serviceAccount, kubeClient, options)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug.go

    	var namespace, serviceAccount string
    	xdsRequest := discovery.DiscoveryRequest{
    		ResourceNames: []string{"list"},
    		Node: &core.Node{
    			Id: "debug~0.0.0.0~istioctl~cluster.local",
    		},
    		TypeUrl: v3.DebugType,
    	}
    	xdsResponses, respErr := multixds.AllRequestAndProcessXds(&xdsRequest, centralOpts, istioNamespace,
    		namespace, serviceAccount, kubeClient, multixds.DefaultOptions)
    	if respErr != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    spec:
      metadata: {}
      template:
        serviceAccount: default
    `
    
    	customYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata:
        annotations:
          annotation: foobar
        labels:
          app: foo
          bar: baz
      template:
        ports:
          grpc: 3550
          http: 8080
        serviceAccount: test
    `
    )
    
    type testcase struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    func GetXdsResponse(dr *discovery.DiscoveryRequest, ns string, serviceAccount string, opts clioptions.CentralControlPlaneOptions,
    	grpcOpts []grpc.DialOption,
    ) (*discovery.DiscoveryResponse, error) {
    	adscConn, err := adsc.NewWithBackoffPolicy(opts.Xds, &adsc.ADSConfig{
    		Config: adsc.Config{
    			Meta: model.NodeMetadata{
    				Generator:      "event",
    				ServiceAccount: serviceAccount,
    				Namespace:      ns,
    				CloudrunAddr:   opts.IstiodAddr,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    }
    
    func secretReferencesServiceAccount(serviceAccount *v1.ServiceAccount, secret *v1.Secret) error {
    	if secret.Type != v1.SecretTypeServiceAccountToken ||
    		secret.Annotations[v1.ServiceAccountNameKey] != serviceAccount.Name {
    		return fmt.Errorf("secret %s/%s does not reference ServiceAccount %s",
    			secret.Namespace, secret.Name, serviceAccount.Name)
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    	createCmd.PersistentFlags().StringVarP(&serviceAccount, "serviceAccount", "s", "default", "The service identity to associate with the workload instances")
    	_ = createCmd.RegisterFlagCompletionFunc("serviceAccount", func(
    		cmd *cobra.Command, args []string, toComplete string,
    	) ([]string, cobra.ShellCompDirective) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/api.go

    	Protocol          string            `json:"protocol"`
    	Name              string            `json:"name"`
    	Namespace         string            `json:"namespace"`
    	ServiceAccount    string            `json:"serviceAccount"`
    	WorkloadName      string            `json:"workloadName"`
    	WorkloadType      string            `json:"workloadType"`
    	CanonicalName     string            `json:"canonicalName"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. istioctl/pkg/multicluster/remote_secret_test.go

    		},
    	}
    )
    
    const (
    	testNamespace          = "istio-system-test"
    	testServiceAccountName = "test-service-account"
    )
    
    func makeServiceAccount(secrets ...string) *v1.ServiceAccount {
    	sa := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testServiceAccountName,
    			Namespace: testNamespace,
    		},
    	}
    
    	for _, secret := range secrets {
    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)
  9. cni/test/install_cni.go

    		cp(wd+cniConfSubDir+f, tempCNIConfDir+"/"+destFilenm, t)
    	}
    	for _, f := range ls(wd+k8sSvcAcctSubDir, t) {
    		t.Logf("Copying %v into temp k8s serviceaccount dir %v", f, tempK8sSvcAcctDir)
    		cp(wd+k8sSvcAcctSubDir+f, tempK8sSvcAcctDir+"/"+f, t)
    	}
    	t.Logf("Finished pre-populating working dirs")
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver.go

    	name := pod.ObjectMeta.Name
    	svcAccount := pod.Spec.ServiceAccountName
    	trustDomain := spiffe.GetTrustDomain()
    	return &zdsapi.WorkloadInfo{
    		Namespace:      namespace,
    		Name:           name,
    		ServiceAccount: svcAccount,
    		TrustDomain:    trustDomain,
    	}
    }
    
    func (z *ztunnelServer) PodAdded(ctx context.Context, pod *v1.Pod, netns Netns) error {
    	latestConn := z.conns.LatestConn()
    	if latestConn == nil {
    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)
Back to top