/
githubmirror
/
kubernetes
Обзор
Документация
Войти
/
githubmirror
/
kubernetes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
hack/testdata/pod-restricted-localhost.yaml
23 строки
467 B
Keita Mochizuki
Fix: Restricted profile comply with PSS (#117543)
24 май 2023, 14:16
Не верифицирован
24 май 2023, 14:16
0813904
Код
Авторство
О чём код?
apiVersion: v1 kind: Pod metadata: labels: run: target name: target spec: securityContext: seccompProfile: type: Localhost localhostProfile: dummy.json containers: - image: busybox name: target command: ["/bin/sh", "-c", "sleep 100"] securityContext: runAsUser: 1000 runAsGroup: 1000 runAsNonRoot: true allowPrivilegeEscalation: false capabilities: drop: - "ALL"