Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 330 for fsGroup (0.12 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go

    	return b
    }
    
    // WithFSGroup sets the FSGroup field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the FSGroup field is set to the value of the last call.
    func (b *PodSecurityContextApplyConfiguration) WithFSGroup(value int64) *PodSecurityContextApplyConfiguration {
    	b.FSGroup = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_client_test.go

    		}
    	} else {
    		mountVolume := &csipbv1.VolumeCapability_MountVolume{
    			FsType:     fsType,
    			MountFlags: mountOptions,
    		}
    		if fsGroup != nil {
    			mountVolume.VolumeMountGroup = strconv.FormatInt(*fsGroup, 10 /* base */)
    		}
    		req.VolumeCapability.AccessType = &csipbv1.VolumeCapability_Mount{
    			Mount: mountVolume,
    		}
    	}
    
    	_, err := c.nodeClient.NodePublishVolume(ctx, req)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_client.go

    		nodeID string,
    		maxVolumePerNode int64,
    		accessibleTopology map[string]string,
    		err error)
    
    	// The caller is responsible for checking whether the driver supports
    	// applying FSGroup by calling NodeSupportsVolumeMountGroup().
    	// If the driver does not, fsGroup must be set to nil.
    	NodePublishVolume(
    		ctx context.Context,
    		volumeid string,
    		readOnly bool,
    		stagingTargetPath string,
    		targetPath string,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 20 10:15:36 UTC 2022
    - 22.1K bytes
    - Viewed (0)
  4. pkg/securitycontext/accessors_test.go

    	api "k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/utils/pointer"
    )
    
    func TestPodSecurityContextAccessor(t *testing.T) {
    	fsGroup := int64(2)
    	runAsUser := int64(1)
    	runAsGroup := int64(1)
    	runAsNonRoot := true
    
    	testcases := []*api.PodSecurityContext{
    		nil,
    		{},
    		{FSGroup: &fsGroup},
    		{HostIPC: true},
    		{HostNetwork: true},
    		{HostPID: true},
    		{RunAsNonRoot: &runAsNonRoot},
    		{RunAsUser: &runAsUser},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inject/explicit-security-context.yaml

            app: hello
        spec:
          containers:
          - name: hello
            image: "fake.docker.io/google-samples/hello-go-gke:1.0"
          # We expect this to get overwritten to 1337
          securityContext:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 07 23:55:05 UTC 2020
    - 379 bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_test.go

    			}
    
    			var fsGroup *int64
    			if pod.Spec.SecurityContext != nil && pod.Spec.SecurityContext.FSGroup != nil {
    				fsGroup = pod.Spec.SecurityContext.FSGroup
    			}
    
    			csiMounter := mounter.(*csiMountMgr)
    			csiMounter.csiClient = csiClient
    			var mounterArgs volume.MounterArgs
    			mounterArgs.FsGroup = fsGroup
    			err = csiMounter.SetUp(mounterArgs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  7. pkg/volume/flexvolume/driver-call.go

    	SupportsMetrics  bool `json:"supportsMetrics"`
    	FSGroup          bool `json:"fsGroup"`
    	RequiresFSResize bool `json:"requiresFSResize"`
    }
    
    func defaultCapabilities() *DriverCapabilities {
    	return &DriverCapabilities{
    		Attach:           true,
    		SELinuxRelabel:   true,
    		SupportsMetrics:  false,
    		FSGroup:          true,
    		RequiresFSResize: true,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 02:39:55 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  8. tests/integration/pilot/testdata/external-forward-proxy-deployment.yaml

          app: external-forward-proxy
      template:
        metadata:
          labels:
            app: external-forward-proxy
        spec:
          securityContext:
            runAsUser: 65534
            runAsGroup: 65534
            fsGroup: 65534
          containers:
          - name: external-forward-proxy
            image: envoyproxy/envoy:v1.21.0
            imagePullPolicy: IfNotPresent
            volumeMounts:
            - name: external-forward-proxy-config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 11 08:07:45 UTC 2023
    - 701 bytes
    - Viewed (0)
  9. cluster/addons/calico-policy-controller/typha-horizontal-autoscaler-deployment.yaml

      template:
        metadata:
          labels:
            k8s-app: calico-typha-autoscaler
        spec:
          priorityClassName: system-cluster-critical
          securityContext:
            supplementalGroups: [ 65534 ]
            fsGroup: 65534
          containers:
          - image: registry.k8s.io/cluster-proportional-autoscaler-amd64:1.7.1
            name: autoscaler
            command:
              - /cluster-proportional-autoscaler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 1K bytes
    - Viewed (0)
  10. pkg/volume/csi/csi_attacher_test.go

    		},
    		{
    			testName:                       "fsgroup provided, driver supports volume mount group; expect fsgroup to be passed to NodeStageVolume",
    			volName:                        "test-vol1",
    			devicePath:                     "path1",
    			deviceMountPath:                "path2",
    			fsGroup:                        &testFSGroup,
    			driverSupportsVolumeMountGroup: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
Back to top