- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 154 for HostPID (0.14 sec)
-
pkg/api/testing/backward_compatibility_test.go
}, }, { name: "hostPID = true", input: ` { "kind":"Pod", "apiVersion":"v1", "metadata":{"name":"my-pod-name", "namespace":"my-pod-namespace"}, "spec": { "hostPID": true, "containers":[{ "name":"a", "image":"my-container-image" }] } } `, expectedKeys: map[string]string{ "spec.hostPID": "true", }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 01 18:45:58 UTC 2021 - 3.5K bytes - Viewed (0) -
pkg/securitycontext/accessors_test.go
continue } } // HostPID { modifiedSC := nonNilSC(tc.newSC()) m := NewPodSecurityContextMutator(tc.newSC()) modifiedSC.HostPID = !modifiedSC.HostPID m.SetHostPID(!m.HostPID()) if !reflect.DeepEqual(m.PodSecurityContext(), modifiedSC) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 16:15:27 UTC 2023 - 27.8K bytes - Viewed (0) -
pkg/securitycontext/accessors.go
return } w.ensurePodSC() w.podSC.HostNetwork = v } func (w *podSecurityContextWrapper) HostPID() bool { if w.podSC == nil { return false } return w.podSC.HostPID } func (w *podSecurityContextWrapper) SetHostPID(v bool) { if w.podSC == nil && v == false { return } w.ensurePodSC() w.podSC.HostPID = v } func (w *podSecurityContextWrapper) HostIPC() bool { if w.podSC == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 16:15:27 UTC 2023 - 14.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/types.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 9.1K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go
return b } // WithHostPID sets the HostPID 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 HostPID field is set to the value of the last call. func (b *PodSpecApplyConfiguration) WithHostPID(value bool) *PodSpecApplyConfiguration { b.HostPID = &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.DeprecatedServiceAccount = in.ServiceAccountName if in.SecurityContext != nil { // the host namespace fields have to be handled here for backward compatibility // with v1.0.0 out.HostPID = in.SecurityContext.HostPID out.HostNetwork = in.SecurityContext.HostNetwork out.HostIPC = in.SecurityContext.HostIPC out.ShareProcessNamespace = in.SecurityContext.ShareProcessNamespace
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:30:55 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/util/util_test.go
Pid: runtimeapi.NamespaceMode_CONTAINER, }, }, "Host Namespaces": { input: &v1.Pod{ Spec: v1.PodSpec{ HostIPC: true, HostNetwork: true, HostPID: true, }, }, expected: &runtimeapi.NamespaceOption{ Ipc: runtimeapi.NamespaceMode_NODE, Network: runtimeapi.NamespaceMode_NODE, Pid: runtimeapi.NamespaceMode_NODE, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:14:48 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/util/util.go
} // PidNamespaceForPod returns the runtimeapi.NamespaceMode // for the PID namespace of a pod func PidNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode { if pod != nil { if pod.Spec.HostPID { return runtimeapi.NamespaceMode_NODE } if pod.Spec.ShareProcessNamespace != nil && *pod.Spec.ShareProcessNamespace { return runtimeapi.NamespaceMode_POD } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:14:48 UTC 2024 - 4.6K bytes - Viewed (0) -
common-protos/k8s.io/api/policy/v1beta1/generated.proto
// hostPorts determines which host port ranges are allowed to be exposed. // +optional repeated HostPortRange hostPorts = 7; // hostPID determines if the policy allows the use of HostPID in the pod spec. // +optional optional bool hostPID = 8; // hostIPC determines if the policy allows the use of HostIPC in the pod spec. // +optional optional bool hostIPC = 9;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.6K bytes - Viewed (0)