Add pinbot and way to access gitlab

main
Julius 2021-11-15 17:37:48 +01:00
parent c2a369c498
commit e5c5c2413d
Signed by: j00lz
GPG Key ID: AF241B0AA237BBA2
3 changed files with 29 additions and 0 deletions

View File

@ -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";

28
k8s/pinbot/main.yml Normal file
View File

@ -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

BIN
k8s/pinbot/secrets.yml Normal file

Binary file not shown.