Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for serviceAccounts (0.32 sec)

  1. 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)
  2. pkg/kubeapiserver/options/authentication.go

    	}
    
    	ret.APIAudiences = o.APIAudiences
    	if o.ServiceAccounts != nil {
    		if len(o.ServiceAccounts.Issuers) != 0 && len(o.APIAudiences) == 0 {
    			ret.APIAudiences = authenticator.Audiences(o.ServiceAccounts.Issuers)
    		}
    		ret.ServiceAccountKeyFiles = o.ServiceAccounts.KeyFiles
    		ret.ServiceAccountIssuers = o.ServiceAccounts.Issuers
    		ret.ServiceAccountLookup = o.ServiceAccounts.Lookup
    	}
    
    	if o.TokenFile != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. pkg/controller/serviceaccount/tokens_controller_test.go

    		ExpectedActions []core.Action
    	}{
    		"new serviceaccount with no secrets": {
    			ClientObjects: []runtime.Object{serviceAccount(emptySecretReferences())},
    
    			AddedServiceAccount: serviceAccount(emptySecretReferences()),
    			ExpectedActions:     []core.Action{},
    		},
    		"new serviceaccount with missing secrets": {
    			ClientObjects: []runtime.Object{serviceAccount(missingSecretReferences())},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. pilot/pkg/model/endpointshards.go

    	oldServiceAccount := shards.ServiceAccounts
    	serviceAccounts := sets.String{}
    	for _, epShards := range shards.Shards {
    		for _, ep := range epShards {
    			if ep.ServiceAccount != "" {
    				serviceAccounts.Insert(ep.ServiceAccount)
    			}
    		}
    	}
    
    	if !oldServiceAccount.Equals(serviceAccounts) {
    		shards.ServiceAccounts = serviceAccounts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    	// waypoint. Must be one of "all", "service", "workload".
    	TrafficType string
    
    	// ServiceAccounts from instances of the waypoint.
    	// This only handles Pods. If we wish to support non-pod waypoints, we'll
    	// want to index ServiceEntry/WorkloadEntry or possibly allow specifying
    	// the ServiceAccounts directly on a Gateway resource.
    	ServiceAccounts []string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. pkg/controller/serviceaccount/tokens_controller.go

    	if serviceAccount, ok := obj.(*v1.ServiceAccount); ok {
    		e.syncServiceAccountQueue.Add(makeServiceAccountKey(serviceAccount))
    	}
    }
    
    func (e *TokensController) queueServiceAccountUpdateSync(oldObj interface{}, newObj interface{}) {
    	if serviceAccount, ok := newObj.(*v1.ServiceAccount); ok {
    		e.syncServiceAccountQueue.Add(makeServiceAccountKey(serviceAccount))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. pilot/pkg/model/service_test.go

    		},
    		{
    			first: &Service{
    				ServiceAccounts: []string{"sa1"},
    			},
    			other: &Service{
    				ServiceAccounts: []string{"sa1"},
    			},
    			shouldEq: true,
    			name:     "matching service accounts",
    		},
    		{
    			first: &Service{
    				ServiceAccounts: []string{"sa1"},
    			},
    			other: &Service{
    				ServiceAccounts: []string{"sa2"},
    			},
    			shouldEq: false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml

        - replicationcontrollers
        - replicationcontrollers/scale
        - secrets
        - serviceaccounts
        - services
        - services/proxy
        verbs:
        - create
        - delete
        - deletecollection
        - patch
        - update
      - apiGroups:
        - ""
        resources:
        - serviceaccounts/token
        verbs:
        - create
      - apiGroups:
        - apps
        resources:
        - daemonsets
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 08:11:08 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_tls.go

    	}
    
    	// For backward compatibility, use metadata certs if provided.
    	if cb.hasMetadataCerts() {
    		return cb.buildMutualTLS(serviceAccounts, sni), autoDetected
    	}
    
    	// Build settings for auto MTLS.
    	return cb.buildIstioMutualTLS(serviceAccounts, sni), autoDetected
    }
    
    func (cb *ClusterBuilder) hasMetadataCerts() bool {
    	return cb.metadataCerts != nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/options/authentication_test.go

    		testAuthenticationConfigFile      string
    		expectErr                         string
    		enabledFeatures, disabledFeatures []featuregate.Feature
    	}{
    		{
    			name: "test when OIDC and ServiceAccounts are nil",
    		},
    		{
    			name: "test when OIDC and ServiceAccounts are valid",
    			testOIDC: &OIDCAuthenticationOptions{
    				UsernameClaim:      "sub",
    				SigningAlgs:        []string{"RS256"},
    				IssuerURL:          "https://testIssuerURL",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
Back to top