Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for svcaccts (0.11 sec)

  1. cni/pkg/install/kubeconfig.go

    // writeKubeConfigFile will rewrite/replace the kubeconfig used by the CNI plugin.
    // We are the only consumers of this file and it resides in our owned rundir on the host node,
    // so we are good to simply write it out if our watched svcacct token changes.
    func writeKubeConfigFile(cfg *config.InstallConfig) error {
    	kc, err := createKubeConfig(cfg)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-ldap.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errNoSuchUser), r.URL)
    		return
    	}
    	targetAccount := dnResult.NormDN
    
    	listType := r.Form.Get("listType")
    	if listType != "sts-only" && listType != "svcacc-only" && listType != "" {
    		// default to both
    		listType = ""
    	}
    
    	var serviceAccounts []auth.Credentials
    	var stsKeys []auth.Credentials
    
    	if listType == "" || listType == "sts-only" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    	defer rmDir(tempCNIConfDir, t)
    	tempCNIBinDir := mktemp(testWorkRootDir, "cni-bin-", t)
    	defer rmDir(tempCNIBinDir, t)
    	tempK8sSvcAcctDir := mktemp(testWorkRootDir, "kube-svcacct-", t)
    	defer rmDir(tempK8sSvcAcctDir, t)
    
    	populateTempDirs(wd, cniConfDirOrderedFiles, tempCNIConfDir, tempK8sSvcAcctDir, t)
    	doTest(t, chainedCNIPlugin, wd, preConfFile, resultFileName, delayedConfFile, expectedOutputFile,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    	}
    
    	bootstrapTraceMsg("loading STS account policy mapping")
    	stsPolicyMappingLoadStartTime := UTCNow()
    	var stsPolicyMappingsCount int
    	for _, svcAcc := range svcUsersMap {
    		svcParent := svcAcc.Credentials.ParentUser
    		if _, ok := cache.iamUsersMap[svcParent]; !ok {
    			stsPolicyMappingsCount++
    			// If a service account's parent user is not in iamUsersMap, the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	svcAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  credentials.NewStaticV4(cr.AccessKey, cr.SecretKey, ""),
    		Secure: s.secure,
    	})
    	if err != nil {
    		c.Fatalf("Err creating svcacct admin client: %v", err)
    	}
    	svcAdmClient.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	// Attempt to update the policy on the service account.
    	err = svcAdmClient.UpdateServiceAccount(ctx, cr.AccessKey,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top