#Kubernetes question for the fedi:

How do you convert webhook formats in a #homelab environment? For example, converting #botkube 'generic webhook' payload to feed #gotify

Lots of people seem to use #nodered, but that is a lot for a json transform.

Difficulty: It is part of the alerting pipe, so it should be as durable as possible. (As durable as something running on the same infra can be.)

I saw https://github.com/adnanh/webhook with simple python or curl scripts, but even with #defenseindepth (networkpolicy, securitycontext, etc) shell scripts seem hacky at best and a Bad Idea at worst.

Some form of #serverless would probably work, but that means finding, installing and learning a new #framework that hopefully won't become a huge headache in a week or a year.

The old #housebrain uses git-backed #nodered and it is a huge pain to maintain. (Mostly thanks to my design.) I'm doing it better this time.

(#boost)
#k8s #k3s #selfhosted

GitHub - adnanh/webhook: webhook is a lightweight incoming webhook server to run shell commands

webhook is a lightweight incoming webhook server to run shell commands - adnanh/webhook

GitHub

Despite red flags at every turn, I ended up with #openfaas and a simple python script. (It needs rewriting in node or something, but it mostly works and only sometimes crashes.)

I'll never use openfaas commercially again though. The docs are littered with formerly-free features that are now paid. At a minimum, scrub your website so you don't look like such a tool.. Especially when the install directions are a blog post that pimps all those "free" features.

I don't like relying on an "open source" project that has shown they will take features away if we need them.

And I don't know why this still needs saying: **AUTHENTICATION IS NOT A PAID ADD-ON. IT IS A CORE FEATURE.** We are not in 1998 anymore. Don't demand "enterprise" pricing for authentication. That is #antisecurity