Code de mon article sur Kube Linter pour le magazine "Programmez !"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
348 B

apiVersion: v1
kind: Pod
metadata:
name: unsecure
annotations:
ignore-check.kube-linter.io/run-as-non-root: "Ce pod interagit avec le système. Il a besoin d’être root."
spec:
containers:
- name: demo
image: busybox
resources:
requests:
memory: "8Gi"
cpu: "250m"
command: [ "sh", "-c", "sleep 1h" ]