Compare commits

..

No commits in common. "6dcf16062ad86795990cd0f6a5c74f05edb038cb" and "9af04b6208754fb1e2db0a1c2adeb6e491e4745c" have entirely different histories.

3 changed files with 2 additions and 37 deletions

View File

@ -1,10 +1,7 @@
FROM library/alpine FROM library/alpine
RUN apk add --no-cache openssh && \ RUN apk add --no-cache openssh && \
sed -i /etc/ssh/sshd_config \ sed -i /etc/ssh/sshd_config -e s/'#Port.*'/'Port 2222'/ -e s/'AllowTcpForwarding.*'/'AllowTcpForwarding yes'/ && \
-e s/'#Port.*'/'Port 2222'/ \ ssh-keygen -A
-e s/'AllowTcpForwarding.*'/'AllowTcpForwarding yes'/ \
-e s/'GatewayPorts.*'/'GatewayPorts clientspecified'/ \
&& ssh-keygen -A
RUN adduser -D -s /bin/ash beagle RUN adduser -D -s /bin/ash beagle
ADD beagle.key /home/beagle/.ssh/authorized_keys ADD beagle.key /home/beagle/.ssh/authorized_keys
RUN passwd -u beagle && \ RUN passwd -u beagle && \

View File

@ -1,25 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/target: drache.martyn.berlin
kubernetes.io/ingress.class: nginx
name: jellyfin-ingress
namespace: jellyfin
spec:
rules:
- host: flix.martyn.berlin
http:
paths:
- backend:
service:
name: jellyfin
port:
number: 8096
path: /
pathType: Prefix
tls:
- hosts:
- flix.martyn.berlin
secretName: flix-tls

View File

@ -1,7 +0,0 @@
kind: Service
apiVersion: v1
metadata:
name: jellyfin
spec:
type: ExternalName
externalName: remote-jelly.cluster-ingress.svc.cluster.local