https://github.com/dashaun/taming-configuration-with-spring-cloud-config
https://github.com/dashaun/taming-configuration-with-spring-cloud-config
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dashaun/taming-configuration-with-spring-cloud-config
- Owner: dashaun
- Created: 2026-04-22T15:12:25.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-04-22T15:51:32.000Z (4 months ago)
- Last Synced: 2026-04-22T17:38:08.853Z (4 months ago)
- Size: 1.27 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Taming Configuration
**A Practical Guide to Externalizing Spring Boot Config with Spring Cloud Config, Kubernetes, and HashiCorp Vault**
A 50-minute conference presentation by [DaShaun Carter](https://dashaun.com) | [@dashaun](https://twitter.com/dashaun)
## View the Slides
Requires Java 25+ (see `.sdkmanrc`). From the repo root:
```bash
sdk env
jwebserver -p 8000 -b 0.0.0.0 -d docs
```
Open [http://localhost:8000](http://localhost:8000).
| Key | Action |
|---|---|
| `→` / `Space` | Next slide |
| `↓` | Next vertical slide |
| `S` | Speaker notes |
| `F` | Fullscreen |
| `O` | Slide overview |
## Talk Outline
| Section | Topic | Time |
|---|---|---|
| 1 | Introduction & Framing | ~5 min |
| 2 | The Configuration Spectrum | ~10 min |
| 3 | The "Should I Externalize It?" Decision Tree | ~10 min |
| 4 | Where to Put It: The Four-Tier Layering Model | ~15 min |
| 5 | The etcd Size Problem — A Diagnostic Lens | ~10 min |
| 6 | Patterns & Anti-Patterns + Decision Flowchart | ~5 min |
| Q&A | Open Discussion | ~5 min |
## Key Takeaways
1. Classify config by **volatility × scope** before deciding where it lives
2. **Sensitivity overrides everything** — secrets go to Vault, no exceptions
3. Four tiers: Vault → Spring Cloud Config → Kubernetes ConfigMap → `application.properties`
4. The **ConfigMap lean rule**: if Kubernetes doesn't need to know about it directly, it doesn't belong in a ConfigMap
5. The 4 GB etcd limit is a config hygiene symptom, not a storage problem
## Built With
- [RevealJS](https://revealjs.com) — presentation framework
- [Spring brand fonts](https://fonts.google.com) — Work Sans + Open Sans