Márk Sági-Kazár
2023-06-30 @ Let’s Code meetup
whoami
Márk Sági-Kazár
Open Source Tech Lead @ Cisco
CNCF Ambassador
Sensitive information, necessary for an application to function, is made available to 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.
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
https://github.com/sagikazarmark/demo-bank-vaults-secret-injection
It seems wisest to assume the worst from the beginning…and let anything better come as a surprise.
Any questions?