Márk Sági-Kazár
2023-05-12 @ Open Source Summit NA 2023
whoami
Márk Sági-Kazár
Open Source Tech Lead @ Cisco
CNCF Ambassador
When?
What are you going to do about it?
Official guide: Good practices for Kubernetes Secrets
Warning
Potential high cardinality labels (drop metrics/labels you don’t need)
Solution: create (and modify) test secrets at the same time.
Requirement: Use store validation.
Solution: Bump every (Cluster)SecretStore
after an outage.
OR
vault:path/to/secret#KEY
Warning
Secret changes do not take effect (ie. trigger workload reload) at the moment.
Risk: Secret store is a SPOF
Mitigation: Maintain a cluster-local instance
Risk: Webhook is a SPOF
Mitigation: Configure webhook according to best practices
https://github.com/sagikazarmark/demo-oss-na-2023-kube-secret-rotation
It seems wisest to assume the worst from the beginning…and let anything better come as a surprise.
Any questions?