Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for SA (0.15 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/testdata/secretsummary.txt

    spiffe://cluster.local/ns/istio-system/sa/istiod         CA             Available        true           e5dfb59150b2ba7f108d93dcec5aa613     2033-03-22T13:04:57Z     2023-03-21T13:02:57Z
    spiffe://cluster.local/ns/istio-system/sa/istiod         Cert Chain     Available        false          8a516645c40ce76c2c0d27ab4e2461c1     2022-03-18T13:04:49Z     2022-03-21T13:04:49Z
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. istioctl/pkg/completion/completion.go

    	if err != nil {
    		return nil, err
    	}
    
    	var saNameList []string
    	for _, sa := range saList.Items {
    		if toComplete == "" || strings.HasPrefix(sa.Name, toComplete) {
    			saNameList = append(saNameList, sa.Name)
    		}
    	}
    
    	return saNameList, nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

          "identity": "spiffe://cluster.local/ns/istio-system/sa/ztunnel",
          "state": "Initializing",
          "certChain": []
        },
        {
          "identity": "spiffe://cluster.local/ns/istio-system/sa/another-sa",
          "state": "Unavailable: the identity is no longer needed",
          "certChain": []
        },
        {
          "identity": "spiffe://cluster.local/ns/istio-system/sa/istiod",
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret_test.go

    func makeServiceAccount(secrets ...string) *v1.ServiceAccount {
    	sa := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testServiceAccountName,
    			Namespace: testNamespace,
    		},
    	}
    
    	for _, secret := range secrets {
    		sa.Secrets = append(sa.Secrets, v1.ObjectReference{
    			Name:      secret,
    			Namespace: testNamespace,
    		})
    	}
    
    	return sa
    }
    
    func makeSecret(name, caData, token string) *v1.Secret {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret.go

    		}
    		if err := secretReferencesServiceAccount(serviceAccount, secret); err != nil {
    			return nil, err
    		}
    		return secret, nil
    	}
    
    	// first try to find an existing secret that references the SA
    	// TODO will the SA have any reference to secrets anymore, can we avoid this list?
    	allSecrets, err := client.Kube().CoreV1().Secrets(opt.Namespace).List(ctx, metav1.ListOptions{})
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    	// TODO: add more checks
    
    	sa := local.NewSourceAnalyzer(
    		analysis.Combine("upgrade precheck", &maturity.AlphaAnalyzer{}),
    		resource.Namespace(ctx.Namespace()),
    		resource.Namespace(ctx.IstioNamespace()),
    		nil,
    	)
    	if err != nil {
    		return nil, err
    	}
    	sa.AddRunningKubeSource(cli)
    	cancel := make(chan struct{})
    	result, err := sa.Analyze(cancel)
    	if err != nil {
    		return nil, err
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. cni/pkg/install/install_test.go

    			}
    
    			// Change SA token
    			if len(c.saNewFilename) > 0 {
    				t.Log("Expecting detect changes to the SA token")
    				if err := file.AtomicCopy(filepath.Join("testdata", c.saNewFilename), tempDir, c.saFilename); err != nil {
    					t.Fatal(err)
    				}
    
    				select {
    				case err := <-errChan:
    					if err != nil {
    						// A change in SA token should return nil
    						t.Fatal(err)
    					}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    		Example: "  istioctl x workload group create --name foo --namespace bar --labels app=foo,bar=baz " +
    			"--ports grpc=3550,http=8080 --annotations annotation=foobar --serviceAccount sa",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if name == "" {
    				return fmt.Errorf("expecting a workload name")
    			}
    			if namespace == "" {
    				return fmt.Errorf("expecting a workload namespace")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag.go

    	return nil
    }
    
    func analyzeWebhook(name, istioNamespace, wh, revision string, config *rest.Config) error {
    	sa := local.NewSourceAnalyzer(analysis.Combine("webhook", &webhook.Analyzer{}), "", resource.Namespace(istioNamespace), nil)
    	if err := sa.AddReaderKubeSource([]local.ReaderSource{{Name: "", Reader: strings.NewReader(wh)}}); err != nil {
    		return err
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top