- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 129 for fsGroup (0.15 sec)
-
pkg/volume/csi/csi_mounter_test.go
fsType: "", }, { name: "default fstype with fsgroup (should not apply fsgroup)", accessModes: []corev1.PersistentVolumeAccessMode{ corev1.ReadWriteOnce, }, readOnly: false, fsType: "", setFsGroup: true, fsGroup: 3000, }, { name: "fstype, fsgroup, RWM, ROM provided (should not apply fsgroup)", accessModes: []corev1.PersistentVolumeAccessMode{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
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) -
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) -
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) -
pkg/kubelet/kuberuntime/security_context.go
if err != nil { return nil, err } synthesized.NamespaceOptions = namespaceOptions podSc := pod.Spec.SecurityContext if podSc != nil { if podSc.FSGroup != nil { synthesized.SupplementalGroups = append(synthesized.SupplementalGroups, int64(*podSc.FSGroup)) } if podSc.SupplementalGroups != nil { for _, sg := range podSc.SupplementalGroups {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/volume/projected/projected.go
payload[k] = v } case source.ServiceAccountToken != nil: tp := source.ServiceAccountToken // When FsGroup is set, we depend on SetVolumeOwnership to // change from 0600 to 0640. mode := *s.source.DefaultMode if mounterArgs.FsUser != nil || mounterArgs.FsGroup != nil { mode = 0600 } var auds []string if len(tp.Audience) != 0 { auds = []string{tp.Audience} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/volume/volume.go
// owned and writable by FsUser. Otherwise, there is no side effects. // Currently only supported with projected service account tokens. FsUser *int64 FsGroup *int64 FSGroupChangePolicy *v1.PodFSGroupChangePolicy DesiredSize *resource.Quantity SELinuxLabel string } // Mounter interface provides methods to set up/mount the volume.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/volume/local/local.go
} refs, err := m.mounter.GetMountRefs(m.globalPath) if mounterArgs.FsGroup != nil { if err != nil { klog.Errorf("cannot collect mounting information: %s %v", m.globalPath, err) return err } // Only count mounts from other pods refs = m.filterPodMounts(refs) if len(refs) > 0 { fsGroupNew := int64(*mounterArgs.FsGroup) _, fsGroupOld, err := m.hostUtil.GetOwner(m.globalPath) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0) -
helm/minio/templates/statefulset.yaml
securityContext: runAsUser: {{ .Values.securityContext.runAsUser }} runAsGroup: {{ .Values.securityContext.runAsGroup }} fsGroup: {{ .Values.securityContext.fsGroup }} {{- if and (ge .Capabilities.KubeVersion.Major "1") (ge .Capabilities.KubeVersion.Minor "20") }} fsGroupChangePolicy: {{ .Values.securityContext.fsGroupChangePolicy }} {{- end }}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 07:50:24 UTC 2024 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1/types.go
// to determine if the volume ownership and permissions // should be modified. If a fstype is defined and the volume's access mode // contains ReadWriteOnce, then the defined fsGroup will be applied. // This mode should be defined if it's expected that the // fsGroup may need to be modified depending on the pod's SecurityPolicy. // This is the default behavior if no other FSGroupPolicy is defined.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 32K bytes - Viewed (0)