Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getSeccompProfile (0.21 sec)

  1. pkg/kubelet/kuberuntime/security_context.go

    			ReadonlyPaths: securitycontext.ConvertToRuntimeReadonlyPaths(effectiveSc.ProcMount),
    		}
    	}
    	var err error
    
    	synthesized.Seccomp, err = m.getSeccompProfile(pod.Annotations, container.Name, pod.Spec.SecurityContext, container.SecurityContext, m.seccompDefault)
    	if err != nil {
    		return nil, err
    	}
    
    	// set ApparmorProfile.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/helpers_linux_test.go

    				ProfileType:  runtimeapi.SecurityProfile_Localhost,
    				LocalhostRef: seccompLocalhostRef("field-cont-profile.json"),
    			},
    		},
    	}
    
    	for i, test := range tests {
    		seccompProfile, err := m.getSeccompProfile(test.annotation, test.containerName, test.podSc, test.containerSc, false)
    		if test.expectedError != "" {
    			assert.EqualError(t, err, test.expectedError, "TestCase[%d]: %s", i, test.description)
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/helpers.go

    		}
    	}
    	return &runtimeapi.SecurityProfile{
    		ProfileType: runtimeapi.SecurityProfile_Unconfined,
    	}, nil
    }
    
    func (m *kubeGenericRuntimeManager) getSeccompProfile(annotations map[string]string, containerName string,
    	podSecContext *v1.PodSecurityContext, containerSecContext *v1.SecurityContext, fallbackToRuntimeDefault bool) (*runtimeapi.SecurityProfile, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    func (x *CNIConfig) GetPrivileged() *wrapperspb.BoolValue {
    	if x != nil {
    		return x.Privileged
    	}
    	return nil
    }
    
    func (x *CNIConfig) GetSeccompProfile() *v1.SeccompProfile {
    	if x != nil {
    		return x.SeccompProfile
    	}
    	return nil
    }
    
    func (x *CNIConfig) GetAmbient() *CNIAmbientConfig {
    	if x != nil {
    		return x.Ambient
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
Back to top