This commit is contained in:
2024-08-24 21:28:03 -05:00
parent 86a5af321d
commit f12af0f92f
2 changed files with 62 additions and 1 deletions

View File

@@ -1,3 +1,65 @@
kind: Service
metadata:
name: gitea
spec:
ports:
- name: app
port: 3000
protocol: TCP
targetPort: 3000
clusterIP: None
type: ClusterIP
---
apiVersion: v1
kind: Endpoints
metadata:
name: gitea
subsets:
- addresses:
- ip: 192.168.20.253
ports:
- name: app
port: 3000
protocol: TCP
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: gitea-ingress
spec:
entryPoints:
- websecure
routes:
- match: Host(`gitea.internal.durp.info`) && PathPrefix(`/`)
kind: Rule
services:
- name: gitea
port: 3000
scheme: http
tls:
secretName: gitea-tls
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: gitea-tls
spec:
secretName: gitea-tls
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
commonName: "gitea.internal.durp.info"
dnsNames:
- "gitea.internal.durp.info"
---
kind: Service
apiVersion: v1
metadata:

View File

@@ -1,4 +1,3 @@
apiVersion: v1
kind: Service
metadata:
name: plex