Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for nodev1client (0.29 sec)

  1. pkg/controller/resourcequota/resource_quota_controller.go

    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/wait"
    	quota "k8s.io/apiserver/pkg/quota/v1"
    	"k8s.io/client-go/discovery"
    	coreinformers "k8s.io/client-go/informers/core/v1"
    	corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
    	corelisters "k8s.io/client-go/listers/core/v1"
    	"k8s.io/client-go/tools/cache"
    	"k8s.io/client-go/util/workqueue"
    	"k8s.io/controller-manager/pkg/informerfactory"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_mounter_test.go

    				} else {
    					t.Errorf("SetUp() failed: %v", err)
    				}
    			}
    
    			// ensure call went all the way
    			pubs := csiMounter.csiClient.(*fakeCsiDriverClient).nodeClient.GetNodePublishedVolumes()
    			vol, ok := pubs[csiMounter.volumeID]
    			if !ok {
    				t.Error("csi server may not have received NodePublishVolume call")
    			}
    			if vol.Path != csiMounter.GetPath() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  3. pkg/volume/csi/expander_test.go

    			csClient := setupClientWithExpansion(t, tc.nodeStageSet, tc.nodeExpansion)
    
    			fakeCSIClient, _ := csClient.(*fakeCsiDriverClient)
    			fakeNodeClient := fakeCSIClient.nodeClient
    
    			if tc.enableCSINodeExpandSecret {
    				_, err := plug.host.GetKubeClient().CoreV1().Secrets(tc.secret.Namespace).Create(context.TODO(), tc.secret, metav1.CreateOptions{})
    				if err != nil {
    					t.Fatal(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. pilot/pkg/controllers/untaint/nodeuntainter_test.go

    	go nodeUntainter.Run(stop)
    	client.RunAndWait(stop)
    	kubelib.WaitForCacheSync("test", stop, nodeUntainter.HasSynced)
    
    	pc := clienttest.Wrap(t, nodeUntainter.podsClient)
    	nc := clienttest.Wrap(t, nodeUntainter.nodesClient)
    
    	return &nodeTainterTestServer{
    		client: client,
    		t:      t,
    		pc:     pc,
    		nc:     nc,
    	}
    }
    
    func TestNodeUntainter(t *testing.T) {
    	setupLogging()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. pkg/volume/csi/nodeinfomanager/nodeinfomanager.go

    	// existing changes are not overwritten.
    
    	kubeClient := nim.volumeHost.GetKubeClient()
    	if kubeClient == nil {
    		return fmt.Errorf("error getting kube client")
    	}
    
    	nodeClient := kubeClient.CoreV1().Nodes()
    	originalNode, err := nodeClient.Get(context.TODO(), string(nim.nodeName), metav1.GetOptions{})
    	if err != nil {
    		return err
    	}
    	node := originalNode.DeepCopy()
    
    	needUpdate := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_attacher_test.go

    			}
    
    			// Verify call goes through all the way
    			numStaged := 1
    			if !tc.stageUnstageSet {
    				numStaged = 0
    			}
    
    			cdc := csiAttacher.csiClient.(*fakeCsiDriverClient)
    			staged := cdc.nodeClient.GetNodeStagedVolumes()
    			if len(staged) != numStaged {
    				t.Errorf("got wrong number of staged volumes, expecting %v got: %v", numStaged, len(staged))
    			}
    			if tc.stageUnstageSet {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  7. pkg/controller/cronjob/cronjob_controllerv2.go

    	"k8s.io/apimachinery/pkg/util/wait"
    	batchv1informers "k8s.io/client-go/informers/batch/v1"
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/scheme"
    	corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
    	batchv1listers "k8s.io/client-go/listers/batch/v1"
    	"k8s.io/client-go/tools/cache"
    	"k8s.io/client-go/tools/record"
    	ref "k8s.io/client-go/tools/reference"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml

        name: system:certificates.k8s.io:certificatesigningrequests:nodeclient
      rules:
      - apiGroups:
        - certificates.k8s.io
        resources:
        - certificatesigningrequests/nodeclient
        verbs:
        - create
    - apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRole
      metadata:
        annotations:
          rbac.authorization.kubernetes.io/autoupdate: "true"
        creationTimestamp: null
    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. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    			Rules: []rbacv1.PolicyRule{
    				rbacv1helpers.NewRule("create").Groups(certificatesGroup).Resources("certificatesigningrequests/nodeclient").RuleOrDie(),
    			},
    		},
    		{
    			// a role making the csrapprover controller approve a node client CSR requested by the node itself
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.7.md

            * requests for a TLS client certificate for any node are approved if the CSR creator has `create` permission on the `certificatesigningrequests` resource and `nodeclient` subresource in the `certificates.k8s.io` API group
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (0)
Back to top