- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 157 for seLinuxOptions (0.32 sec)
-
pkg/volume/util/selinux.go
"k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" ) // SELinuxLabelTranslator translates v1.SELinuxOptions of a process to SELinux file label. type SELinuxLabelTranslator interface { // SELinuxOptionsToFileLabel returns SELinux file label for given SELinuxOptions // of a container process. // When Role, User or Type are empty, they're read from the system defaults.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 14:40:21 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/security_context.go
if securityContext == nil { return nil } sc := &runtimeapi.LinuxContainerSecurityContext{ Capabilities: convertToRuntimeCapabilities(securityContext.Capabilities), SelinuxOptions: convertToRuntimeSELinuxOption(securityContext.SELinuxOptions), } if securityContext.RunAsUser != nil { sc.RunAsUser = &runtimeapi.Int64Value{Value: int64(*securityContext.RunAsUser)} } if securityContext.RunAsGroup != nil {
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/kubelet/volumemanager/cache/desired_state_of_world_test.go
// Arrange: prepare a different pod with the same context seLinux2 := v1.SELinuxOptions{ User: "system_u", Role: "object_r", Type: "container_t", Level: "s0:c3,c4", } seLinuxContainerContexts2 := []*v1.SELinuxOptions{&seLinux2} pod2 := pod.DeepCopy() pod2.Name = "pod2" pod2.UID = "pod2uid" pod2.Spec.SecurityContext.SELinuxOptions = &seLinux2 pod2Name := util.GetUniquePodName(pod2) // Act
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 34K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go
SelinuxOptions: &runtimeapi.SELinuxOption{ User: "qux", }, RunAsUser: &runtimeapi.Int64Value{Value: 1000}, RunAsGroup: &runtimeapi.Int64Value{Value: 10}, }, } podSandboxConfig, err := m.generatePodSandboxConfig(pod, 1) assert.NoError(t, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 8K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go
// PodSecurityContextApplyConfiguration represents an declarative configuration of the PodSecurityContext type for use // with apply. type PodSecurityContextApplyConfiguration struct { SELinuxOptions *SELinuxOptionsApplyConfiguration `json:"seLinuxOptions,omitempty"` WindowsOptions *WindowsSecurityContextOptionsApplyConfiguration `json:"windowsOptions,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 8.1K bytes - Viewed (0) -
manifests/charts/ztunnel/templates/daemonset.yaml
readOnlyRootFilesystem: true runAsGroup: 1337 runAsNonRoot: false runAsUser: 0 {{- if .Values.seLinuxOptions }} seLinuxOptions: {{ toYaml .Values.seLinuxOptions | trim | indent 12 }} {{- end }} readinessProbe: httpGet: port: 15021 path: /healthz/ready args: - proxy
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 01:33:52 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/volume/util/util_test.go
}, }, expectedMounts: sets.New[string]("vol1", "vol2"), expectedDevices: sets.New[string](), }, { name: "pod with SELinuxOptions", pod: &v1.Pod{ Spec: v1.PodSpec{ SecurityContext: &v1.PodSecurityContext{ SELinuxOptions: &v1.SELinuxOptions{ Type: "global_context_t", Level: "s0:c1,c2", }, }, InitContainers: []v1.Container{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
manifests/charts/ztunnel/files/profile-openshift-ambient.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 30 20:24:06 UTC 2024 - 883 bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 13.6K bytes - Viewed (0) -
manifests/helm-profiles/openshift-ambient.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 30 20:24:06 UTC 2024 - 664 bytes - Viewed (0)