<ixxie>
johanot: sorry to repeat the same questions, but I will try this week or next to try and replicate a simple version of your addon system. If I recall correctly, the basics is just making a nixos module, which calls kubectl apply -f when the systemd service begins and kubectl delete -f when it stops?
<ixxie>
If it is not too much trouble maybe you could fish out one obfuscated example I could build on?
ixxie has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos-kubernetes
drakonis1 has joined #nixos-kubernetes
<ixxie>
johanot: I just installed dex-oidc as a NixOS system package but I guess the better way would be to run it as a Kubernetes deployment.... is that how you did it?
<johanot>
yes.. We run it as a k8s deployment
<ixxie>
in that case I will defer back to my previous questions ^^
<ixxie>
even a very very barebones example would help enormously, because then I could protoype stuff (which is my only goal for the foreseeable future)
<johanot>
including secrets, which I've replaced with SECRET in the gist
<johanot>
We then have a nix expression that maps over every yaml/json file in a specific directory and creates individual systemd-units for each of them.
<ixxie>
johanot: any chance to see an example of that sort of Nix file? even just a dummy?
<srhb>
Wow, I notice I haven't been keeping up here
<srhb>
colemickens: I was at the company johanot works at now :)
<ixxie>
(btw johanot/srhb - in harranguing you with questions I have been assuming that you have no time for other FOSS projects, but will be happy to be corrected and pitch you what we are doing)
<srhb>
It's called DBC A/S and deals with library infrastructure and data for the Danish libraries
<srhb>
I indeed have very little time for OSS currently, but I will try to improve that situation in mid-term future :)
<srhb>
So many half-baked projects in ~/src :-P
<ixxie>
srhb: yeah I figured as much
<ixxie>
I am thinking along the lines of kubepkgs
<ixxie>
if you catch my drift
<srhb>
Definitely
<ixxie>
we are working on a front-end for that sort of thing
<srhb>
Oh?
<ixxie>
the thinking is if you have a kubernixos cluster, kubepkgs, dex and a web GUI we could have a sort of Social Operating System