Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 231 for serviceAccount (0.34 sec)

  1. pilot/pkg/xds/proxy_dependencies_test.go

    			},
    			sa:        "serviceaccount",
    			namespace: "namespace",
    			success:   true,
    		},
    		{
    			name: "no match namespace",
    			identity: []string{
    				spiffe.Identity{TrustDomain: "cluster.local", Namespace: "bad", ServiceAccount: "serviceaccount"}.String(),
    			},
    			sa:        "serviceaccount",
    			namespace: "namespace",
    			success:   false,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	svcPort *networking.ServicePort, svcLabels map[string]string, serviceAccount string,
    ) *model.ServiceInstance {
    	i := makeInstance(cfg, address, port, svcPort, svcLabels, MTLSUnlabelled)
    	i.Endpoint.ServiceAccount = spiffe.MustGenSpiffeURIForTrustDomain("cluster.local", i.Service.Attributes.Namespace, serviceAccount)
    	return i
    }
    
    // nolint: unparam
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. samples/addons/prometheus.yaml

    ---
    # Source: prometheus/templates/serviceaccount.yaml
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      labels:
        app.kubernetes.io/component: server
        app.kubernetes.io/name: prometheus
        app.kubernetes.io/instance: prometheus
        app.kubernetes.io/version: v2.52.0
        helm.sh/chart: prometheus-25.21.0
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/part-of: prometheus
      name: prometheus
      namespace: istio-system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. pkg/spiffe/spiffe.go

    func genSpiffeURI(td string, ns, serviceAccount string) (string, error) {
    	var err error
    	if ns == "" || serviceAccount == "" {
    		err = fmt.Errorf(
    			"namespace or service account empty for SPIFFE uri ns=%v serviceAccount=%v", ns, serviceAccount)
    	}
    	return URIPrefix + sanitizeTrustDomain(td) + "/ns/" + ns + "/sa/" + serviceAccount, err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. 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) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. pkg/spiffe/spiffe_test.go

    			namespace:      "foo",
    			serviceAccount: "bar",
    			trustDomain:    "******@****.***.gserviceaccount.com",
    			expectedURI:    "spiffe://kube-federating-id.testproj.iam.gserviceaccount.com/ns/foo/sa/bar",
    		},
    	}
    	for id, tc := range testCases {
    		got, err := genSpiffeURI(tc.trustDomain, tc.namespace, tc.serviceAccount)
    		if tc.expectedError == "" && err != nil {
    			t.Errorf("teste case [%v] failed, error %v", id, tc)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/options/options.go

    			if completed.Authentication.ServiceAccounts.MaxExpiration < lowBound ||
    				completed.Authentication.ServiceAccounts.MaxExpiration > upBound {
    				return CompletedOptions{}, fmt.Errorf("the service-account-max-token-expiration must be between 1 hour and 2^32 seconds")
    			}
    			if completed.Authentication.ServiceAccounts.ExtendExpiration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    					Namespace:         testNS,
    					Addresses:         [][]byte{parseIP("140.140.0.10")},
    					Network:           testNW,
    					CanonicalName:     "a",
    					CanonicalRevision: "latest",
    					ServiceAccount:    "sa1",
    					WorkloadType:      workloadapi.WorkloadType_POD,
    					WorkloadName:      "name0",
    					ClusterId:         testC,
    				},
    			},
    		},
    	}})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/common/deployment/echos.go

    		Service:                 ASvc,
    		ServiceAccount:          true,
    		Ports:                   ports.All(),
    		Subsets:                 []echo.SubsetConfig{{}},
    		Locality:                "region.zone.subzone",
    		IncludeExtAuthz:         c.IncludeExtAuthz,
    		DisableAutomountSAToken: disableAutomountSAToken,
    	}
    
    	b := echo.Config{
    		Service:         BSvc,
    		ServiceAccount:  true,
    		Ports:           ports.All(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/authenticator/config.go

    		}
    		allPublicKeys = append(allPublicKeys, publicKeys...)
    	}
    	validator, err := serviceaccount.NewLegacyValidator(lookup, serviceAccountGetter, secretsWriter)
    	if err != nil {
    		return nil, fmt.Errorf("while creating legacy validator, err: %w", err)
    	}
    
    	tokenAuthenticator := serviceaccount.JWTTokenAuthenticator([]string{serviceaccount.LegacyIssuer}, allPublicKeys, apiAudiences, validator)
    	return tokenAuthenticator, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top