Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for seccompProfile (0.19 sec)

  1. pkg/kubelet/kuberuntime/helpers_linux_test.go

    			podSc:         &v1.PodSecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeLocalhost}},
    			expectedError: "localhostProfile must be set if seccompProfile type is Localhost.",
    		},
    		{
    			description:   "container seccomp profile set to SeccompProfileTypeLocalhost with empty LocalhostProfile returns error",
    			containerSc:   &v1.SecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeLocalhost}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. pkg/securitycontext/accessors_test.go

    				continue
    			}
    		}
    
    		// SeccompProfile
    		{
    			modifiedSC := nonNilSC(tc.newSC())
    			m := NewPodSecurityContextMutator(tc.newSC())
    			modifiedSC.SeccompProfile = &api.SeccompProfile{Type: api.SeccompProfileTypeLocalhost, LocalhostProfile: pointer.String("verylocalhostey")}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  3. pkg/securitycontext/accessors.go

    	w.podSC.RunAsNonRoot = v
    }
    func (w *podSecurityContextWrapper) SeccompProfile() *api.SeccompProfile {
    	if w.podSC == nil {
    		return nil
    	}
    	return w.podSC.SeccompProfile
    }
    func (w *podSecurityContextWrapper) SetSeccompProfile(p *api.SeccompProfile) {
    	if w.podSC == nil && p == nil {
    		return
    	}
    	w.ensurePodSC()
    	w.podSC.SeccompProfile = p
    }
    func (w *podSecurityContextWrapper) SupplementalGroups() []int64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/helpers.go

    	if containerSecContext != nil && containerSecContext.SeccompProfile != nil {
    		return fieldSeccompProfile(containerSecContext.SeccompProfile, m.seccompProfileRoot, fallbackToRuntimeDefault)
    	}
    
    	// when container seccomp is not defined, try to apply from pod field
    	if podSecContext != nil && podSecContext.SeccompProfile != nil {
    		return fieldSeccompProfile(podSecContext.SeccompProfile, m.seccompProfileRoot, fallbackToRuntimeDefault)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    	pod := newTestPod()
    	if podFieldProfile != nil {
    		pod.Spec.SecurityContext = &v1.PodSecurityContext{
    			SeccompProfile: podFieldProfile,
    		}
    	}
    	if containerFieldProfile != nil {
    		pod.Spec.Containers[0].SecurityContext = &v1.SecurityContext{
    			SeccompProfile: containerFieldProfile,
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

              runAsNonRoot: true
              runAsUser: 4
              seLinuxOptions:
                level: levelValue
                role: roleValue
                type: typeValue
                user: userValue
              seccompProfile:
                localhostProfile: localhostProfileValue
                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

            runAsNonRoot: true
            runAsUser: 4
            seLinuxOptions:
              level: levelValue
              role: roleValue
              type: typeValue
              user: userValue
            seccompProfile:
              localhostProfile: localhostProfileValue
              type: typeValue
            windowsOptions:
              gmsaCredentialSpec: gmsaCredentialSpecValue
              gmsaCredentialSpecName: gmsaCredentialSpecNameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

              runAsNonRoot: true
              runAsUser: 4
              seLinuxOptions:
                level: levelValue
                role: roleValue
                type: typeValue
                user: userValue
              seccompProfile:
                localhostProfile: localhostProfileValue
                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml

              runAsNonRoot: true
              runAsUser: 4
              seLinuxOptions:
                level: levelValue
                role: roleValue
                type: typeValue
                user: userValue
              seccompProfile:
                localhostProfile: localhostProfileValue
                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.yaml

              runAsNonRoot: true
              runAsUser: 4
              seLinuxOptions:
                level: levelValue
                role: roleValue
                type: typeValue
                user: userValue
              seccompProfile:
                localhostProfile: localhostProfileValue
                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top