Add pinbot and way to access gitlab
This commit is contained in:
parent
c2a369c498
commit
e5c5c2413d
|
@ -55,6 +55,7 @@ in {
|
||||||
virtualHosts."explore.s3.voidcorp.nl" = proxy "http://10.42.20.6:9001/";
|
virtualHosts."explore.s3.voidcorp.nl" = proxy "http://10.42.20.6:9001/";
|
||||||
virtualHosts."registry.voidcorp.nl" = proxy "http://10.42.20.7:5000/";
|
virtualHosts."registry.voidcorp.nl" = proxy "http://10.42.20.7:5000/";
|
||||||
virtualHosts."grafana.voidcorp.nl" = proxy "http://10.42.20.9:3000/";
|
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";
|
security.acme.email = "acme@voidcorp.nl";
|
||||||
|
|
28
k8s/pinbot/main.yml
Normal file
28
k8s/pinbot/main.yml
Normal 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
BIN
k8s/pinbot/secrets.yml
Normal file
Binary file not shown.
Loading…
Reference in a new issue