restrict local http access for git

This commit is contained in:
2024-04-27 18:11:35 +02:00
parent fa85bc3ced
commit 2f81cac1f6
3 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: scanner
namespace: traefik
spec:
entryPoints:
- websecure-local
tls: {}
routes:
- match: Host(`scanner.steffenillium.de`)
kind: Rule
services:
- name: scanner
port: http

View File

@@ -0,0 +1,3 @@
resources:
- ingress.yaml
- service.yaml

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: scanner
namespace: traefik
spec:
type: ExternalName
externalName: 192.168.178.53
ports:
- port: 80
targetPort: 80
protocol: TCP
name: scanner