Shannon

Shannon @lucassha

About: swe/sre in portland. mostly write on topics that pique my interest when I have the motivation or time :)

Joined:
Sep 10, 2020

Shannon
articles - 12 total

Writing events to pods using client-go

In the past, I've written controllers utilizing Kubebuilder, where the instantiation of an event...

Learn More 5 1Oct 27 '22

Interfaces satisfying interfaces

<< this post is mostly just a refresher for myself >> Interfaces are often confusing for...

Learn More 5 0Jan 13 '22

Circumvent STDIN when installing packages with apt

Did you know there's an entire Unix command dedicated to generating y over and over? Or that you can...

Learn More 4 0Dec 20 '21

Parse your escaped JSON with jq and fromjson

Recently, I was looking at secrets manager in AWS and used the AWS CLI in order to read a secret in...

Learn More 15 3Nov 15 '21

Unit testing Stdout in Go

Figuring out how to unit test functions that print to the terminal can be something of a daunting...

Learn More 16 2Sep 24 '21

Testing Vault in Go

Recently, I wrote some code for a CLI that reads all the secrets in a Vault path, and I went down the...

Learn More 8 1Aug 23 '21

Creating your own Homebrew tap and grabbing binaries from S3

Recently, I set up my own homebrew in order to easily distribute a kubectl plugin binary that I...

Learn More 2 0Jul 29 '21

Using reflect.DeepEqual to compare data structures in Go

Intro When I started using Go, I would compare two slices by writing a for loop and...

Learn More 4 1Jul 14 '21

Consuming and decoding JSON in Terraform

Intro HCL, the language of Terraform, has come a long way since 0.11. With its many new...

Learn More 44 3Jul 6 '21

Don't let your Terraform go rogue with Conftest and the Open Policy Agent

Overview Terraform is an incredible resource to turn any API into declarative,...

Learn More 13 3Jun 25 '21

Rolling back your Terraform Remote State in S3

While I hope this is a rare occurrence, I've run into this a few times where I had to rollback...

Learn More 6 1Jun 23 '21

kubectl: show me the logs

When I started using Kubernetes, and consequently kubectl, figuring out how to quickly view my pod's...

Learn More 11 0Oct 8 '20