From the blog
Posted 2026-02-18
I've been using Helm recently as part of a new product offering, and as a way to deploy my various websites. Helm allows providing values to the templates in a Helm chart via one or more values files, which are provided via the option -f. It's often useful to break these into several files, so you can do things like cover common values, and then environment- or namespace-specific values.
However, the -f option only accepts a single value, and doesn't recognize globs.
From the blog
Posted 2023-12-13
A couple days ago, I wrote about Makefile.
Today, I'm going to show a quick tip for writing "guard" targets.
From the blog
Posted 2023-12-11
I like to automate common workflows when I can, particularly for web projects.
As an example, I may have different Docker Compose setups for development versus production, and having to remember to add the -f {compose file name} argument can be tedious and error prone.
Being a long-time Linux user, I've used make a lot, and am fairly comfortable with Makefile, so I often turn to it for these tasks.
From the blog
Posted 2023-12-06
I never intended for this Advent 2023 series to be a "Matthew's Bash Tips" series, but evidently, that's where things are going.
Today, I detail how to get the "message of the day" on Ubuntu
From the blog
Posted 2023-12-05
As you may have noted from previous posts in this Advent 2023 series, I find myself using Bash more and more often.
This has certainly been a surprise for a career PHP developer, but it is what it is.
With PHP, there are a wealth of QA tools, from unit testing, to enforcing coding standards, to static analysis.
What about with Bash?
Well, the tools exist, and there's one I literally cannot write Bash without: Shellcheck.
From the blog
Posted 2023-12-04
For the fourth day of 2023 advent blogging, I'm sharing a tool I've used to simplify deployment.
From the blog
Posted 2023-12-03
I've known about the flags to make Bash behavior more strict or predictable, but this one adds an extra dimension for making iteration over strings more predictable as well. In a nutshell, strict mode is:
set -euo pipefail IFS=$'\n\t'Read the post for an excellent write-up of why each of these is important, and what each accomplishes.