HACKER Q&A
📣 tomerbd

Do you use k8s ConfigMap for “business” logic application configuration?


Is using k8s configMap for business logic application config considered a good use case? Non best practice? Do you prefer storing you application configuration somewhere else? Why?


  👤 yuppie_scum Accepted Answer ✓
KISS: Use env vars for container configuration if at all possible

I might be oversimplifying but ConfigMap is essentially a workaround to adapt file system based configuration to the docker env var pattern. Use it if you have to

There may be some CKADs who have a more informed opinion than me on this.