Version Pim's blog using git revision from Nix input

This commit is contained in:
Pim Kunis 2024-04-30 23:22:01 +02:00
parent 70e0fae612
commit b7e5db705b
5 changed files with 105 additions and 21 deletions
kubenix-modules

View file

@ -1,4 +1,4 @@
{
{ blog-pim, ... }: {
kubernetes.resources = {
deployments.blog = {
metadata.labels.app = "blog";
@ -11,7 +11,7 @@
spec = {
containers.blog = {
image = "git.kun.is/home/blog-pim:c2022de121ff1d35e52fb2ea4c44ce83c1cffaa9";
image = "git.kun.is/home/blog-pim:${blog-pim.rev}";
ports.web.containerPort = 80;
};
};