kaniko/pkg/util/proc
Víctor 13ed53e25c
proc: detect kubernetes runtime by mounts (#2054)
Fix #1936
Kubernetes was not being detected by files not by /proc/?/cgroup
contents. Now it detects the kubernetes runtime if any of those
conditions are met:

* /var/run/secrets/kubernetes.io/serviceaccount exists
* /proc/mounts has the mount for "/" with fs type "overlay"
2022-04-18 10:20:42 -04:00
..
proc.go proc: detect kubernetes runtime by mounts (#2054) 2022-04-18 10:20:42 -04:00
proc_test.go Move and fix GetContainerRuntime check from bpfd proc (#1996) 2022-03-23 11:09:01 -04:00