- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 139 for hostUsers (0.44 sec)
-
pkg/kubelet/userns/userns_manager_disabled_test.go
success: true, }, { name: "hostUsers is nil", pod: &v1.Pod{ Spec: v1.PodSpec{ HostUsers: nil, }, }, success: true, }, { name: "hostUsers is true", pod: &v1.Pod{ Spec: v1.PodSpec{ HostUsers: &trueVal, }, }, }, { name: "hostUsers is false", pod: &v1.Pod{ Spec: v1.PodSpec{ HostUsers: &falseVal, }, }, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager_test.go
}, { name: "opt-in to host user namespace", pod: &v1.Pod{ Spec: v1.PodSpec{ HostUsers: &trueVal, }, }, expMode: runtimeapi.NamespaceMode_NODE, success: true, }, { name: "user namespace", pod: &v1.Pod{ Spec: v1.PodSpec{ HostUsers: &falseVal, }, }, expMode: runtimeapi.NamespaceMode_POD, runtimeUserns: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 14.6K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go
return b } // WithHostUsers sets the HostUsers 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 HostUsers field is set to the value of the last call. func (b *PodSpecApplyConfiguration) WithHostUsers(value bool) *PodSpecApplyConfiguration { b.HostUsers = &value return b }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:22:42 UTC 2022 - 23.9K bytes - Viewed (0) -
pkg/apis/core/v1/conversion.go
out.HostNetwork = in.SecurityContext.HostNetwork out.HostIPC = in.SecurityContext.HostIPC out.ShareProcessNamespace = in.SecurityContext.ShareProcessNamespace out.HostUsers = in.SecurityContext.HostUsers } return nil } func Convert_core_NodeSpec_To_v1_NodeSpec(in *core.NodeSpec, out *v1.NodeSpec, s conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:30:55 UTC 2024 - 19K bytes - Viewed (0) -
pkg/api/pod/util.go
// If the feature is disabled and not in use, drop the hostUsers field. if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesSupport) && !hostUsersInUse(oldPodSpec) { // Drop the field in podSpec only if SecurityContext is not nil. // If it is nil, there is no need to set hostUsers=nil (it will be nil too). if podSpec.SecurityContext != nil { podSpec.SecurityContext.HostUsers = nil } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41.3K bytes - Viewed (0) -
pkg/api/pod/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
gracePeriod = *spec.TerminationGracePeriodSeconds } // The default for hostUsers is true, so a spec with no SecurityContext or no HostUsers field will be true. // If the default ever changes, this condition will need to be changed. hostUsers := spec.SecurityContext == nil || spec.SecurityContext.HostUsers == nil || *spec.SecurityContext.HostUsers vols, vErrs := ValidateVolumes(spec.Volumes, podMeta, fldPath.Child("volumes"), opts)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json
"matchLabelKeysValue" ] } ], "setHostnameAsFQDN": true, "os": { "name": "nameValue" }, "hostUsers": true, "schedulingGates": [ { "name": "nameValue" } ], "resourceClaims": [ { "name": "nameValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 53.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json
"matchLabelKeysValue" ] } ], "setHostnameAsFQDN": true, "os": { "name": "nameValue" }, "hostUsers": true, "schedulingGates": [ { "name": "nameValue" } ], "resourceClaims": [ { "name": "nameValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 53.7K bytes - Viewed (0)