feat(infra/k8s): Add in-cluster tazblog deployment via Nixery

First deployment actually using a Nixery image and `gitHEAD`.

This does not actually serve a working blog for various reasons. The
current storage mechanism (acid-state) isn't really appropriate
anymore and I'll need to change that soon.
This commit is contained in:
Vincent Ambo 2019-08-19 03:10:53 +01:00
parent a4ef595fef
commit 28a9c01d36
2 changed files with 22 additions and 0 deletions

View file

@ -10,3 +10,4 @@ include:
bucket: tazjins-data
account: nixery@tazjins-infrastructure.iam.gserviceaccount.com
repo: ssh://source.developers.google.com:2022/p/tazjins-infrastructure/r/monorepo
- name: tazblog

View file

@ -0,0 +1,21 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: tazblog
labels:
app: tazblog
spec:
replicas: 1
selector:
matchLabels:
app: tazblog
template:
metadata:
labels:
app: tazblog
spec:
containers:
- name: tazblog
image: nixery.local/shell/tazjin.blog:{{ gitHEAD }}
command: [ "tazblog" ]