This week I found myself needing to parameterize Kubernetes (k8s) yaml files. The internet had a ton of information on the subject, too much infact… it was information overload. I wasn’t ready to adopt special…
For some reason, this super handy trick has eluded me for years. Note I’m summarizing this from a guide: https://www.tutorialworks.com/spring-boot-kubernetes-override-properties/. Figured it was worth repeating.
You’re writing a Python script with an argparser and want to test it without mocks and hacks. You’ve been googling for 20 minutes. You’ve landed here. Go no further.
Here is a template for a parser that takes a single argument myfile
myfile
These were the top 10 stories published by Programmer’s Journey; you can also dive into yearly archives: 2021, 2022, 2023, and 2024.