mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 05:44:06 -06:00
664 B
664 B
To list constraints, first look at CRDS
k get crd
The constraints show the statuses:
k get constraints
But to do adjust the actual constraints, you need to edit the constrainttemplate.
k edit constrainttemplate
Apparmor
Very important!
In k8s docks 1.30 it is configured differently!!!
NOT through annotations anymore, but through securityContext:
Hacking secrets
I knew I had to curl as service account but there's no way you can do this udring hte exam
curl https://kubernetes.default/api/v1/namespaces/restricted/secrets -H "Authorization: Bearer $(cat /run/secrets/kubernetes.io/serviceaccount/token)" -k
Links:
202404201346