kubernetes/pkg/kubelet/kuberuntime
Sascha Grunert 8b7003aff4
Add SeccompDefault feature
This adds the gate `SeccompDefault` as new alpha feature. Seccomp path
and field fallbacks are now passed to the helper functions, whereas unit
tests covering those code paths have been added as well.

Beside enabling the feature gate, the feature has to be enabled by the
`SeccompDefault` kubelet configuration or its corresponding
`--seccomp-default` CLI flag.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>

Apply suggestions from code review

Co-authored-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-06-23 10:22:57 +02:00
..
logs Migrate pkg/kubelet/kuberuntime to structured logging 2021-03-17 01:53:44 +01:00
convert_test.go kubelet - adding pod annotations to various image calls to get runtime-handler info to CRI 2020-04-17 23:57:09 +00:00
convert.go Make toKubeContainerImageSpec deterministic 2020-07-31 14:41:11 -04:00
doc.go
fake_kuberuntime_manager.go kubelet: fix create create sandbox delete pod race 2021-02-18 11:22:12 -06:00
helpers_linux_test.go update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
helpers_linux.go fix #73264 cpuPeriod was not reset, but used as it is if alpha gate is disabled 2019-02-01 16:45:43 +01:00
helpers_test.go Add SeccompDefault feature 2021-06-23 10:22:57 +02:00
helpers_unsupported.go Adding Windows CPU limit tests 2020-02-24 19:46:39 +00:00
helpers.go Add SeccompDefault feature 2021-06-23 10:22:57 +02:00
instrumented_services_test.go test(kuberuntime): deflake TestRecordOperation 2020-09-05 13:36:26 +08:00
instrumented_services.go remove deprecated metrics of kubelet 2020-01-10 16:46:52 +08:00
kuberuntime_container_linux_test.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_container_linux.go Migrate pkg/kubelet/kuberuntime to structured logging 2021-03-17 01:53:44 +01:00
kuberuntime_container_test.go check log directory for restartCount 2021-03-15 15:33:29 -05:00
kuberuntime_container_unsupported.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_container_windows.go Kubelet updates for Windows HostProcess Containers 2021-05-19 16:24:14 -07:00
kuberuntime_container.go Merge pull request #101480 from yuzhiquan/little-nit-for-kubelet 2021-05-24 21:49:05 -07:00
kuberuntime_gc_test.go fix golint issues in pkg/kubelet/container 2020-06-19 15:48:08 +00:00
kuberuntime_gc.go Migrate kuberuntime_gc.go to structured logs 2021-03-15 12:39:35 -07:00
kuberuntime_image_test.go Merge pull request #90061 from marosset/runtimehandler-image-spec-annotations 2020-05-18 16:29:36 -07:00
kuberuntime_image.go Migrate pkg/kubelet/kuberuntime to structured logging 2021-03-17 01:53:44 +01:00
kuberuntime_logs.go kubelet: plumb context for log requests 2018-08-10 17:35:46 -07:00
kuberuntime_manager_test.go Override terminationLivenessGracePeriod for probes 2021-03-11 14:38:03 -08:00
kuberuntime_manager.go Add SeccompDefault feature 2021-06-23 10:22:57 +02:00
kuberuntime_sandbox_test.go Kubelet updates for Windows HostProcess Containers 2021-05-19 16:24:14 -07:00
kuberuntime_sandbox.go Kubelet updates for Windows HostProcess Containers 2021-05-19 16:24:14 -07:00
labels_test.go Remove container type from kubelet runtime labels 2018-12-21 15:47:47 +01:00
labels.go Kubelet updates for Windows HostProcess Containers 2021-05-19 16:24:14 -07:00
legacy_test.go fix golint failures - /pkg/kubelet/images 2018-09-17 10:52:25 +08:00
legacy.go Remove unhealthy symlink only for dead containers 2020-04-21 12:30:51 -07:00
security_context_others_test.go fix windows container root validate 2020-07-24 19:59:58 +08:00
security_context_others.go Enhance the prompt information of verifyRunAsNonRoot, add pod, container information 2020-09-22 08:10:54 +08:00
security_context_windows_test.go fix windows container root validate 2020-07-24 19:59:58 +08:00
security_context_windows.go Migrate pkg/kubelet/kuberuntime to structured logging 2021-03-17 01:53:44 +01:00
security_context.go Add SeccompDefault feature 2021-06-23 10:22:57 +02:00