Stage 6, Part 9 of 9 · p. 55, RBAC, ServiceAccounts & Security

Summary Cheat Sheet

ConceptKey Takeaway
AuthenticationWho are you? (certs, tokens, OIDC)
AuthorizationWhat can you do? (RBAC, webhooks)
AdmissionShould we allow? (mutating → validating)
RBACRole, ClusterRole, Bindings. Additive.
RoleNamespace-scoped permissions
ClusterRoleCluster-scoped permissions
RoleBindingBind Role or ClusterRole to subject in namespace
ClusterRoleBindingBind ClusterRole cluster-wide
ServiceAccountWorkload identity
IRSAAWS IAM via OIDC
PSAPod Security Standards (Privileged, Baseline, Restricted)
PodSecurity AdmissionEnforce PSS via labels
Mutating WebhookModifies resources
Validating WebhookAllows/denies
failurePolicyFail or Ignore
KyvernoYAML-native policy engine
OPA GatekeeperRego policy engine
Image Signingcosign sign + verify
External SecretsSync from Vault, AWS SM, etc.
Sealed SecretsEncrypt in Git
Audit LoggingWho did what
NetworkPolicyPod firewall (default deny)
SecurityContextrunAsNonRoot, capabilities, seccomp
Encryption at restetcd encryption

1:1 copy of the class Google Doc, code in code blocks.