fix: edites dns entries and peertube role
This commit is contained in:
parent
597ff383f7
commit
30b74c50e2
@ -5,7 +5,7 @@
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA s-infra.gsb.lan. root.s-infra.gsb.lan. (
|
||||
2023040501 ; Serial
|
||||
2023051000 ; Serial
|
||||
7200 ; Refresh
|
||||
86400 ; Retry
|
||||
8419200 ; Expire
|
||||
@ -37,4 +37,4 @@ s-lb.gsb.lan IN A 192.168.100.10
|
||||
ns IN CNAME s-infra.gsb.lan.
|
||||
wpad IN CNAME s-infra.gsb.lan.
|
||||
s-peertube IN A 192.168.100.20
|
||||
s-peertube.gsb.lan IN CNAME s-peertube
|
||||
peertube IN CNAME s-peertube
|
||||
|
@ -1,4 +1,4 @@
|
||||
MYHOST=s-peertube.gsb.lan;
|
||||
MYHOST=peertube.gsb.lan;
|
||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml;
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.cert -subj /CN="${MYHOST}"/O="${MYHOST}" -addext "subjectAltName = DNS:${MYHOST}";
|
||||
kubectl create secret tls tls-peertube --key tls.key --cert tls.cert;
|
||||
|
@ -1,2 +1,3 @@
|
||||
nameserver 192.168.99.99
|
||||
domain gsb.lan
|
||||
search gsb.lan
|
||||
nameserver 172.16.0.1
|
@ -105,14 +105,14 @@ ingress:
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 6G # this caps the size of imported videos, if set low this might prevent you from uploading videos
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
hosts:
|
||||
- host: s-peertube.gsb.lan
|
||||
- host: peertube.gsb.lan
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- secretName: tls-peertube
|
||||
- hosts:
|
||||
- s-peertube.gsb.lan
|
||||
- peertube.gsb.lan
|
||||
|
||||
resources: {}
|
||||
autoscaling:
|
||||
|
Loading…
x
Reference in New Issue
Block a user