Gitlab Runner With Rootless Podman

How to get Gitlab Runner working in a rootless Podman, for a headless service account. Set SElinux to permissive Unfortunately I’ve had to do this to allow the container to connect to the podman socket file. Of course it can be resolved with a custom policy but that’s outside the scope of this short post. I run my runners on their own VMs to mitigate this issue. On any other RHEL-based OS you can resolve this with a very simple module, but not on CoreOS....

2023-10-13

Search for string inside many files

Combine find, its -exec argument and grep to search inside many files recursively and display the file path in results. Here I’m searching inside the directory modules/ for any files with the extension .tf that contain the string “mode =”. $ find modules/ -name "*.tf" -type f -exec grep -H 'mode =' {} \; modules/gitlab-base-ignition/main.tf: mode = 0755 modules/gitlab-base-ignition/main.tf: mode = 0755 modules/gitlab-base-ignition/main.tf: mode = 0755 modules/gitlab-base-ignition/main.tf: mode = 0644 modules/network-ignition/main....

2023-09-20

Delete all your lambda functions

Hey kid, wanna delete all your lambda functions?

2023-09-03

ffmpeg recipes

Whenever I do anything cool with ffmpeg I save it here, because ffmpeg arguments can be very convoluted.

2022-11-28

kubectl cheatsheet

My chetsheet for kubectl commands.

2022-10-13

Rook-Ceph

Personal knowledgebase for the Rook-Ceph k8s operator.

2022-05-13

Bash recipes

Whenever I do anything neat in Bash I try to save it here.

2022-01-23

Using Yubikey in Fedora

How I got started with Yubikey on Fedora.

2021-12-07

jq recipes

Whenever I do anything cool with jq I save it here, because jq can be very convoluted.

2021-07-09