Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for VisitPVSecretNames (0.38 sec)

  1. pkg/api/v1/persistentvolume/util_test.go

    		t.Error("Missing expected secret paths. Verify VisitPVSecretNames() is correctly finding the missing paths, then correct expectedSecretPaths")
    	}
    	if extraPaths := secretPaths.Difference(expectedSecretPaths); len(extraPaths) > 0 {
    		t.Logf("Extra secret paths:\n%s", strings.Join(sets.List[string](extraPaths), "\n"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. pkg/api/v1/persistentvolume/util.go

    		}
    		// delegate to visitor
    		return visitor(namespace, name, kubeletVisible)
    	}
    }
    
    // VisitPVSecretNames invokes the visitor function with the name of every secret
    // referenced by the PV spec. If visitor returns false, visiting is short-circuited.
    // Returns true if visiting completed, false if visiting was short-circuited.
    func VisitPVSecretNames(pv *corev1.PersistentVolume, visitor Visitor) bool {
    	visitor = skipEmptyNames(visitor)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 05 03:36:23 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/graph.go

    		g.graph.SetEdge(simple.Edge{F: pvVertex, T: g.getOrCreateVertex_locked(pvcVertexType, pv.Spec.ClaimRef.Namespace, pv.Spec.ClaimRef.Name)})
    		pvutil.VisitPVSecretNames(pv, func(namespace, secret string, kubeletVisible bool) bool {
    			// This grants access to the named secret in the same namespace as the bound PVC
    			if kubeletVisible {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top