diff --git a/hosts/nginx/configuration.nix b/hosts/nginx/configuration.nix index 53db57e..5854ab2 100644 --- a/hosts/nginx/configuration.nix +++ b/hosts/nginx/configuration.nix @@ -55,6 +55,7 @@ in { virtualHosts."explore.s3.voidcorp.nl" = proxy "http://10.42.20.6:9001/"; virtualHosts."registry.voidcorp.nl" = proxy "http://10.42.20.7:5000/"; virtualHosts."grafana.voidcorp.nl" = proxy "http://10.42.20.9:3000/"; + virtualHosts."gitlab.voidcorp.nl" = proxy "http://10.42.2.2:80/"; }; security.acme.email = "acme@voidcorp.nl"; diff --git a/k8s/pinbot/main.yml b/k8s/pinbot/main.yml new file mode 100644 index 0000000..e1b668f --- /dev/null +++ b/k8s/pinbot/main.yml @@ -0,0 +1,28 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: pinbot-deployment + labels: + app: pinbot-deployment + keel.sh/policy: force +spec: + replicas: 1 + selector: + matchLabels: + app: pinbot-deployment + template: + metadata: + labels: + app: pinbot-deployment + spec: + containers: + - name: pinbot-deployment + image: registry.voidcorp.nl/library/pinbot:main + env: + - name: DISCORD_TOKEN + valueFrom: + secretKeyRef: + name: pinbot-stuff + key: token + imagePullSecrets: + - name: regcred diff --git a/k8s/pinbot/secrets.yml b/k8s/pinbot/secrets.yml new file mode 100644 index 0000000..0e33f19 Binary files /dev/null and b/k8s/pinbot/secrets.yml differ