Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 329 for serviceAccount (0.19 sec)

  1. pkg/serviceaccount/openidmetadata_test.go

    			keys:      defaultKeys,
    			err:       true,
    		},
    		{
    			name:      "jwks missing scheme",
    			issuerURL: exampleIssuer,
    			jwksURI:   "issuer.example.com" + serviceaccount.JWKSPath,
    			keys:      defaultKeys,
    			err:       true,
    		},
    		{
    			name:      "jwks is not a valid URL",
    			issuerURL: exampleIssuer,
    			jwksURI:   "issuer" + serviceaccount.JWKSPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 01:53:17 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  2. pkg/serviceaccount/claims.go

    		return nil, fmt.Errorf("service account UID (%s) does not match claim (%s)", serviceAccount.UID, saref.UID)
    	}
    	if serviceAccount.DeletionTimestamp != nil && serviceAccount.DeletionTimestamp.Time.Before(invalidIfDeletedBefore) {
    		klog.V(4).Infof("Service account has been deleted %s/%s", namespace, saref.Name)
    		return nil, fmt.Errorf("service account %s/%s has been deleted", namespace, saref.Name)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top