Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
@zehio.bsky.socialNov 21, 2026, 5:27 PM

Un Role con apiGroups y resources a ["*"] no se queda en lo de hoy: cubre también los recursos de cualquier CRD que alguien instale el año que viene.
La documentación de Kubernetes lo advierte. Escribe los recursos uno a uno.
#Kubernetes #RBAC #K8sSecurity #DevSecOps

Un diff de un Role que cambia apiGroups y resources a ["*"] por el grupo apps con deployments y replicasets, y los verbos get, list y watch.
@zehio.bsky.socialNov 21, 2026, 6:54 AM

A Role with apiGroups and resources set to ["*"] doesn't stop at what exists today. It also covers any custom resource someone installs next year.
The Kubernetes docs warn about it too. Spell out the resources, even if it takes longer.
#Kubernetes #RBAC #K8sSecurity #DevSecOps

A Role diff that replaces apiGroups and resources set to ["*"] with the apps group and deployments and replicasets, verbs get, list and watch.
@zehio.bsky.socialNov 10, 2026, 8:26 PM

Most of your pods never talk to the Kubernetes API, yet every one gets a ServiceAccount token mounted.
Whoever gets into the container gets the token too.
automountServiceAccountToken: false, and turn it on only where it's needed.
#Kubernetes #K8sSecurity #DevSecOps #RBAC

A pod spec diff that adds automountServiceAccountToken: false above the containers.
@zehio.bsky.socialNov 10, 2026, 1:01 PM

La mayoría de tus pods no habla nunca con la API de Kubernetes, y aun así lleva montado el token de su ServiceAccount.
Quien entre en el contenedor se lleva el token.
automountServiceAccountToken: false, y actívalo solo donde haga falta.
#Kubernetes #K8sSecurity #DevSecOps #RBAC

Un diff de un pod que añade automountServiceAccountToken: false encima de los contenedores.
@zehio.bsky.socialNov 3, 2026, 8:26 PM

If someone can create pods in a namespace, they can read every Secret in it.
They don't need get on secrets. A pod that mounts the Secret can print it or send it anywhere.
Check who has create on pods before you call your RBAC tight.
#Kubernetes #RBAC #DevSecOps #K8sSecurity

A pod spec that mounts the db-creds Secret as a volume and prints the password with cat.
@zehio.bsky.socialNov 3, 2026, 9:26 AM

Quien puede crear pods en un namespace puede leer todos sus Secrets.
No le hace falta get sobre secrets: le basta un pod que monte el Secret y lo mande fuera.
Antes de dar tu RBAC por bueno, mira quién tiene create sobre pods.
#Kubernetes #RBAC #DevSecOps #K8sSecurity

Un pod que monta el Secret db-creds como volumen y saca la contraseña con cat.
@zehio.bsky.socialOct 31, 2026, 7:11 PM

Si tus namespaces no fijan un nivel de Pod Security, en la práctica funcionan como privileged.
Etiquetarlos como baseline lleva cinco minutos y bloquea más barbaridades de las que imaginas.
#Kubernetes #K8sSecurity

Terminal: se etiqueta un namespace con pod-security.kubernetes.io/enforce=baseline y después un dry run de servidor con restricted avisa de los pods que lo incumplen.
@zehio.bsky.socialOct 31, 2026, 10:26 AM

If your namespaces don't set a Pod Security level, they're effectively running as privileged.
Labeling them baseline takes five minutes and blocks a surprising amount of nonsense.
#Kubernetes #K8sSecurity

Terminal: labeling a namespace with pod-security.kubernetes.io/enforce=baseline, then a server dry run for restricted that warns about existing pods.