Cloud

Structured YAML diffs for Helm Members Public

Helm diffs used to be misleading unified-diff hunks buried in noise - and once an AI review stage started reading them too, that noise started costing tokens and time. Here's how we made this smarter.

Daniel Nachtrub
Daniel Nachtrub
Container

rook ceph - unmap stuck rbd Members Public

You might find yourself in a situation where you need to push rook ceph a little to unmount RBDs in order to unblock PV operations.

Daniel Nachtrub
Daniel Nachtrub
Cloud

Prepending Environment Variables with Kyverno: Finding the Right Approach Members Public

Injecting environment variables into Kubernetes pods with Kyverno requires careful strategy. While `patchStrategicMerge` only appends to arrays, `patchesJson6902` with `add` operation at index `0` successfully prepends variables, preserving existing configurations.

Daniel Nachtrub
Daniel Nachtrub
Kubernetes

ceph 20.2.0 (tentacle) released Members Public

Ceph 20 is out - and you should get your hands on it!

Daniel Nachtrub
Daniel Nachtrub
Container

terraform actions - I like hooks and I cannot lie Members Public

Terraform 1.14 beta brings actions - a decent approach to run one shot events on state transitions. Check out this post to see an example and how it can be done already today.

Daniel Nachtrub
Daniel Nachtrub
Cloud

Using kyverno to generate secrets Members Public

Sometimes it's the little helpers that make the difference. Here's some kyverno policy you can use to generate secret values in Kubernetes through a mutating webhook.

Daniel Nachtrub
Daniel Nachtrub
Container

Helm & variable scopes Members Public

When using variables to track state across loop iterations in Helm templates, declare them outside the loop scope or they'll reset on each iteration.

Daniel Nachtrub
Daniel Nachtrub
Kubernetes

Terraform map expansion - interface ranges Members Public

Expanding value ranges dynamically in terraform can help you to compact your configuration and keep the focus on the values. It takes a few moments to expand the values using regex magic, still it's worth the effort!

Daniel Nachtrub
Daniel Nachtrub
Cloud